r100144 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100143‎ | r100144 | r100145 >
Date:18:40, 18 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Comment out superfluous user right assignments

Remove TODO as module exists
Modified paths:
  • /trunk/extensions/Contest/Contest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/Contest.php
@@ -95,7 +95,7 @@
9696
9797 // API
9898 $wgAPIModules['deletecontest'] = 'ApiDeleteContest';
99 -$wgAPIModules['mailcontestants'] = 'ApiMailContestants'; // TODO
 99+$wgAPIModules['mailcontestants'] = 'ApiMailContestants';
100100 $wgAPIListModules['challenges'] = 'ApiQueryChallenges';
101101 $wgAPIListModules['contestants'] = 'ApiQueryContestants';
102102 $wgAPIListModules['contestcomments'] = 'ApiQueryContestComments';
@@ -117,9 +117,9 @@
118118
119119 # Users that can manage the contests.
120120 $wgGroupPermissions['*' ]['contestadmin'] = false;
121 -$wgGroupPermissions['user' ]['contestadmin'] = false;
122 -$wgGroupPermissions['autoconfirmed']['contestadmin'] = false;
123 -$wgGroupPermissions['bot' ]['contestadmin'] = false;
 121+//$wgGroupPermissions['user' ]['contestadmin'] = false;
 122+//$wgGroupPermissions['autoconfirmed']['contestadmin'] = false;
 123+//$wgGroupPermissions['bot' ]['contestadmin'] = false;
124124 $wgGroupPermissions['sysop' ]['contestadmin'] = true;
125125 $wgGroupPermissions['contestadmin' ]['contestadmin'] = true;
126126
@@ -127,15 +127,15 @@
128128 $wgGroupPermissions['*' ]['contestparticipant'] = false;
129129 $wgGroupPermissions['user' ]['contestparticipant'] = true;
130130 $wgGroupPermissions['autoconfirmed']['contestparticipant'] = true;
131 -$wgGroupPermissions['bot' ]['contestparticipant'] = false;
 131+//$wgGroupPermissions['bot' ]['contestparticipant'] = false;
132132 $wgGroupPermissions['sysop' ]['contestparticipant'] = true;
133133 $wgGroupPermissions['contestparticipant']['contestparticipant'] = true;
134134
135135 # Users that can vote and comment on submissions.
136136 $wgGroupPermissions['*' ]['contestjudge'] = false;
137 -$wgGroupPermissions['user' ]['contestjudge'] = false;
138 -$wgGroupPermissions['autoconfirmed']['contestjudge'] = false;
139 -$wgGroupPermissions['bot' ]['contestjudge'] = false;
 137+//$wgGroupPermissions['user' ]['contestjudge'] = false;
 138+//$wgGroupPermissions['autoconfirmed']['contestjudge'] = false;
 139+//$wgGroupPermissions['bot' ]['contestjudge'] = false;
140140 $wgGroupPermissions['sysop' ]['contestjudge'] = true;
141141 $wgGroupPermissions['contestjudge' ]['contestjudge'] = true;
142142

Status & tagging log