Index: trunk/extensions/Contest/Contest.i18n.php |
— | — | @@ -57,6 +57,7 @@ |
58 | 58 | 'special-contestwelcome' => 'View a contest', |
59 | 59 | 'special-editcontest' => 'Edit a contest', |
60 | 60 | 'special-mycontests' => 'My contests', |
| 61 | + 'specialpages-group-contest' => 'Contests', |
61 | 62 | |
62 | 63 | // Navigation links |
63 | 64 | 'contest-nav-contests' => 'Contests list', |
Index: trunk/extensions/Contest/Contest.php |
— | — | @@ -83,13 +83,13 @@ |
84 | 84 | $wgSpecialPages['EditContest'] = 'SpecialEditContest'; |
85 | 85 | $wgSpecialPages['MyContests'] = 'SpecialMyContests'; |
86 | 86 | |
87 | | -$wgSpecialPageGroups['Contest'] = 'other'; |
88 | | -$wgSpecialPageGroups['Contestant'] = 'other'; |
89 | | -$wgSpecialPageGroups['Contests'] = 'other'; |
90 | | -$wgSpecialPageGroups['ContestSignup'] = 'other'; |
91 | | -$wgSpecialPageGroups['ContestWelcome'] = 'other'; |
92 | | -$wgSpecialPageGroups['EditContest'] = 'other'; |
93 | | -$wgSpecialPageGroups['MyContests'] = 'other'; |
| 87 | +$wgSpecialPageGroups['Contest'] = 'contest'; |
| 88 | +$wgSpecialPageGroups['Contestant'] = 'contest'; |
| 89 | +$wgSpecialPageGroups['Contests'] = 'contest'; |
| 90 | +$wgSpecialPageGroups['ContestSignup'] = 'contest'; |
| 91 | +$wgSpecialPageGroups['ContestWelcome'] = 'contest'; |
| 92 | +$wgSpecialPageGroups['EditContest'] = 'contest'; |
| 93 | +$wgSpecialPageGroups['MyContests'] = 'contest'; |
94 | 94 | |
95 | 95 | // API |
96 | 96 | $wgAPIModules['deletecontest'] = 'ApiDeleteContest'; |
Index: trunk/extensions/Contest/includes/ContestDBObject.php |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | $value = serialize( (array)$value ); |
175 | 175 | } |
176 | 176 | |
177 | | - $values[$this->getFieldPrefix() . $name] = $value; |
| 177 | + $values[$this->getFieldPrefix() . $name] = $value; |
178 | 178 | } |
179 | 179 | } |
180 | 180 | |
— | — | @@ -354,7 +354,7 @@ |
355 | 355 | |
356 | 356 | $this->fields[$name] = $value; |
357 | 357 | } else { |
358 | | - throw new MWException( 'Attempted to set unknonw field ' . $name ); |
| 358 | + throw new MWException( 'Attempted to set unknown field ' . $name ); |
359 | 359 | } |
360 | 360 | } |
361 | 361 | |
Index: trunk/extensions/Contest/includes/Contest.class.php |
— | — | @@ -411,7 +411,7 @@ |
412 | 412 | |
413 | 413 | if ( count( $contestantIds ) > 0 ) { |
414 | 414 | $success = ContestComment::s()->delete( array( 'contestant_id' => $contestantIds ) ) && $success; |
415 | | - $success = ContestVote::s()->delete( array( 'contestant_id' => $contestantIds ) ) && $success; |
| 415 | + $success = ContestVote::s()->delete( array( 'contestant_id' => $contestantIds ) ) && $success; |
416 | 416 | } |
417 | 417 | |
418 | 418 | $success = ContestContestant::s()->delete( $condition ) && $success; |