r77197 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77196‎ | r77197 | r77198 >
Date:22:42, 23 November 2010
Author:ialex
Status:ok
Tags:
Comment:
WikiImport no longer returns a WikiError since the rewrite to use XmlReader
Modified paths:
  • /trunk/phase3/maintenance/importDump.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/importDump.php
@@ -184,12 +184,6 @@
185185 $result = $reader->importFromStdin();
186186 }
187187
188 -if ( WikiError::isError( $result ) ) {
189 - echo $result->getMessage() . "\n";
190 -} else {
191 - echo "Done!\n";
192 - echo "You might want to run rebuildrecentchanges.php to regenerate\n";
193 - echo "the recentchanges page.\n";
194 -}
195 -
196 -
 188+echo "Done!\n";
 189+echo "You might want to run rebuildrecentchanges.php to regenerate\n";
 190+echo "the recentchanges page.\n";

Status & tagging log