Index: trunk/extensions/Contest/Contest.php |
— | — | @@ -24,8 +24,8 @@ |
25 | 25 | die( 'Not an entry point.' ); |
26 | 26 | } |
27 | 27 | |
28 | | -if ( version_compare( $wgVersion, '1.17', '<' ) ) { |
29 | | - die( '<b>Error:</b> Contest requires MediaWiki 1.17 or above.' ); |
| 28 | +if ( version_compare( $wgVersion, '1.18', '<' ) ) { |
| 29 | + die( '<b>Error:</b> Contest requires MediaWiki 1.18 or above.' ); |
30 | 30 | } |
31 | 31 | |
32 | 32 | define( 'Contest_VERSION', '0.1 alpha' ); |
Index: trunk/extensions/Contest/resources/contest.special.welcome.css |
— | — | @@ -135,7 +135,7 @@ |
136 | 136 | right: 0px; |
137 | 137 | top: 5px; |
138 | 138 | /* @embed */ |
139 | | - background-image: url(images/icon-box.png); |
| 139 | + background-image: url(images/button_arrow.png); |
140 | 140 | } |
141 | 141 | |
142 | 142 | /*#mw-codechallenge-dialog*/ #contest-challanges-list a .mw-codechallenge-icon-box img { |
— | — | @@ -151,7 +151,7 @@ |
152 | 152 | /*#mw-codechallenge-dialog*/ #contest-challanges-list a:hover .mw-codechallenge-icon-box, |
153 | 153 | /*#mw-codechallenge-dialog*/ #contest-challanges-list a:focus .mw-codechallenge-icon-box { |
154 | 154 | /* @embed */ |
155 | | - background-image: url(images/icon-box-hover.png); |
| 155 | + background-image: url(images/button_arrow_hover.png); |
156 | 156 | } |
157 | 157 | |
158 | 158 | /*#mw-codechallenge-dialog*/ #contest-challanges-list a.selected .mw-codechallenge-icon-box { |
Index: trunk/extensions/Contest/Contest.sql |
— | — | @@ -45,11 +45,11 @@ |
46 | 46 | -- Challenges |
47 | 47 | CREATE TABLE IF NOT EXISTS /*_*/contest_challenges ( |
48 | 48 | challenge_id INT unsigned NOT NULL auto_increment PRIMARY KEY, -- Challenge id |
49 | | - challenge_contest_id INT unsigned NOT NULL, |
| 49 | + challenge_contest_id INT unsigned NOT NULL, -- Foreign key on contests.contest_id |
50 | 50 | |
51 | | - challenge_text TEXT NOT NULL, |
52 | | - challenge_title VARCHAR(255) NOT NULL, |
53 | | - challenge_oneline TEXT NOT NULL |
| 51 | + challenge_text TEXT NOT NULL, -- Full challange description |
| 52 | + challenge_title VARCHAR(255) NOT NULL, -- Title of the challange |
| 53 | + challenge_oneline TEXT NOT NULL -- One line description of the challange |
54 | 54 | ) /*$wgDBTableOptions*/; |
55 | 55 | |
56 | 56 | -- Judge votes |