mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 00:04:15 +00:00
Use correct default value for Status::getWikiText
Change-Id: If9e4f297ce8435bd9001b5a8f5b15f9b127749e3
This commit is contained in:
parent
55d4d7c040
commit
071ce05bfe
|
@ -192,7 +192,7 @@ class GenerateFancyCaptchas extends Maintenance {
|
||||||
if ( !$ret->isGood() ) {
|
if ( !$ret->isGood() ) {
|
||||||
$this->output(
|
$this->output(
|
||||||
"Non fatal errors:\n" .
|
"Non fatal errors:\n" .
|
||||||
Status::wrap( $ret )->getWikiText( null, null, 'en' ) .
|
Status::wrap( $ret )->getWikiText( false, false, 'en' ) .
|
||||||
"\n"
|
"\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -212,7 +212,7 @@ class GenerateFancyCaptchas extends Maintenance {
|
||||||
$storeSucceeded = false;
|
$storeSucceeded = false;
|
||||||
$this->output( "Errored.\n" );
|
$this->output( "Errored.\n" );
|
||||||
$this->error(
|
$this->error(
|
||||||
Status::wrap( $ret )->getWikiText( null, null, 'en' ) .
|
Status::wrap( $ret )->getWikiText( false, false, 'en' ) .
|
||||||
"\n"
|
"\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -236,14 +236,14 @@ class GenerateFancyCaptchas extends Maintenance {
|
||||||
if ( !$ret->isGood() ) {
|
if ( !$ret->isGood() ) {
|
||||||
$this->output(
|
$this->output(
|
||||||
"Non fatal errors:\n" .
|
"Non fatal errors:\n" .
|
||||||
Status::wrap( $ret )->getWikiText( null, null, 'en' ) .
|
Status::wrap( $ret )->getWikiText( false, false, 'en' ) .
|
||||||
"\n"
|
"\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->output( "Errored.\n" );
|
$this->output( "Errored.\n" );
|
||||||
$this->error(
|
$this->error(
|
||||||
Status::wrap( $ret )->getWikiText( null, null, 'en' ) .
|
Status::wrap( $ret )->getWikiText( false, false, 'en' ) .
|
||||||
"\n"
|
"\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue