* (bug 5941) Use content language when getting the administrator page title for Speci...
authorRob Church <robchurch@users.mediawiki.org>
Sun, 14 May 2006 04:04:21 +0000 (04:04 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sun, 14 May 2006 04:04:21 +0000 (04:04 +0000)
* Make "administrators" look prettier when used

RELEASE-NOTES
includes/SpecialStatistics.php
languages/Messages.php

index f3dcc55..e70e7d3 100644 (file)
@@ -262,6 +262,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 5937) Register links from gallery captions with the parent parser output
   object so that link tables receive those updates too
 * (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words
+* (bug 5941) Use content language when getting the administrator page title for
+  Special:Statistics
 
 == Compatibility ==
 
index 6ff3338..34351fb 100644 (file)
@@ -75,7 +75,7 @@ function wfSpecialStatistics() {
                $text .= wfMsg( 'userstatstext',
                        $wgLang->formatNum( $users ),
                        $wgLang->formatNum( $admins ),
-                       '[[' . wfMsg( 'administrators' ) . ']]',
+                       '[[' . wfMsgForContent( 'administrators' ) . ']]',
                        // should logically be after #admins, danm backwards compatability!
                        $wgLang->formatNum( sprintf( '%.2f', $admins / $users * 100 ) )
                );
index 26bfb6e..4886cef 100644 (file)
@@ -213,7 +213,7 @@ parent class in order maintain consistency across languages.
 'viewcount'            => 'This page has been accessed {{plural:$1|one time|$1 times}}.',
 'copyright'    => 'Content is available under $1.',
 'protectedpage' => 'Protected page',
-'administrators' => 'Project:Administrators',
+'administrators' => '{{ns:project}}:Administrators',
 'jumpto' => 'Jump to:',
 'jumptonavigation' => 'navigation',
 'jumptosearch' => 'search',