From: Siebrand Mazeland Date: Sun, 2 Nov 2008 21:51:57 +0000 (+0000) Subject: (bug 16143) Fix redirect loop on special pages starting with lower case letters.... X-Git-Tag: 1.31.0-rc.0~44460 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=a359d5533196394a24c5fe5ac76b057357f28469;p=lhc%2Fweb%2Fwiklou.git (bug 16143) Fix redirect loop on special pages starting with lower case letters. Patch by FunPika. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d5d53300b2..71414959f8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -306,6 +306,7 @@ The following extensions are migrated into MediaWiki 1.14: of time with CACHE_NONE (default objectcache table configuration). * Trying to set two different default category sort keys for one page now produces a warning +* (bug 16143) Fix redirect loop on special pages starting with lower case letters. === API changes in 1.14 === diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 69d228d58a..5e1e1bd59a 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -580,7 +580,7 @@ class SpecialPage if ( $subpage !== false && !is_null( $subpage ) ) { $name = "$name/$subpage"; } - return $name; + return ucfirst( $name ); } /**