X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMergeHistory.php;h=1babf8c374e6dfa86777f8bbf2e5597fe3e4bc43;hb=f74400487fdb4c48833f566524d4079bce098250;hp=f122db8a37d87a90c5a43447798c9b004fee19bc;hpb=17b3bab4d636df56e4a4b55e52fcda9fde892804;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMergeHistory.php b/includes/specials/SpecialMergeHistory.php index f122db8a37..1babf8c374 100644 --- a/includes/specials/SpecialMergeHistory.php +++ b/includes/specials/SpecialMergeHistory.php @@ -21,6 +21,8 @@ * @ingroup SpecialPage */ +use MediaWiki\Revision\RevisionRecord; + /** * Special page allowing users with the appropriate permissions to * merge article histories, with some restrictions @@ -224,11 +226,11 @@ class SpecialMergeHistory extends SpecialPage { ' ' . Xml::input( 'wpComment', 50, $this->mComment, [ 'id' => 'wpComment' ] ) . - ' + " -   - ' . + \u{00A0} + " . Xml::submitButton( $this->msg( 'mergehistory-submit' )->text(), [ 'name' => 'merge', 'id' => 'mw-merge-submit' ] @@ -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(