r88077 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88076‎ | r88077 | r88078 >
Date:13:45, 14 May 2011
Author:catrope
Status:ok
Tags:
Comment:
Put jQuery UI modules in their own group
Modified paths:
  • /trunk/phase3/resources/Resources.php (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/Resources.php
@@ -171,27 +171,33 @@
172172 ),
173173 ),
174174 'dependencies' => 'jquery',
 175+ 'group' => 'jquery.ui',
175176 ),
176177 'jquery.ui.widget' => array(
177178 'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
 179+ 'group' => 'jquery.ui',
178180 ),
179181 'jquery.ui.mouse' => array(
180182 'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
181183 'dependencies' => 'jquery.ui.widget',
 184+ 'group' => 'jquery.ui',
182185 ),
183186 'jquery.ui.position' => array(
184187 'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
 188+ 'group' => 'jquery.ui',
185189 ),
186190 // Interactions
187191 'jquery.ui.draggable' => array(
188192 'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
189193 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
 194+ 'group' => 'jquery.ui',
190195 ),
191196 'jquery.ui.droppable' => array(
192197 'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
193198 'dependencies' => array(
194199 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
195200 ),
 201+ 'group' => 'jquery.ui',
196202 ),
197203 'jquery.ui.resizable' => array(
198204 'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
@@ -200,6 +206,7 @@
201207 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
202208 ),
203209 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
 210+ 'group' => 'jquery.ui',
204211 ),
205212 'jquery.ui.selectable' => array(
206213 'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
@@ -208,10 +215,12 @@
209216 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
210217 ),
211218 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
 219+ 'group' => 'jquery.ui',
212220 ),
213221 'jquery.ui.sortable' => array(
214222 'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
215223 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
 224+ 'group' => 'jquery.ui',
216225 ),
217226 // Widgets
218227 'jquery.ui.accordion' => array(
@@ -221,6 +230,7 @@
222231 'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
223232 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
224233 ),
 234+ 'group' => 'jquery.ui',
225235 ),
226236 'jquery.ui.autocomplete' => array(
227237 'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
@@ -229,6 +239,7 @@
230240 'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
231241 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
232242 ),
 243+ 'group' => 'jquery.ui',
233244 ),
234245 'jquery.ui.button' => array(
235246 'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
@@ -237,6 +248,7 @@
238249 'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
239250 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
240251 ),
 252+ 'group' => 'jquery.ui',
241253 ),
242254 'jquery.ui.datepicker' => array(
243255 'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
@@ -299,6 +311,7 @@
300312 'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
301313 'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
302314 ),
 315+ 'group' => 'jquery.ui',
303316 ),
304317 'jquery.ui.dialog' => array(
305318 'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
@@ -315,6 +328,7 @@
316329 'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
317330 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
318331 ),
 332+ 'group' => 'jquery.ui',
319333 ),
320334 'jquery.ui.progressbar' => array(
321335 'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
@@ -323,6 +337,7 @@
324338 'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
325339 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
326340 ),
 341+ 'group' => 'jquery.ui',
327342 ),
328343 'jquery.ui.slider' => array(
329344 'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
@@ -331,6 +346,7 @@
332347 'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
333348 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
334349 ),
 350+ 'group' => 'jquery.ui',
335351 ),
336352 'jquery.ui.tabs' => array(
337353 'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
@@ -339,59 +355,73 @@
340356 'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
341357 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
342358 ),
 359+ 'group' => 'jquery.ui',
343360 ),
344361 // Effects
345362 'jquery.effects.core' => array(
346363 'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
347364 'dependencies' => 'jquery',
 365+ 'group' => 'jquery.ui',
348366 ),
349367 'jquery.effects.blind' => array(
350368 'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
351369 'dependencies' => 'jquery.effects.core',
 370+ 'group' => 'jquery.ui',
352371 ),
353372 'jquery.effects.bounce' => array(
354373 'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
355374 'dependencies' => 'jquery.effects.core',
 375+ 'group' => 'jquery.ui',
356376 ),
357377 'jquery.effects.clip' => array(
358378 'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
359379 'dependencies' => 'jquery.effects.core',
 380+ 'group' => 'jquery.ui',
360381 ),
361382 'jquery.effects.drop' => array(
362383 'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
363384 'dependencies' => 'jquery.effects.core',
 385+ 'group' => 'jquery.ui',
364386 ),
365387 'jquery.effects.explode' => array(
366388 'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
367389 'dependencies' => 'jquery.effects.core',
 390+ 'group' => 'jquery.ui',
368391 ),
369392 'jquery.effects.fold' => array(
370393 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
371394 'dependencies' => 'jquery.effects.core',
 395+ 'group' => 'jquery.ui',
372396 ),
373397 'jquery.effects.highlight' => array(
374398 'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
375399 'dependencies' => 'jquery.effects.core',
 400+ 'group' => 'jquery.ui',
376401 ),
377402 'jquery.effects.pulsate' => array(
378403 'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
379404 'dependencies' => 'jquery.effects.core',
 405+ 'group' => 'jquery.ui',
380406 ),
381407 'jquery.effects.scale' => array(
382408 'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
383409 'dependencies' => 'jquery.effects.core',
 410+ 'group' => 'jquery.ui',
384411 ),
385412 'jquery.effects.shake' => array(
386413 'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
387414 'dependencies' => 'jquery.effects.core',
 415+ 'group' => 'jquery.ui',
388416 ),
389417 'jquery.effects.slide' => array(
390418 'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
391419 'dependencies' => 'jquery.effects.core',
 420+ 'group' => 'jquery.ui',
392421 ),
393422 'jquery.effects.transfer' => array(
394423 'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
395424 'dependencies' => 'jquery.effects.core',
 425+ 'group' => 'jquery.ui',
396426 ),
397427
398428 /* MediaWiki */

Status & tagging log