mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-11 15:56:23 +00:00
Fix error output
Bug: T159581 Bug: T159831 Change-Id: Ib8d5ddf4ca95defe705a6f7db01dc6f43ca5d9db
This commit is contained in:
parent
506734b357
commit
508a3d8545
|
@ -194,7 +194,7 @@ class GenerateFancyCaptchas extends Maintenance {
|
|||
}
|
||||
} else {
|
||||
$this->output( "Errored.\n" );
|
||||
$this->output( implode( "\n", $ret->getErrors() ) );
|
||||
$this->output( implode( "\n", Status::wrap( $ret )->getWikiText( null, null, 'en' ) ) );
|
||||
}
|
||||
|
||||
if ( $deleteOldCaptchas ) {
|
||||
|
@ -216,7 +216,7 @@ class GenerateFancyCaptchas extends Maintenance {
|
|||
);
|
||||
} else {
|
||||
$this->output( "Errored.\n" );
|
||||
$this->output( implode( "\n", $ret->getErrors() ) );
|
||||
$this->output( implode( "\n", Status::wrap( $ret )->getWikiText( null, null, 'en' ) ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue