X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupCaps.php;h=2c81adf070cd3d5dea794f3c8d056c6d3cf75fb2;hb=5cab4cb67af3564bcd51db05a06b015787b3a4cd;hp=da241e533769265b2912a4ea62a7e5dc152e0a13;hpb=b7b9cea32981e9bc1425b771b910b7f2ba1d0bde;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" ); }