(bug 21986) Special page names were are now capitalized by content language
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 1 Jan 2010 16:15:07 +0000 (16:15 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 1 Jan 2010 16:15:07 +0000 (16:15 +0000)
RELEASE-NOTES
includes/SpecialPage.php

index 1ec94a3..2602dc6 100644 (file)
@@ -671,6 +671,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * refreshLinks.php now purges orphaned redirect table rows
 * (bug 2971) Swap links of hist & diff location on Special:Contributions for
   consistency with RC/WL
+* (bug 21986) Special page names were are now capitalized by content language
 
 == API changes in 1.16 ==
 
index 39953c1..aa81a1a 100644 (file)
@@ -616,7 +616,7 @@ Perhaps no page aliases are defined for it?" );
                if ( $subpage !== false && !is_null( $subpage ) ) {
                        $name = "$name/$subpage";
                }
-               return ucfirst( $name );
+               return $wgContLang->ucfirst( $name );
        }
 
        /**