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:
f00d20a
)
wgOnlySysopMayMove seems to be still used, partial revert till it's changed to wgGrou...
author
Rotem Liss
<rotem@users.mediawiki.org>
Sat, 9 Sep 2006 08:50:34 +0000
(08:50 +0000)
committer
Rotem Liss
<rotem@users.mediawiki.org>
Sat, 9 Sep 2006 08:50:34 +0000
(08:50 +0000)
includes/SpecialMovepage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialMovepage.php
b/includes/SpecialMovepage.php
index
9777a80
..
b5fa9e1
100644
(file)
--- a/
includes/SpecialMovepage.php
+++ b/
includes/SpecialMovepage.php
@@
-9,10
+9,10
@@
* Constructor
*/
function wfSpecialMovepage( $par = null ) {
- global $wgUser, $wgOut, $wgRequest, $action;
+ global $wgUser, $wgOut, $wgRequest, $action
, $wgOnlySysopMayMove
;
# Check rights
- if ( !$wgUser->isAllowed( 'move' ) ) {
+ if ( !$wgUser->isAllowed( 'move' )
|| ( $wgOnlySysopMayMove && $wgUser->isNewbie() )
) {
$wgOut->showErrorPage( 'movenologin', 'movenologintext' );
return;
}