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:
5e13736
)
Check for "block" permission, not "protect" permission, when determining whether...
author
Rob Church
<robchurch@users.mediawiki.org>
Sat, 21 Jan 2006 20:29:17 +0000
(20:29 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Sat, 21 Jan 2006 20:29:17 +0000
(20:29 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
ac215ce
..
beeecfa
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-834,7
+834,7
@@
class SkinTemplate extends Skin {
$nav_urls['contributions'] = array(
'href' => $this->makeSpecialUrl('Contributions/' . $this->mTitle->getText() )
);
- if ( $wgUser->isAllowed( '
protect
' ) )
+ if ( $wgUser->isAllowed( '
block
' ) )
$nav_urls['blockip'] = array(
'href' => $this->makeSpecialUrl( 'Blockip/' . $this->mTitle->getText() )
);