AfterWorld Survival Forum

Discussions => Knowledge Database => AfterWiki discussion => Topic started by: dale "dalewj" ofj on August 08, 2014, 04:43:47 pm

Title: Semantic Wiki Install
Post by: dale "dalewj" ofj on August 08, 2014, 04:43:47 pm
http://semantic-mediawiki.org/wiki/Help:Introduction_to_Semantic_MediaWiki (http://semantic-mediawiki.org/wiki/Help:Introduction_to_Semantic_MediaWiki)

I am attempting to install this on my test site before making sure it doesn't screw everything up.  What is it wiki fans? 

Semantic MediaWiki (SMW) is an extension of MediaWiki – the wiki application best known for powering Wikipedia – that helps to search, organise, tag, browse, evaluate, and share the wiki's content. While traditional wikis contain only text which computers can neither understand nor evaluate, SMW adds semantic annotations that allow a wiki to function as a collaborative database.

Its used by lots of wikis to allow for the data in the wiki to be used with lookups and maps and such...  It is VERY COOL!   It is VERY COMPLICATED!   so we will see what we can do with it if it passes the test wiki test.....
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on August 08, 2014, 06:17:26 pm
And it is installed and building a database.    Next step will be to install some extensions for it.

User-Manual: http://semantic-mediawiki.org/wiki/Help:User_manual (http://semantic-mediawiki.org/wiki/Help:User_manual)

Example of it's use using maps.    Simply we can use any specific placemarker to add an item to a map.  In this case we use the category locations and say every page that is linked as a category 'locations'  will be mapped on the page.   No need editing a map to put in all those pesky point.  The data for tha map is already on the page.  See example here: http://semantic-mediawiki.org/wiki/Semantic_Maps_examples/Query_by_category (http://semantic-mediawiki.org/wiki/Semantic_Maps_examples/Query_by_category)

But as I said that or another day... for now im letting everything in the website build into a database...
Title: Re: Semantic Wiki Install
Post by: Jarod "Brickwit" McBrickerton on August 08, 2014, 09:04:40 pm
The map example alone is worth it - it'll be fantastic to have a self-filling map of all buildings, terminals, NPCs, etc. - so all of the additional possibilities are a thick layer of icing right on top!

Just don't break it dale. 8-P
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 03, 2014, 06:13:36 pm
so we are working onward with building a semantic database of knowledge allowing us to make dynamics tables and such.  ut as is my job in life being a tester.. I have broken the program and CSRF somehow.  started a thread here http://www.mediawiki.org/wiki/Project:Support_desk#This_appears_to_be_a_cross-site_request_forgery.3B_canceling_save._47622 (http://www.mediawiki.org/wiki/Project:Support_desk#This_appears_to_be_a_cross-site_request_forgery.3B_canceling_save._47622)(if u care) about trying to fix my problems with CSRF.   This systems is amazing and very complicated.   Reminds me of Pascal programming from my younger years. 
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 09, 2014, 08:05:05 pm
This stuff is hard to get going, once you do it is so nice to use thou.   I got the very top of the creature page figured out with the form we can now use to enter information.  Once the information is entered it just isn't in plain text form its in a database and we can then use that information to build automated tables!   Maps!   all kinds of things making wiki more 'dynamic'

http://wiki.afterworld.ru/index.php?title=DaleTest6 (http://wiki.afterworld.ru/index.php?title=DaleTest6) - was my first successful page with a form.   Note when your logged into the wiki u can see a new 'edit with form' at the top of the page...   my form at work! (took me 10 hours to make it work.. but it works)

My first failure was http://wiki.afterworld.ru/index.php?title=PoppsBot (http://wiki.afterworld.ru/index.php?title=PoppsBot)  as expected I guess.   

But im done for now, letting the database rebuild itself since I did so much work to  screw it up.   back at it tomorrow
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 10, 2014, 01:50:09 pm
If any of our players out there who write css  would like to write us so code to make our tables look nicer, I would not be one to argue....

#CSSLessInBoston
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 11, 2014, 08:30:38 pm
Its amazing what happens when you read the manual...   Or at least a book about the product that actually makes sense.  TaDa it works.  So now the top of each creature is part of the database.   IE  http://wiki.afterworld.ru/index.php?title=Acidarrier (http://wiki.afterworld.ru/index.php?title=Acidarrier)  Notice the lovely table which if a change is made will automatically appear in the table http://wiki.afterworld.ru/index.php?title=Category:Creatures (http://wiki.afterworld.ru/index.php?title=Category:Creatures) (Well not automatically , but when the system updates).  So no more typing everything in 5 places, type it on its creature page and the rest of the wiki is updated.

