Index: trunk/phase3/maintenance/moveBatch.php |
— | — | @@ -92,7 +92,8 @@ |
93 | 93 | $dbw->begin(); |
94 | 94 | $err = $source->moveTo( $dest, false, $reason ); |
95 | 95 | if( $err !== true ) { |
96 | | - $this->output( "\nFAILED: $err" ); |
| 96 | + $msg = array_shift( $err[0] ); |
| 97 | + $this->output( "\nFAILED: " . wfMsg( $msg, $err[0] ) ); |
97 | 98 | } |
98 | 99 | $dbw->commit(); |
99 | 100 | $this->output( "\n" ); |