(Bug 26410) In an internal link, a plus sign is treated as a space if the link
authorBrian Wolff <bawolff@users.mediawiki.org>
Fri, 24 Dec 2010 09:53:08 +0000 (09:53 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Fri, 24 Dec 2010 09:53:08 +0000 (09:53 +0000)
commitff5394caed9fd799aa85ca8c77031bc9852492f1
treeb0f3a715bc425f73325229eb83372771ca188f08
parent5929ae579894e3e9f0a0100d83960c3ef8002f00
(Bug 26410) In an internal link, a plus sign is treated as a space if the link
has a % sign in it, but interperted as a + if no % sign is present.

This changes how the parser interperts links slightly. However:
*I can't imagine anyone is relying on this behaviour
*Things should be consistent. a + sign shouldn't magically change meaning
if there is a % sign somewhere else in the link.
*Pages are allowed to contain % signs in their title, and + signs,
you should be able to link to such pages just by typing there name without
resorting to %2B.
*If you have a page named foo%+ having [[{{PAGENAME}}]] link to a different
page seems inherently wrong.
*The previous behaviour seemed accidental.
RELEASE-NOTES
includes/Linker.php
includes/Title.php
includes/parser/Parser.php