So the creature stats are done, now the rest of the page has to be figured out.   Then we will have a 'Creature Double Feature' 
Title: Re: Semantic Wiki Install
Post by: Jarod "Brickwit" McBrickerton on September 11, 2014, 09:16:13 pm
Very cool, it was quite annoying and easy to forget to update the pages and tables that contain the same data. I added a note to the create/edit creatures search box page to be careful about entering the name exactly as it appears in-game, but had trouble saving my edit. Have you seen this happen lately?
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 11, 2014, 09:31:20 pm
it will happen if that page did exist for some reason before.  yes its a pain
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 15, 2014, 09:06:57 pm
Damage http://wiki.afterworld.ru/index.php?title=Category:Damage (http://wiki.afterworld.ru/index.php?title=Category:Damage)

and Resistance http://wiki.afterworld.ru/index.php?title=Category:Resistance (http://wiki.afterworld.ru/index.php?title=Category:Resistance)

Have now been migrated over.
Title: Re: Semantic Wiki Install
Post by: Jarod "Brickwit" McBrickerton on September 15, 2014, 10:24:49 pm
Updated those pages with the name box warning too; didn't have as much trouble updating this time.
Title: Re: Semantic Wiki Install
Post by: Event "Janе" Horizon on September 16, 2014, 01:04:52 am
When someone has time.
Got to page http://wiki.afterworld.ru/index.php?title=Molesaur (http://wiki.afterworld.ru/index.php?title=Molesaur)
Click Edit creature damage information (http://wiki.afterworld.ru/index.php?title=Special:FormEdit/Creature-Damage/Molesaur)


Note that the last damage type (Stab) has no value and is not the same width as the other damage types.
At a guess, the Creature Damage form has the Stab form field connected to something other than stab field shown on the creature details.
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 16, 2014, 11:01:21 am
ah that's the form will fix thanks Event
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 16, 2014, 09:13:46 pm
with grand help from Tass of EU fame (EntropiaPlanets wiki-maven)  I finally got over the last stumbling block with loot and I can now give yo ua form to edit loot on a mob - http://wiki.afterworld.ru/index.php?title=Acidarrier (http://wiki.afterworld.ru/index.php?title=Acidarrier)  and that loot connection automatically appears on the loot page! http://wiki.afterworld.ru/index.php?title=Mutant_bile (http://wiki.afterworld.ru/index.php?title=Mutant_bile)  This is by far soo damn cool and with that little piece of help means I can continue with so much more data.
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 17, 2014, 05:32:47 pm
And now Creature Maturitys have been added to the system using a form to update.  Only leaving Locations and Taming left to be translated over. 
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 17, 2014, 06:29:14 pm
If only BrickWit would cleanup his inbox I would be able to respond to him....   Very IT guy like him 
Title: Re: Semantic Wiki Install
Post by: Jarod "Brickwit" McBrickerton on September 17, 2014, 06:34:27 pm
Grrr, I don't have any way of knowing when my Inbox is full, there's no indicator anywhere I can find! Working on cleaning it up a bit now, but I sure with there was an archive or export function like the old forums had...
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 17, 2014, 08:20:37 pm
Locations are also in the system but most lack actual positions so trying to map them is useless until the system gets better information

Hey I gotta do something while I wait!
Title: Re: Semantic Wiki Install
Post by: Jarod "Brickwit" McBrickerton on September 18, 2014, 01:30:17 am
Hey, it looks like you just gave yourself a quest! So run the entire length and width of the map (again!) and fill the wiki with all current mob locations! 8-D
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 18, 2014, 06:43:31 pm
UG Mining resource pages have now been added and somewhat automated.  First step in getting all resources and loot done.

http://wiki.afterworld.ru/index.php?title=Category:Resources (http://wiki.afterworld.ru/index.php?title=Category:Resources) 

http://wiki.afterworld.ru/index.php?title=Gerrium_stone (http://wiki.afterworld.ru/index.php?title=Gerrium_stone)
Title: Re: Semantic Wiki Install
Post by: Mydro "Bongwater" Hydro on September 18, 2014, 06:47:23 pm
Nice work on the Wiki. Keep up the good work  ;D
Title: Re: Semantic Wiki Install
Post by: Sifalio "Sifis" Kritikakis on September 18, 2014, 06:48:38 pm
Great job m8!

Thank you for all this effort!!!  :o


Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 19, 2014, 07:11:56 pm
Today I got done taking all the rocks, resources and loot and putting them in the system.  Now I can finally start on automating the crafting pages.
Title: Re: Semantic Wiki Install
Post by: dale "dalewj" ofj on September 20, 2014, 02:32:11 pm
What do you do when you lost your MMO for a week or so?

Crafting Pages!  And I finally got all the stuff to work out best I can to what we had on the page originally.  Its not easy as control of the tables is an unique experience in Semantic.   So my first finished page is...

http://wiki.afterworld.ru/index.php?title=ASP_Pickaxe (http://wiki.afterworld.ru/index.php?title=ASP_Pickaxe)