r63400 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63399‎ | r63400 | r63401 >
Date:17:24, 8 March 2010
Author:maxsem
Status:ok
Tags:
Comment:
MFT r63397 to 1.16: Fixed error output in moveBatch.php
Modified paths:
  • /branches/REL1_16/phase3/maintenance/moveBatch.php (modified) (history)

Diff [purge]

Index: branches/REL1_16/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" );
Property changes on: branches/REL1_16/phase3/maintenance/moveBatch.php
___________________________________________________________________
Name: svn:mergeinfo
100101 + /branches/REL1_15/phase3/maintenance/moveBatch.php:51646
/branches/sqlite/maintenance/moveBatch.php:58211-58321
/trunk/phase3/maintenance/moveBatch.php:63397

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r63397Fixed error output in moveBatch.phpmaxsem17:09, 8 March 2010

Status & tagging log