Index: trunk/extensions/Contest/Contest.i18n.php |
— | — | @@ -167,7 +167,8 @@ |
168 | 168 | 'contest-contestant-notsubmitted' => 'Not submitted yet', |
169 | 169 | 'contest-contestant-comments' => 'Comments', |
170 | 170 | 'contest-contestant-submit' => 'Save changes', |
171 | | - 'contest-contestant-comment-by' => 'Comment by $1' |
| 171 | + 'contest-contestant-comment-by' => 'Comment by $1', |
| 172 | + 'contest-contestant-rate' => 'Rate this contestant', |
172 | 173 | ); |
173 | 174 | |
174 | 175 | /** Message documentation (Message documentation) |
Index: trunk/extensions/Contest/README |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | These is the readme file for the Contest extension. |
3 | 3 | |
4 | | -Extension page on mediawiki.org: http://www.mediawiki.org/wiki/Extension:Contest |
| 4 | +Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | Latest version of the readme file: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Contest/README?view=co |
6 | 6 | |
7 | 7 | == About == |
Index: trunk/extensions/Contest/specials/SpecialContestant.php |
— | — | @@ -106,6 +106,8 @@ |
107 | 107 | $this->showComments( $contestant ); |
108 | 108 | |
109 | 109 | $out->addHTML( '</form>' ); |
| 110 | + |
| 111 | + $out->addModules( 'contest.special.contestant' ); |
110 | 112 | } |
111 | 113 | |
112 | 114 | /** |
— | — | @@ -198,7 +200,11 @@ |
199 | 201 | * @param ContestContestant $contestant |
200 | 202 | */ |
201 | 203 | protected function showRating( ContestContestant $contestant ) { |
| 204 | + $out = $this->getOutput(); |
202 | 205 | |
| 206 | + $out->addHTML( Html::element( 'h2', array(), wfMsg( 'contest-contestant-rate' ) ) ); |
| 207 | + |
| 208 | + |
203 | 209 | } |
204 | 210 | |
205 | 211 | /** |
— | — | @@ -249,12 +255,12 @@ |
250 | 256 | 'contest-contestant-comment-by', |
251 | 257 | Linker::userLink( $comment->getField( 'user_id' ), $user->getName() ) . |
252 | 258 | Linker::userToolLinks( $comment->getField( 'user_id' ), $user->getName() ) |
253 | | - ) . '   ' .$this->getLang()->timeanddate( $comment->getField( 'time' ), true ) |
| 259 | + ) . '   ' . $this->getLang()->timeanddate( $comment->getField( 'time' ), true ) |
254 | 260 | ); |
255 | 261 | |
256 | 262 | $html .= Html::rawElement( |
257 | 263 | 'div', |
258 | | - array( 'class' => 'contestant-comment-text' ), |
| 264 | + array( 'class' => 'contestant-comment-text mw-content-' . $this->getLang()->getDir() . '' ), |
259 | 265 | $this->getOutput()->parse( $comment->getField( 'text' ) ) |
260 | 266 | ); |
261 | 267 | |
Index: trunk/extensions/Contest/Contest.settings.php |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | |
4 | 4 | /** |
5 | 5 | * File defining the settings for the Contest extension. |
6 | | - * More info can be found at http://www.mediawiki.org/wiki/Extension:Contest#Settings |
| 6 | + * More info can be found at https://www.mediawiki.org/wiki/Extension:Contest#Settings |
7 | 7 | * |
8 | 8 | * NOTICE: |
9 | 9 | * Changing one of these settings can be done by assigning to $egContestSettings, |
Index: trunk/extensions/Contest/Contest.php |
— | — | @@ -3,8 +3,8 @@ |
4 | 4 | /** |
5 | 5 | * Initialization file for the Contest extension. |
6 | 6 | * |
7 | | - * Documentation: http://www.mediawiki.org/wiki/Extension:Contest |
8 | | - * Support http://www.mediawiki.org/wiki/Extension_talk:Contest |
| 7 | + * Documentation: https://www.mediawiki.org/wiki/Extension:Contest |
| 8 | + * Support https://www.mediawiki.org/wiki/Extension_talk:Contest |
9 | 9 | * Source code: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Contest |
10 | 10 | * |
11 | 11 | * @file Contest.php |
— | — | @@ -209,6 +209,12 @@ |
210 | 210 | ), |
211 | 211 | ); |
212 | 212 | |
| 213 | +$wgResourceModules['contest.special.contestant'] = $moduleTemplate + array( |
| 214 | + 'styles' => array( |
| 215 | + 'contest.special.contestant.css', |
| 216 | + ), |
| 217 | +); |
| 218 | + |
213 | 219 | unset( $moduleTemplate ); |
214 | 220 | |
215 | 221 | $egContestSettings = array(); |
Index: trunk/extensions/Contest/INSTALL |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | These is the install file for the Contest extension. |
3 | 3 | |
4 | | -Extension page on mediawiki.org: http://www.mediawiki.org/wiki/Extension:Contest |
| 4 | +Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | Latest version of the install file: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Contest/INSTALL?view=co |
6 | 6 | |
7 | 7 | |
Index: trunk/extensions/Contest/RELEASE-NOTES |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | These are the release notes for the Contest extension. |
3 | 3 | |
4 | | -Extension page on mediawiki.org: http://www.mediawiki.org/wiki/Extension:Contest |
| 4 | +Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | Latest version of the release notes: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Contest/RELEASE-NOTES?view=co |
6 | 6 | |
7 | 7 | |
Index: trunk/extensions/Contest/resources/contest.special.welcome.css |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * CSS for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
Index: trunk/extensions/Contest/resources/contest.special.submission.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * JavasSript for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
Index: trunk/extensions/Contest/resources/contest.special.welcome.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * JavasSript for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
Index: trunk/extensions/Contest/resources/contest.contestant.pager.css |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * CSS for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
Index: trunk/extensions/Contest/resources/contest.contestant.pager.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * JavasSript for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
Index: trunk/extensions/Contest/resources/contest.special.contests.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * JavasSript for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
Index: trunk/extensions/Contest/resources/jquery.contestChallanges.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * JavasSript for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
Index: trunk/extensions/Contest/resources/contest.special.editcontest.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * JavasSript for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |
Index: trunk/extensions/Contest/resources/contest.special.signup.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | /** |
3 | 3 | * JavasSript for the Contest MediaWiki extension. |
4 | | - * @see https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Contest |
| 4 | + * @see https://www.mediawiki.org/wiki/Extension:Contest |
5 | 5 | * |
6 | 6 | * @licence GNU GPL v3 or later |
7 | 7 | * @author Jeroen De Dauw <jeroendedauw at gmail dot com> |