Last modified: 2013-07-25 07:04:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49449, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47449 - {{#special:}} parser function should not return textual error message for unknown special pages
{{#special:}} parser function should not return textual error message for unk...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.22.0
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.wikipedia.org/wiki/Specia...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-20 12:39 UTC by Mormegil
Modified: 2013-07-25 07:04 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mormegil 2013-04-20 12:39:55 UTC
When the {{#special:}} parser function is called with an unknown special page name, it currently returns “No such special page” ({{int:nosuchspecialpage}}), i.e. a user-readable textual message where a page name is expected. (Or, in other words, instead of a title of a page in NS_SPECIAL, it returns a title in NS_MAIN.) This is especially strange in the {{#speciale:}} variant (which returns “No_such_special_page”).

This is surprising behavior. It would be more logical to just return the requested title (we are unable to return the _localized_ title of the special page, so just use the given one). (Or, an alternative solution would be to always return Special:Badtitle.)
Comment 1 Gerrit Notification Bot 2013-04-20 12:45:49 UTC
Related URL: https://gerrit.wikimedia.org/r/60105 (Gerrit Change I7f184956ec9d56c849f201f1230736fcedd0fadf)
Comment 2 Gerrit Notification Bot 2013-06-14 06:37:18 UTC
https://gerrit.wikimedia.org/r/60105 (Gerrit Change I7f184956ec9d56c849f201f1230736fcedd0fadf) | change APPROVED and MERGED [by jenkins-bot]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links