From: Alexandre Emsenhuber Date: Sun, 8 Mar 2009 14:04:18 +0000 (+0000) Subject: The correct right is "suppressrevision", not "hiderevision". The latter is for Oversi... X-Git-Tag: 1.31.0-rc.0~42570 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=38dd7d2959876a9f1a9faf7058b76e30f5a3c22a;p=lhc%2Fweb%2Fwiklou.git The correct right is "suppressrevision", not "hiderevision". The latter is for Oversight extension. --- diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index b777b351d1..7466191a17 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -531,7 +531,7 @@ class RevisionDeleteForm { private function addUsageText() { global $wgOut, $wgUser; $wgOut->addWikiMsg( 'revdelete-text' ); - if( $wgUser->isAllowed( 'hiderevision' ) ) { + if( $wgUser->isAllowed( 'suppressrevision' ) ) { $wgOut->addWikiMsg( 'revdelete-suppress-text' ); } }