now sysops only can change the topic list
authorMagnus Manske <magnusmanske@users.mediawiki.org>
Sat, 6 Aug 2005 14:58:43 +0000 (14:58 +0000)
committerMagnus Manske <magnusmanske@users.mediawiki.org>
Sat, 6 Aug 2005 14:58:43 +0000 (14:58 +0000)
includes/SpecialValidate.php

index 08296ed..f58bf5e 100644 (file)
@@ -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();