diff options
Diffstat (limited to 'includes/SpecialStatistics.php')
-rw-r--r-- | includes/SpecialStatistics.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/SpecialStatistics.php b/includes/SpecialStatistics.php index a29811da..983dc896 100644 --- a/includes/SpecialStatistics.php +++ b/includes/SpecialStatistics.php @@ -32,7 +32,7 @@ function wfSpecialStatistics( $par = '' ) { return; } else { $text = "__NOTOC__\n"; - $text .= '==' . wfMsg( 'sitestats' ) . "==\n"; + $text .= '==' . wfMsgNoTrans( 'sitestats' ) . "==\n"; $text .= wfMsgExt( 'sitestatstext', array( 'parsemag' ), $wgLang->formatNum( $total ), $wgLang->formatNum( $good ), @@ -44,7 +44,7 @@ function wfSpecialStatistics( $par = '' ) { $wgLang->formatNum( $images ) )."\n"; - $text .= "==" . wfMsg( 'userstats' ) . "==\n"; + $text .= "==" . wfMsgNoTrans( 'userstats' ) . "==\n"; $text .= wfMsgExt( 'userstatstext', array ( 'parsemag' ), $wgLang->formatNum( $users ), $wgLang->formatNum( $admins ), @@ -73,7 +73,7 @@ function wfSpecialStatistics( $par = '' ) { ) ); if( $res->numRows() > 0 ) { - $text .= "==" . wfMsg( 'statistics-mostpopular' ) . "==\n"; + $text .= "==" . wfMsgNoTrans( 'statistics-mostpopular' ) . "==\n"; while( $row = $res->fetchObject() ) { $title = Title::makeTitleSafe( $row->page_namespace, $row->page_title ); if( $title instanceof Title ) @@ -83,11 +83,11 @@ function wfSpecialStatistics( $par = '' ) { } } - $footer = wfMsg( 'statistics-footer' ); + $footer = wfMsgNoTrans( 'statistics-footer' ); if( !wfEmptyMsg( 'statistics-footer', $footer ) && $footer != '' ) $text .= "\n" . $footer; $wgOut->addWikiText( $text ); } -}
\ No newline at end of file +} |