diff options
Diffstat (limited to 'maintenance/moveBatch.php')
-rw-r--r-- | maintenance/moveBatch.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/maintenance/moveBatch.php b/maintenance/moveBatch.php index 427e5d09..67d513ed 100644 --- a/maintenance/moveBatch.php +++ b/maintenance/moveBatch.php @@ -81,7 +81,8 @@ for ( $linenum = 1; !feof( $file ); $linenum++ ) { $dbw->begin(); $err = $source->moveTo( $dest, false, $reason ); if( $err !== true ) { - print "\nFAILED: $err"; + $msg = array_shift( $err[0] ); + print "\nFAILED: " . wfMsg( $msg, $err[0] ); } $dbw->immediateCommit(); print "\n"; |