Final Fantasy Wiki
Advertisement
FFWiki forum logo
Forums: Index > Rin's Travel Agency > Archive > Semantic MediaWiki



Hey,

I'm proposing the wiki installs the Semantic MediaWiki extension for the Final Fantasy Wiki. In short, this extension should potentially make everything a lot easier to pull off, in particular, stats for enemies, items, characters from all games. The reasons I think this would be a neat addition are:

  • The "#arraymap:" commend makes things templates incredibly easy to code.
  • SMW can sort and find things by their stats, and can gain a list of stats that will be identified as stats of the page by more than just what's linked. Essentially, running a query to find what enemies have 1000+ hp will show you a list of enemy pages that do that.
  • Similar to above; it essentially means never needing to constantly repost the pictures of the enemy outside of their page, the previous/next entries in the bestiary or anything of the sort, as it can run queries to find them.
  • There's also an "Edit with Form" button possible; this allows the use of "Form edit", which essentially makes the editing process far easier, as it means that based on a certain category, each page can have its own 'form'. The form edit practically allows a user to edit the infobox of the page (and the rest of the page's content) but without needing to edit it the same way they'd edit code, it'd just appear simpler.
  • It would overall simplify the code used. Edit with form allows any new user to easily edit the infobox, running queries on the page requires much less code than copying out the image each time, and the bestiary/translation pages could potentially be simplified.

These are just a few reasons I think that this wiki could really benefit from SMW.--Technobliterator 21:45, February 11, 2014 (UTC)

As the wiki's primary coder and designer, I endorse this. Primarily for {{#arraymap}} because it allows for loops and variables, but some of the biggest setbacks for wiki ideas in the past has been limited to only client-side scripting. JavaScript is great and all, but there's no way the data can be interacted with and it doesn't load instantly.
As an idea of where this can be used: the multi-enemy templates will be far easier to code because it avoids any duplicate data. We right it once, use a variable for the number, and have arraymap repeat a specified number of times (basically). 88.107.149.29 21:55, February 11, 2014 (UTC)
EDIT CONFLICT- I've witnessed the initial discussion of this, and if it's something JBed believes he can get behind and work with, I'm all for giving it a go. I don't understand most of this but I doubt many of us would. As long as it doesn't drastically change editing methods, this is fine by me. Tia-LewiseRydia - Young battle 21:58, February 11, 2014 (UTC)
It shouldn't drastically change editing methods, but it has the potential to make them easier - easier of course is subjective. But any changes using SMW would be discussed initially (we'd have to work things out with others before we start using the queries), however, for now it's the installing part we're worried about before we can do the rest.--Technobliterator 22:01, February 11, 2014 (UTC)
Examples

Just copypasting stuff said on the IRC channel for reference.

[22:05] <Technobliterator> edit with form? http://spore.wikia.com/wiki/Creature:Loron http://spore.wikia.com/wiki/Form:Creature http://spore.wikia.com/wiki/Template:Infobox_creature
[22:07] <Technobliterator> as for the queries part. someone messed up our coding, but in the infobox for that you'll notice the Taxonomy section. By just listing the family ("Tetrapedidae"), the Genus and the Species, it finds all the Taxon stats that proceed it
[22:07] <Technobliterator> problem is the pages for these Taxon are broken
[22:07] <Technobliterator> however I'll fetch a working example
[22:08] <Technobliterator> so here's an item page http://dota2.gamepedia.com/Mask_of_Madness and then a section on this item page exists here http://dota2.gamepedia.com/Mask_of_Madness#Recommended_heroes - seems simple enough, right? Well, actually that whoel section is done by just adding "{{Recommended heroes for item}}"
[22:09] <Technobliterator> and "Template:Recommended heroes for item" contains a query codefinds the name of the article, and the stats on the hero pages which find their icon and whether their recommended item build lists it as core or situational

--Technobliterator 22:15, February 11, 2014 (UTC)

From what I see, I can say that I definitely approve of this! Not really sure how we would create 'templates', 'bases', or whatever it's called for it, but it certainly look good.—Kaimi (999,999 CP/5 TP) ∙ 22:28, February 11, 2014 (UTC)

They're not too complicated, most actually require less text than linking to another article. Glad you liked the idea!--Technobliterator 22:33, February 11, 2014 (UTC)
If it simplifies the Wiki's coding and makes it easier for inexperienced users to edit, I'm game. Drake Clawfang (talk) 04:39, February 12, 2014 (UTC)

When they upgraded to MW1.19, Wikia said that they'd no longer support adding Semantic MW to new wikis, so I don't know if this is actually an option; if things have changed since then, though, I support this for all the reasons given above. C A T U S E 06:36, February 13, 2014 (UTC)

Fucking dammit. Eh, let's ask anyway. This is in the extensions on request category. 195.195.234.235 13:09, February 13, 2014 (UTC)
Alright, sent in an email. C A T U S E 06:06, February 16, 2014 (UTC)
Advertisement