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:
Tim Starling 2025-07-02 09:23:28 +10:00 committed by Reedy
parent 595623d90e
commit 30c2ad5fae

View file

@ -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" );