http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100144

Revision: 100144
Author:   reedy
Date:     2011-10-18 18:40:15 +0000 (Tue, 18 Oct 2011)
Log Message:
-----------
Comment out superfluous user right assignments

Remove TODO as module exists

Modified Paths:
--------------
    trunk/extensions/Contest/Contest.php

Modified: trunk/extensions/Contest/Contest.php
===================================================================
--- trunk/extensions/Contest/Contest.php        2011-10-18 18:39:52 UTC (rev 
100143)
+++ trunk/extensions/Contest/Contest.php        2011-10-18 18:40:15 UTC (rev 
100144)
@@ -95,7 +95,7 @@
 
 // API
 $wgAPIModules['deletecontest']                                         = 
'ApiDeleteContest';
-$wgAPIModules['mailcontestants']                               = 
'ApiMailContestants'; // TODO
+$wgAPIModules['mailcontestants']                               = 
'ApiMailContestants';
 $wgAPIListModules['challenges']                                = 
'ApiQueryChallenges';
 $wgAPIListModules['contestants']                               = 
'ApiQueryContestants';
 $wgAPIListModules['contestcomments']                   = 
'ApiQueryContestComments';
@@ -117,9 +117,9 @@
 
 # Users that can manage the contests.
 $wgGroupPermissions['*'            ]['contestadmin'] = false;
-$wgGroupPermissions['user'         ]['contestadmin'] = false;
-$wgGroupPermissions['autoconfirmed']['contestadmin'] = false;
-$wgGroupPermissions['bot'          ]['contestadmin'] = false;
+//$wgGroupPermissions['user'         ]['contestadmin'] = false;
+//$wgGroupPermissions['autoconfirmed']['contestadmin'] = false;
+//$wgGroupPermissions['bot'          ]['contestadmin'] = false;
 $wgGroupPermissions['sysop'        ]['contestadmin'] = true;
 $wgGroupPermissions['contestadmin' ]['contestadmin'] = true;
 
@@ -127,15 +127,15 @@
 $wgGroupPermissions['*'            ]['contestparticipant'] = false;
 $wgGroupPermissions['user'         ]['contestparticipant'] = true;
 $wgGroupPermissions['autoconfirmed']['contestparticipant'] = true;
-$wgGroupPermissions['bot'          ]['contestparticipant'] = false;
+//$wgGroupPermissions['bot'          ]['contestparticipant'] = false;
 $wgGroupPermissions['sysop'        ]['contestparticipant'] = true;
 $wgGroupPermissions['contestparticipant']['contestparticipant'] = true;
 
 # Users that can vote and comment on submissions.
 $wgGroupPermissions['*'            ]['contestjudge'] = false;
-$wgGroupPermissions['user'         ]['contestjudge'] = false;
-$wgGroupPermissions['autoconfirmed']['contestjudge'] = false;
-$wgGroupPermissions['bot'          ]['contestjudge'] = false;
+//$wgGroupPermissions['user'         ]['contestjudge'] = false;
+//$wgGroupPermissions['autoconfirmed']['contestjudge'] = false;
+//$wgGroupPermissions['bot'          ]['contestjudge'] = false;
 $wgGroupPermissions['sysop'        ]['contestjudge'] = true;
 $wgGroupPermissions['contestjudge' ]['contestjudge'] = true;
 


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to