From: Chad Horohoe Date: Fri, 1 Jan 2010 16:15:07 +0000 (+0000) Subject: (bug 21986) Special page names were are now capitalized by content language X-Git-Tag: 1.31.0-rc.0~38441 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=9d2767bda33369f8c587adbaa65586be3270bd60;p=lhc%2Fweb%2Fwiklou.git (bug 21986) Special page names were are now capitalized by content language --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1ec94a3990..2602dc60b8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 39953c1a15..aa81a1a767 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -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 ); } /**