X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FmoveBatch.php;h=b54ed4566b05be0cd41d72272157dc9a1b5565ba;hb=101493a70783b15656daa0686d404ac1a7a6976b;hp=09f3120a97d02db6dcb8dd138fb6183c66e021da;hpb=cc28c4a04c85398410fd99079ed5bda3e2b11fca;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/moveBatch.php b/maintenance/moveBatch.php index 09f3120a97..b54ed4566b 100644 --- a/maintenance/moveBatch.php +++ b/maintenance/moveBatch.php @@ -111,7 +111,7 @@ class MoveBatch extends Maintenance { ->newMovePage( $source, $dest ); $status = $mp->move( $wgUser, $reason, !$noredirects ); if ( !$status->isOK() ) { - $this->output( "\nFAILED: " . $status->getWikiText( false, false, 'en' ) ); + $this->output( "\nFAILED: " . $status->getMessage( false, false, 'en' )->text() ); } $this->commitTransaction( $dbw, __METHOD__ ); $this->output( "\n" );