dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10a2c4
)
fixed permission for displaying undelete link
author
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 3 Aug 2005 09:13:42 +0000
(09:13 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 3 Aug 2005 09:13:42 +0000
(09:13 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
84dc210
..
7cc89f5
100644
(file)
--- 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',