r69924 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69923‎ | r69924 | r69925 >
Date:03:34, 26 July 2010
Author:yaron
Status:ok
Tags:
Comment:
formatNum() added for display of number of pages
Modified paths:
  • /trunk/extensions/DataTransfer/specials/DT_ImportXML.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DataTransfer/specials/DT_ImportXML.php
@@ -62,12 +62,10 @@
6363 $title = Title::newFromText( $page->getName() );
6464 $job_params['text'] = $page->createText();
6565 $jobs[] = new DTImportJob( $title, $job_params );
66 - // $text .= "<p>{$page->getName()}:</p>\n";
67 - // $text .= "<pre>{$page->createText()}</pre>\n";
6866 }
6967 Job::batchInsert( $jobs );
7068 global $wgLang;
71 - $text .= wfMsgExt( 'dt_import_success', $wgLang->formatNum( count( $jobs ) ), 'XML' );
 69+ $text .= wfMsgExt( 'dt_import_success', array( 'parse' ), $wgLang->formatNum( count( $jobs ) ), 'XML' );
7270 return $text;
7371 }
7472 }

Status & tagging log