From 15907ae25cb9beea14b7da3539c4dff173d0fb5a Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Mon, 25 Feb 2008 20:36:29 +0000 Subject: [PATCH] Add formatnum to count of hidden categories, rephrase it a bit. --- includes/Linker.php | 4 ++-- languages/messages/MessagesEn.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 .= '