r63402 MediaWiki - Code Review archive

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

Diff [purge]

Index: branches/REL1_15/phase3/maintenance/moveBatch.php
@@ -81,7 +81,8 @@
8282 $dbw->begin();
8383 $err = $source->moveTo( $dest, false, $reason );
8484 if( $err !== true ) {
85 - print "\nFAILED: $err";
 85+ $msg = array_shift( $err[0] );
 86+ print "\nFAILED: " . wfMsg( $msg, $err[0] );
8687 }
8788 $dbw->immediateCommit();
8889 print "\n";

Past revisions this follows-up on

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

Status & tagging log