From: Raimond Spekking Date: Mon, 25 Feb 2008 20:36:29 +0000 (+0000) Subject: Add formatnum to count of hidden categories, rephrase it a bit. X-Git-Tag: 1.31.0-rc.0~49353 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=15907ae25cb9beea14b7da3539c4dff173d0fb5a;p=lhc%2Fweb%2Fwiklou.git Add formatnum to count of hidden categories, rephrase it a bit. --- diff --git a/includes/Linker.php b/includes/Linker.php index 205c8e0688..4f27d6523a 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1368,7 +1368,7 @@ class Linker { * @return string HTML output */ public function formatHiddenCategories( $hiddencats) { - global $wgUser; + global $wgUser, $wgLang; wfProfileIn( __METHOD__ ); $sk = $wgUser->getSkin(); @@ -1377,7 +1377,7 @@ class Linker { if ( count( $hiddencats ) > 0 ) { # Construct the HTML $outText = '
'; - $outText .= wfMsgExt( 'hiddencategories', array( 'parse' ), count( $hiddencats ) ); + $outText .= wfMsgExt( 'hiddencategories', array( 'parse' ), $wgLang->formatnum( count( $hiddencats ) ) ); $outText .= '