r99833 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99832‎ | r99833 | r99834 >
Date:00:12, 15 October 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
split up module as per roans suggestion
Modified paths:
  • /trunk/extensions/Contest/Contest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/Contest.php
@@ -225,12 +225,17 @@
226226
227227 $wgResourceModules['contest.special.submission'] = $moduleTemplate + array(
228228 'scripts' => array(
229 - 'jquery.contestSubmission.js',
230229 'contest.special.submission.js',
231230 ),
232231 'dependencies' => array(
233 - 'jquery.ui.button'
 232+ 'jquery.ui.button', 'jquery.contestSubmission',
234233 ),
 234+);
 235+
 236+$wgResourceModules['jquery.contestSubmission'] = $moduleTemplate + array(
 237+ 'scripts' => array(
 238+ 'jquery.contestSubmission.js',
 239+ ),
235240 'messages' => array(
236241 'contest-submission-new-submission',
237242 'contest-submission-current-submission',

Status & tagging log