From 38dd7d2959876a9f1a9faf7058b76e30f5a3c22a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 8 Mar 2009 14:04:18 +0000 Subject: [PATCH] The correct right is "suppressrevision", not "hiderevision". The latter is for Oversight extension. --- includes/specials/SpecialRevisiondelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); } } -- 2.20.1