* (bug 27761) Fix regression: pages with Esperanto titles containing convertible...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 1 Mar 2011 21:20:40 +0000 (21:20 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 1 Mar 2011 21:20:40 +0000 (21:20 +0000)
commit8226d7e533e8c17d95182d02a5f6d1c5c5657a7c
tree821e5588a6ec555ec044bf0dcba07f51aa4081b2
parent523bf3f69a644d505aa973116f40182c741f75c3
* (bug 27761) Fix regression: pages with Esperanto titles containing convertible character sequences became unreachable

Fixes regression from r70871 -- a comparison originally made against the raw GET 'title' variable was changed to use WebRequest::getText() instead, which performs character conversion. This caused infinite redirect loops for titles containing convertible forms such as "ux", which in a recodable field would be round-tripped via "uxx".
This fix changes the comparison to use WebRequest::getVal(), restoring the original direct comparison and avoiding the redirect loops.

(Another nice reminder that this old system with the pseudo charset conversion is obsolete -- it should be replaced with a more modern browser-based input conversion that can apply to all text input fields.)
includes/Wiki.php