X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FcleanupCaps.php;h=2c81adf070cd3d5dea794f3c8d056c6d3cf75fb2;hp=da241e533769265b2912a4ea62a7e5dc152e0a13;hb=8e0ef3e187b4b8ebe847dbc8ae1ec2b96ed58ae0;hpb=4051970d03686d0f05516659a35733cd5325eb37 diff --git a/maintenance/cleanupCaps.php b/maintenance/cleanupCaps.php index da241e5337..2c81adf070 100644 --- a/maintenance/cleanupCaps.php +++ b/maintenance/cleanupCaps.php @@ -163,7 +163,7 @@ class CleanupCaps extends TableCleanup { $mp = MediaWikiServices::getInstance()->getMovePageFactory() ->newMovePage( $current, $target ); $status = $mp->move( $this->user, $reason, $createRedirect ); - $ok = $status->isOK() ? 'OK' : $status->getWikiText( false, false, 'en' ); + $ok = $status->isOK() ? 'OK' : $status->getMessage( false, false, 'en' )->text(); $this->output( "\"$display\" -> \"$targetDisplay\": $ok\n" ); }