uppercaseTitlesForUnicodeTransition: Add missing return
When MovePage::move() returns an error, doMove() should return false instead of carrying on with move log adjustment. Bug: T394556 Change-Id: I0864bd491d59fff42a062d7e5db957e46852761a
This commit is contained in:
parent
595623d90e
commit
30c2ad5fae
1 changed files with 1 additions and 0 deletions
|
|
@ -426,6 +426,7 @@ class UppercaseTitlesForUnicodeTransition extends Maintenance {
|
|||
if ( !$status->isOK() ) {
|
||||
$this->error( "Move {$oldTitle->getPrefixedText()} → {$newTitle->getPrefixedText()} failed:" );
|
||||
$this->error( $status );
|
||||
return false;
|
||||
}
|
||||
$this->output( "Renamed {$oldTitle->getPrefixedText()} → {$newTitle->getPrefixedText()}\n" );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue