r83255 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83254‎ | r83255 | r83256 >
Date:23:00, 4 March 2011
Author:neilk
Status:deferred
Tags:
Comment:
missing dependencies. Also comment change, we really are using Resource Loader now
Modified paths:
  • /trunk/extensions/UploadWizard/UploadWizardHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/UploadWizardHooks.php
@@ -5,18 +5,16 @@
66 */
77 class UploadWizardHooks {
88
9 - /* We define scripts here for Resource Loader, but in the meantime we are going to load these the old-fashioned way
10 - (see SpecialUploadWizard.php).
 9+ /* We define scripts here for Resource Loader */
1110
12 - So this list of scripts has to be topologically-sorted by hand. That is, the depended-upon stuff comes first.
13 - There can be no circular dependencies. */
14 -
1511 public static $modules = array(
1612 'ext.uploadWizard' => array(
1713 'dependencies' => array(
 14+ 'jquery.ui.core',
1815 'jquery.ui.dialog',
1916 'jquery.ui.datepicker',
20 - 'jquery.ui.progressbar'
 17+ 'jquery.ui.progressbar',
 18+ 'jquery.ui.widget'
2119 ),
2220 'scripts' => array(
2321

Status & tagging log