r48160 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48159‎ | r48160 | r48161 >
Date:14:04, 8 March 2009
Author:ialex
Status:ok
Tags:
Comment:
The correct right is "suppressrevision", not "hiderevision". The latter is for Oversight extension.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRevisiondelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php
@@ -531,7 +531,7 @@
532532 private function addUsageText() {
533533 global $wgOut, $wgUser;
534534 $wgOut->addWikiMsg( 'revdelete-text' );
535 - if( $wgUser->isAllowed( 'hiderevision' ) ) {
 535+ if( $wgUser->isAllowed( 'suppressrevision' ) ) {
536536 $wgOut->addWikiMsg( 'revdelete-suppress-text' );
537537 }
538538 }

Status & tagging log