From: Magnus Manske Date: Sat, 6 Aug 2005 14:58:43 +0000 (+0000) Subject: now sysops only can change the topic list X-Git-Tag: 1.6.0~2054 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=bb9e60d99961f4cc70d6c342012b59836e2ff4c0;p=lhc%2Fweb%2Fwiklou.git now sysops only can change the topic list --- diff --git a/includes/SpecialValidate.php b/includes/SpecialValidate.php index 08296ed485..f58bf5e4a1 100644 --- a/includes/SpecialValidate.php +++ b/includes/SpecialValidate.php @@ -821,13 +821,13 @@ function wfSpecialValidate( $page = '' ) { return; } -/* + # Can do? - if( ! $wgUser->isAllowed('change_validation') ) { + if( ! $wgUser->isSysop() ) {#isAllowed('change_validation') ) { $wgOut->sysopRequired(); return; } -*/ + $mode = $wgRequest->getVal( "mode" ); $skin = $wgUser->getSkin();