X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMergeHistory.php;h=5b77d5a112029e8a099bba848b278c51d322901f;hp=89eb410304701104428fd4720f32834e773d50af;hb=1dd54d80af8403c0f36746f482a46ffb41fb28ed;hpb=f459a71f75941a83335d6d63ee12079a4b586793 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(