From 84e13464afd5f6d8dd1f625f7aab76152df94e05 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 12 May 2010 14:02:17 +0000 Subject: [PATCH] Follow-up r66267: Use formatNum for the number * Add new message key to maintenance file. --- includes/specials/SpecialImport.php | 4 ++-- maintenance/language/messages.inc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialImport.php b/includes/specials/SpecialImport.php index 7c05b5f19f..9d451f6788 100644 --- a/includes/specials/SpecialImport.php +++ b/includes/specials/SpecialImport.php @@ -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( "\n" ); diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 7faa9969e3..0f818e5991 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -2173,6 +2173,7 @@ $wgMessageStructure = array( 'importstart', 'import-revision-count', 'importnopages', + 'imported-log-entries', 'importfailed', 'importunknownsource', 'importcantopen', -- 2.20.1