r14214 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14213‎ | r14214 | r14215 >
Date:04:04, 14 May 2006
Author:robchurch
Status:old
Tags:
Comment:
* (bug 5941) Use content language when getting the administrator page title for Special:Statistics
* Make "administrators" look prettier when used
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialStatistics.php (modified) (history)
  • /trunk/phase3/languages/Messages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialStatistics.php
@@ -75,7 +75,7 @@
7676 $text .= wfMsg( 'userstatstext',
7777 $wgLang->formatNum( $users ),
7878 $wgLang->formatNum( $admins ),
79 - '[[' . wfMsg( 'administrators' ) . ']]',
 79+ '[[' . wfMsgForContent( 'administrators' ) . ']]',
8080 // should logically be after #admins, danm backwards compatability!
8181 $wgLang->formatNum( sprintf( '%.2f', $admins / $users * 100 ) )
8282 );
Index: trunk/phase3/RELEASE-NOTES
@@ -262,6 +262,8 @@
263263 * (bug 5937) Register links from gallery captions with the parent parser output
264264 object so that link tables receive those updates too
265265 * (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words
 266+* (bug 5941) Use content language when getting the administrator page title for
 267+ Special:Statistics
266268
267269 == Compatibility ==
268270
Index: trunk/phase3/languages/Messages.php
@@ -213,7 +213,7 @@
214214 'viewcount' => 'This page has been accessed {{plural:$1|one time|$1 times}}.',
215215 'copyright' => 'Content is available under $1.',
216216 'protectedpage' => 'Protected page',
217 -'administrators' => 'Project:Administrators',
 217+'administrators' => '{{ns:project}}:Administrators',
218218 'jumpto' => 'Jump to:',
219219 'jumptonavigation' => 'navigation',
220220 'jumptosearch' => 'search',

Status & tagging log