X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=maintenance%2FcleanupCaps.php;h=2c81adf070cd3d5dea794f3c8d056c6d3cf75fb2;hb=e65f8ac5110804067366f9f239c13f4f29b66c3d;hp=da241e533769265b2912a4ea62a7e5dc152e0a13;hpb=36fdf484e98446ddbf4ea7ec6a5f9939c37e14c5;p=lhc%2Fweb%2Fwiklou.git 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" ); }