Doom Wiki talk:ProblemReports/33456

From DoomWiki.org

There are at least three possible solutions:

  • Edit LocalSettings.php to disable subpages in the main space. [1]
  • Edit Common.css to hide the backlink. [2]
  • Use the "wrongtitle" workaround (e.g. #zdoom).

I personally would have no problem with the first method, although it requires finding Fredrik and asking him to do it.  The second one can be done by any admin (in theory; these control files can be slippery to work with), but I don't think it should occur, because it would impede navigation outside the main space.    Ryan W 22:50, May 19, 2010 (UTC)

Would it be possible to use a combination of #2 and a formatting template to hide the backlink on specific pages? Similarly to the way that, for example, the "Main Page" header is left out of Wikipedia:Main Page. --Gez 23:24, May 19, 2010 (UTC)
That would be ideal, since there would be so few articles affected, and the format of internal links would remain the same.  Do we have anybody here who knows these scripting languages in detail, though?  I sure don't.    Ryan W 00:45, May 20, 2010 (UTC)

I kinda have the feeling that the "fix" applied was not exactly what was actually wanted... Thinking about it some more, maybe it could be possible to use the solidus (⁄) instead of the slash? Depends on whether DISPLAYTITLE would accept to replace it with a slash, like it accepts to replace letter casing or force the use of underscores... It's doubtful. --Gez 18:19, May 26, 2010 (UTC)

The mediawiki.org help page says not.  (Why the hell is that hardcoded?  To prevent easy vandalism, I suppose, but it makes it much harder to keep up with new "wrongtitle" situations.)
I thank Charitwo for giving me a good laugh in the middle of a big pile of paperwork, but IMO the current situation is better than that "solution".  DOS extenders are a very esoteric part of the original game (in the sense that they need not be replicated for porting), so redirecting DOS to DOS/4GW is less appropriate than redirecting it to a list of game titles.  Actually, an article called "DOS" could be written giving an overview of DOS-specific technical info: networking technologies, memory management, what was state of the art in graphics/sound.  Ideally, however, DOS/4GW would not be a subpage even in that case, because "4GW" by itself isn't the file name and we don't structure the main space that way in general.    Ryan W 20:32, May 26, 2010 (UTC)
P.S.  Charitwo marked the problem as "fixed", but it still says "pending" in my browser even after purging.  Does anyone else see this?    Ryan W 20:32, May 26, 2010 (UTC)
Removing the ability to use subpages on the main namespace would cause more problems than solving the one. Perhaps a mixture of altering spacing and using the "wrongtitle" method. The page could exist as DOS / 4GW and you could use a title workaround to suppress the display of the spaces or leave it with spaces. --Charitwo (talk) 20:35, May 26, 2010 (UTC)
Also, not sure why the report still says pending since I changed it, but as the "fix" was reverted, Pending is still technically correct. --Charitwo (talk) 20:35, May 26, 2010 (UTC)
Interesting!  Let's try that.    Ryan W 20:57, May 26, 2010 (UTC)
Nope.  MediaWiki eats the spaces apparently.  (Underscores are visible in headers depending on what skin you use, so that's out too.)    Ryan W 21:01, May 26, 2010 (UTC)
Ergh, Quite a predicament. --Charitwo (talk) 21:30, May 26, 2010 (UTC)
[edit conflict]  Removing the ability to use subpages on the main namespace would cause more problems than solving the one.   Er, like what?  We don't have such subpages now (excepting several redirects, and two sandboxes which could have been moved to project space with no issue).  Unlike some other gaming wikis, we will never have 40,000+ articles on items and kits necessitating several overlapping navigation hierarchies.  We even have other articles with slashes in the titles, but without the part before the slash being a title, which is the only reason it took us this long to notice the issue.    Ryan W 23:21, May 26, 2010 (UTC)

(unindent) Well, spacing doesn't solve the issue, so DOS/4GW would be better than DOS / 4GW. --Gez 23:13, May 26, 2010 (UTC)

Gez, this actually doesn't look half bad, at least in Monobook.  (I think my Goldstar GT212 used a similar font.)    Ryan W 00:21, May 27, 2010 (UTC)