Author: dbenbenn
Description:
Page titles are not HTML-sanitized in various cases. Since page titles can have
& in them, this leads to various minor bugs. I'd like to record all I can find
here.
- Neither [{{SERVER}}{{localurl:{{PAGENAME}}}}] nor
[{{SERVER}}{{localurl:{{PAGENAMEE}}] works for the page entitled <
- Special:Watchlist/edit appears to pass page titles literally. If you're
watching [[<]], the list shows < with no link.
- action=unwatch for [[<]] displays "The page "<" has been removed from your
watchlist." The variable $1 has not been escaped in [[MediaWiki:Removedwatchtext]].
- The same goes for [[MediaWiki:Addedwatchtext]].
- And [[MediaWiki:Deletedtext]], parameter $1.
- And [[MediaWiki:Undeletedtext]]
- [[Special:Movepage/%26lt%3B]] displays "Move page: <", not "Move page: <"
- Although the "Confirm delete" page correctly shows (Deleting "<), the
"Confirm protection" page shows (Protecting "<"). (The same goes for "Confirm
unprotection".)
- [[Special:Log]] doesn't accept < in the Title field. See
http://en.wikipedia.org/w/index.php?title=Special%3ALog&page=%26lt%3B
9.1) The same bug shows up when undeleting [[<]]. Instead of displaying the
deletion log for the page, it displays the entire deletion log.
- A new variable is needed, like {{PAGENAME}} and {{PAGENAMEE}}, that gives an
HTML-sanitized version of the page title. At the moment, there's no good way to
fix [[MediaWiki:Newarticletext]], as it displays for [[<]].
- You can't move a page to [[<]]. It claims that "The requested page title
was invalid, empty, or an incorrectly linked inter-language or inter-wiki title."
- I created [[User:Dbenbenn/<]], then deleted it. When I then edited the
page, the "View or restore 2 deleted edits?" message didn't have the usual link
to Special:Undelete.
Version: 1.6.x
Severity: trivial