r44710 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44709‎ | r44710 | r44711 >
Date:08:52, 17 December 2008
Author:nikerabbit
Status:ok
Tags:
Comment:
* formatNum
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.body.php
@@ -1146,7 +1146,8 @@
11471147 }
11481148
11491149 if ( $numArticles > 0 ) {
1150 - $articles = wfMsgExt( 'coll-n_pages', array( 'parsemag' ), $numArticles );
 1150+ global $wgLang;
 1151+ $articles = wfMsgExt( 'coll-n_pages', array( 'parsemag' ), $wgLang->formatNum( $numArticles ) );
11511152 $showCollection = wfMsgHtml( 'coll-show_collection' );
11521153 $showURL = htmlspecialchars( SkinTemplate::makeSpecialUrl( 'Collection') );
11531154 $out .= <<<EOS

Status & tagging log