X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMergeHistory.php;h=5b77d5a112029e8a099bba848b278c51d322901f;hb=3bb3c8b0ae092b2e667f6f33abfc98f9c205d53c;hp=89eb410304701104428fd4720f32834e773d50af;hpb=138298b397b308ad6e4bfc7088884d90e8ac1e37;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMergeHistory.php b/includes/specials/SpecialMergeHistory.php index 89eb410304..5b77d5a112 100644 --- a/includes/specials/SpecialMergeHistory.php +++ b/includes/specials/SpecialMergeHistory.php @@ -21,6 +21,8 @@ * @ingroup SpecialPage */ +use MediaWiki\Storage\RevisionRecord; + /** * Special page allowing users with the appropriate permissions to * merge article histories, with some restrictions @@ -293,12 +295,12 @@ class SpecialMergeHistory extends SpecialPage { [], [ 'oldid' => $rev->getId() ] ); - if ( $rev->isDeleted( Revision::DELETED_TEXT ) ) { + if ( $rev->isDeleted( RevisionRecord::DELETED_TEXT ) ) { $pageLink = '' . $pageLink . ''; } # Last link - if ( !$rev->userCan( Revision::DELETED_TEXT, $user ) ) { + if ( !$rev->userCan( RevisionRecord::DELETED_TEXT, $user ) ) { $last = $this->msg( 'last' )->escaped(); } elseif ( isset( $this->prevId[$row->rev_id] ) ) { $last = $linkRenderer->makeKnownLink(