Page MenuHomePhabricator

User:Special:foo generates exception error on several sites
Closed, ResolvedPublic

Description

Author: pinkampersand.wikimedia

Description:
If, for whatever reason, you try to access a page on en.wp with the prefix "User:Special:", you get the message "MediaWiki internal error. Exception caught inside exception handler." It doesn't matter whether it's a valid special page name ([[User:Special:Contributions]]; [[User:Special:NewPages]]) or not ([[User:Special:foo]]; [[User:Special:bar]]). It doesn't happen for any other combination of namespace prefixes I've tried: [[User:Wikipedia:foo]]; [[Category:Special:foo]]; [[User talk:Special:foo]]. It also doesn't happen on any other Wikimedia site I've tried: [[d:User:Special:foo]]; [[s:User:Special:foo]]; [[simple:User:Special:foo]].

Clearly not that big of a deal, but might be indicative of some larger issue.


Version: unspecified
Severity: minor
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51399

Details

Reference
bz48683

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:21 AM
bzimport added a project: WikiLove.
bzimport set Reference to bz48683.

pinkampersand.wikimedia wrote:

Note that this does not appear to happen for logged-out users; I've tried this on Incognito on my Chromebook and on Mozilla on my PC (which I almost never use and thus am not logged in on), and it displays the standard empty userpage for these links.

pinkampersand.wikimedia wrote:

Hmm... [[testwiki:User:Special:foo]] and [[mw:User:Special:foo]], but not [[test2wiki:User:Special:foo]]. Something in one of the extensions, then, perhaps? Note that the testwiki error message conveniently gives details, unlike the en.wp one.

Related URL: https://gerrit.wikimedia.org/r/64883 (Gerrit Change I6d2fa44550361ebda12c602c487d6a38bff1c479)

Change 64883 merged by jenkins-bot:
(bug 48683) Use a correct way to get base titles

https://gerrit.wikimedia.org/r/64883

(In reply to comment #4)

https://gerrit.wikimedia.org/r/64883

It seems quite likely that this caused bug 51399. Re-opening this bug for now as I suspect we'll see a revert in short order.

Change 73883 had a related patch set uploaded by Hoo man:
Don't construct titles like User:User:Hoo in JS

https://gerrit.wikimedia.org/r/73883

Change 73883 merged by jenkins-bot:
Don't construct titles like User:User:Hoo in JS

https://gerrit.wikimedia.org/r/73883

(In reply to comment #7)

Change 73883 merged by jenkins-bot:
Don't construct titles like User:User:Hoo in JS

https://gerrit.wikimedia.org/r/73883

Marking this bug resolved/fixed accordingly.