From 7ffbd3933367b0e99c6da1469f686f69f2071e5c Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Sat, 9 Sep 2006 08:50:34 +0000 Subject: [PATCH] wgOnlySysopMayMove seems to be still used, partial revert till it's changed to wgGroupPermissions. --- includes/SpecialMovepage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index 9777a80c20..b5fa9e13a9 100644 --- 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; } -- 2.20.1