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