From: Tim Starling Date: Wed, 3 Aug 2005 09:13:42 +0000 (+0000) Subject: fixed permission for displaying undelete link X-Git-Tag: 1.6.0~2067 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=e0d9b9ab1257ce3b5cd5ba7f71a80839e5e39639;p=lhc%2Fweb%2Fwiklou.git fixed permission for displaying undelete link --- diff --git a/includes/Skin.php b/includes/Skin.php index 84dc210281..7cc89f5f32 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -549,7 +549,7 @@ END; function getUndeleteLink() { global $wgUser, $wgTitle, $wgContLang, $action; - if( $wgUser->isAllowed('rollback') && + if( $wgUser->isAllowed('delete') && (($wgTitle->getArticleId() == 0) || ($action == "history")) && ($n = $wgTitle->isDeleted() ) ) { return wfMsg( 'thisisdeleted',