r66271 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66270‎ | r66271 | r66272 >
Date:14:02, 12 May 2010
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r66267: Use formatNum for the number
* Add new message key to maintenance file.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialImport.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialImport.php
@@ -350,11 +350,11 @@
351351 }
352352
353353 function close() {
354 - global $wgOut;
 354+ global $wgOut, $wgLang;
355355
356356 if ( $this->mLogItemCount > 0 ) {
357357 $msg = wfMsgExt( 'imported-log-entries', 'parseinline',
358 - $this->mLogItemCount );
 358+ $wgLang->formatNum( $this->mLogItemCount ) );
359359 $wgOut->addHTML( Xml::tags( 'li', null, $msg ) );
360360 } elseif( $this->mPageCount == 0 && $this->mLogItemCount == 0 ) {
361361 $wgOut->addHTML( "</ul>\n" );
Index: trunk/phase3/maintenance/language/messages.inc
@@ -2173,6 +2173,7 @@
21742174 'importstart',
21752175 'import-revision-count',
21762176 'importnopages',
 2177+ 'imported-log-entries',
21772178 'importfailed',
21782179 'importunknownsource',
21792180 'importcantopen',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66267Rewrite of XML Dump Processing:...werdna13:28, 12 May 2010

Status & tagging log