Board Thread:Wiki Running/@comment-25122955-20150710120356/@comment-4189499-20150711021206

Catinthedark wrote: Imamadmad wrote: I this, but only on one condition: that Dreamworld pages be renamed from "Level ###/Dreamworld" back to "Level ### (Dreamworld)". BEWARE: This will break stuff!

Template:Infobox level currently takes advantage of the fact that BASEPAGENAME doesn't carry the "/Dreamworld" with it, for instance to put the level name in the heading, and also for the level link.

If the pages are renamed, both the level heading and "current level number" (placed above the level type icon) in Template:Infobox level will suddenly start displaying as "Level 210 (Dreamworld)" instead of "Level 210" as is done now.

(Fwiw, I'm not referring to my as yet unreleased changes either. My code will behave/break exactly the same as the current code will.) That can easily be dealt with. Using a term in brackets is a more common form of disambiguation on wikis anyway, so they're set up to handle it. That's why the pipe trick works to remove dab terms easily from links. And even though there isn't currently a magic word for it, it will be easy to whip up a Lua module to display the page name without the brackets. In fact, I'll go work on that now! I am aware that things are not currently set up to deal with this change, however it shouldn't be too hard to fix. All preparation will be done and tested beforehand to ensure a smooth transition.