Index: branches/REL1_15/phase3/maintenance/moveBatch.php |
— | — | @@ -81,7 +81,8 @@ |
82 | 82 | $dbw->begin(); |
83 | 83 | $err = $source->moveTo( $dest, false, $reason ); |
84 | 84 | if( $err !== true ) { |
85 | | - print "\nFAILED: $err"; |
| 85 | + $msg = array_shift( $err[0] ); |
| 86 | + print "\nFAILED: " . wfMsg( $msg, $err[0] ); |
86 | 87 | } |
87 | 88 | $dbw->immediateCommit(); |
88 | 89 | print "\n"; |