r63397 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63396‎ | r63397 | r63398 >
Date:17:09, 8 March 2010
Author:maxsem
Status:ok
Tags:
Comment:
Fixed error output in moveBatch.php
Modified paths:
  • /trunk/phase3/maintenance/moveBatch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/moveBatch.php
@@ -92,7 +92,8 @@
9393 $dbw->begin();
9494 $err = $source->moveTo( $dest, false, $reason );
9595 if( $err !== true ) {
96 - $this->output( "\nFAILED: $err" );
 96+ $msg = array_shift( $err[0] );
 97+ $this->output( "\nFAILED: " . wfMsg( $msg, $err[0] ) );
9798 }
9899 $dbw->commit();
99100 $this->output( "\n" );

Follow-up revisions

RevisionCommit summaryAuthorDate
r63400MFT r63397 to 1.16: Fixed error output in moveBatch.phpmaxsem17:24, 8 March 2010
r63402MFT r63397 to 1.15: Fixed error output in moveBatch.phpmaxsem17:58, 8 March 2010

Status & tagging log