diff --git a/maintenance/DeleteOldFancyCaptchas.php b/maintenance/DeleteOldFancyCaptchas.php index f8a6c1e62..9dc693d61 100644 --- a/maintenance/DeleteOldFancyCaptchas.php +++ b/maintenance/DeleteOldFancyCaptchas.php @@ -82,8 +82,9 @@ class DeleteOldFancyCaptchas extends Maintenance { if ( $ret->isOK() ) { $this->output( "$count old fancy captchas deleted.\n" ); } else { + $status = Status::wrap( $ret ); $this->output( "Deleting old captchas errored.\n" ); - $this->output( implode( "\n", $ret->getErrors() ) ); + $this->output( $status->getWikiText( false, false, 'en' ) ); } } }