* (bug 16434) Fix paging on Special:Prefixindex when prefix is empty (whole namespace).
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Nov 2011 22:38:39 +0000 (22:38 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Nov 2011 22:38:39 +0000 (22:38 +0000)
commit7824e5eca6e91b12e3b46a052e6518ece04835b5
tree306d24264c7ebc83480e7b3492ae15a23ae59c2a
parent6199c9ff5b6e580d6ab847afbc733d177c628cee
* (bug 16434) Fix paging on Special:Prefixindex when prefix is empty (whole namespace).

Tweaked input handling to make sure the 'from' => 'prefix' mapping doesn't happen if we have passed a namespace parameter (indicating we're working within the form). Tweaked the form paging links to include the NS even if it's 0. :)
Originally wanted to just check for presence of 'prefix' however wfArrayToCgi() strips empty values, and I'm not comfortable tweaking that without a lot more testing.
includes/specials/SpecialPrefixindex.php