* @ingroup SpecialPage
*/
+use MediaWiki\Storage\RevisionRecord;
+
/**
* Special page allowing users with the appropriate permissions to
* merge article histories, with some restrictions
[],
[ 'oldid' => $rev->getId() ]
);
- if ( $rev->isDeleted( Revision::DELETED_TEXT ) ) {
+ if ( $rev->isDeleted( RevisionRecord::DELETED_TEXT ) ) {
$pageLink = '<span class="history-deleted">' . $pageLink . '</span>';
}
# 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(