Index: trunk/extensions/Contest/Contest.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | |
97 | 97 | // API |
98 | 98 | $wgAPIModules['deletecontest'] = 'ApiDeleteContest'; |
99 | | -$wgAPIModules['mailcontestants'] = 'ApiMailContestants'; // TODO |
| 99 | +$wgAPIModules['mailcontestants'] = 'ApiMailContestants'; |
100 | 100 | $wgAPIListModules['challenges'] = 'ApiQueryChallenges'; |
101 | 101 | $wgAPIListModules['contestants'] = 'ApiQueryContestants'; |
102 | 102 | $wgAPIListModules['contestcomments'] = 'ApiQueryContestComments'; |
— | — | @@ -117,9 +117,9 @@ |
118 | 118 | |
119 | 119 | # Users that can manage the contests. |
120 | 120 | $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; |
124 | 124 | $wgGroupPermissions['sysop' ]['contestadmin'] = true; |
125 | 125 | $wgGroupPermissions['contestadmin' ]['contestadmin'] = true; |
126 | 126 | |
— | — | @@ -127,15 +127,15 @@ |
128 | 128 | $wgGroupPermissions['*' ]['contestparticipant'] = false; |
129 | 129 | $wgGroupPermissions['user' ]['contestparticipant'] = true; |
130 | 130 | $wgGroupPermissions['autoconfirmed']['contestparticipant'] = true; |
131 | | -$wgGroupPermissions['bot' ]['contestparticipant'] = false; |
| 131 | +//$wgGroupPermissions['bot' ]['contestparticipant'] = false; |
132 | 132 | $wgGroupPermissions['sysop' ]['contestparticipant'] = true; |
133 | 133 | $wgGroupPermissions['contestparticipant']['contestparticipant'] = true; |
134 | 134 | |
135 | 135 | # Users that can vote and comment on submissions. |
136 | 136 | $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; |
140 | 140 | $wgGroupPermissions['sysop' ]['contestjudge'] = true; |
141 | 141 | $wgGroupPermissions['contestjudge' ]['contestjudge'] = true; |
142 | 142 | |