Follow-up r66267: Use formatNum for the number
authorRaimond Spekking <raymond@users.mediawiki.org>
Wed, 12 May 2010 14:02:17 +0000 (14:02 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Wed, 12 May 2010 14:02:17 +0000 (14:02 +0000)
* Add new message key to maintenance file.

includes/specials/SpecialImport.php
maintenance/language/messages.inc

index 7c05b5f..9d451f6 100644 (file)
@@ -350,11 +350,11 @@ class ImportReporter {
        }
 
        function close() {
-               global $wgOut;
+               global $wgOut, $wgLang;
                
                if ( $this->mLogItemCount > 0 ) {
                        $msg = wfMsgExt( 'imported-log-entries', 'parseinline',
-                                               $this->mLogItemCount );
+                                               $wgLang->formatNum( $this->mLogItemCount ) );
                        $wgOut->addHTML( Xml::tags( 'li', null, $msg ) );
                } elseif( $this->mPageCount == 0 && $this->mLogItemCount == 0 ) {
                        $wgOut->addHTML( "</ul>\n" );
index 7faa996..0f818e5 100644 (file)
@@ -2173,6 +2173,7 @@ $wgMessageStructure = array(
                'importstart',
                'import-revision-count',
                'importnopages',
+               'imported-log-entries',
                'importfailed',
                'importunknownsource',
                'importcantopen',