From 9d2767bda33369f8c587adbaa65586be3270bd60 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 1 Jan 2010 16:15:07 +0000 Subject: [PATCH] (bug 21986) Special page names were are now capitalized by content language --- RELEASE-NOTES | 1 + includes/SpecialPage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 ); } /** -- 2.20.1