Wiki Transcluding

3 respuestas [Último envío]
Shango
Legacy Username

I just have a quick question. I tried transcluding on the wiki today and it refuses to work. Is it possible to transclude on the Spiral Knights wiki?

Is that ability just turned off for some reason, or is something extra needed to do that? Or might I just be doing it wrong?

I've been working a lot on making the wiki more efficient lately, and it would be incredibly helpful to be able to use transcluding with things like recipes and stats.

Shango
Legacy Username
...So after digging a bit

...So after digging a bit longer and studying other wikis, I figured out how to transclude and that it's slightly different from Wikipedia's way of doing it.

{{:Proto_Sword}}

It seems after all that stats cannot be transcluded feasibly. At least there's still recipes!

So, sorry for the meaningless post. Ignore me!

Benamas
Legacy Username
i think wikipedia is running

i think wikipedia is running a lots newer version of the mediawiki software than the SK wiki, so this is not a huge surprise

Shango
Legacy Username
Actually, it turns out it's

Actually, it turns out it's the same after all. When I tested it on Wikipedia I tried transcluding a page that had a namespace and it worked, but the page I was trying to transclude didn't have one. If you don't specify one it assumes it's in the Template namespace, and the page wasn't.

It's unfortunate, madness took me in the middle of the night and I set to work setting up a sort of smart stat system on the wiki. It would let you put in stats once on item pages and it made it so if you wanted to show all the stats of an item in a template all you would have to do is put in the item name. It also let the stat tables on the equipment pages update their stats automatically if stats had to be changed. Unfortunately, it required the page to transclude a page which transcluded the first page, which worked, but only after the page was edited a second time would the changes really "take." People probably would have been pissed if I changed things to work that way.