r70389 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70388‎ | r70389 | r70390 >
Date:17:18, 3 August 2010
Author:tparscal
Status:ok
Tags:
Comment:
Updated dependencies based on information at http://jqueryui.com/demos/
Modified paths:
  • /branches/resourceloader/phase3/resources/Resources.php (modified) (history)

Diff [purge]

Index: branches/resourceloader/phase3/resources/Resources.php
@@ -28,11 +28,11 @@
2929 ),
3030 'jquery.ui.mouse' => array(
3131 'script' => 'resources/jquery/ui/jquery.ui.mouse.js',
32 - 'needs' => array( 'jquery.ui.core' ),
 32+ 'needs' => array( 'jquery' ),
3333 ),
3434 'jquery.ui.position' => array(
3535 'script' => 'resources/jquery/ui/jquery.ui.position.js',
36 - 'needs' => array( 'jquery.ui.core' ),
 36+ 'needs' => array( 'jquery' ),
3737 ),
3838 // Interactions
3939 'jquery.ui.draggable' => array(
@@ -41,7 +41,7 @@
4242 ),
4343 'jquery.ui.droppable' => array(
4444 'script' => 'resources/jquery/ui/jquery.ui.droppable.js',
45 - 'needs' => array( 'jquery.ui.core' ),
 45+ 'needs' => array( 'jquery.ui.core', 'jquery.ui.draggable' ),
4646 ),
4747 'jquery.ui.resizable' => array(
4848 'script' => 'resources/jquery/ui/jquery.ui.resizable.js',
@@ -66,7 +66,7 @@
6767 // Widgets
6868 'jquery.ui.accordion' => array(
6969 'script' => 'resources/jquery/ui/jquery.ui.accordion.js',
70 - 'needs' => array( 'jquery.ui.widget' ),
 70+ 'needs' => array( 'jquery.ui.core' ),
7171 'themes' => array(
7272 'default' => 'resources/jquery/ui/themes/default/jquery.ui.accordion.css',
7373 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.accordion.css',
@@ -74,7 +74,7 @@
7575 ),
7676 'jquery.ui.autocomplete' => array(
7777 'script' => 'resources/jquery/ui/jquery.ui.autocomplete.js',
78 - 'needs' => array( 'jquery.ui.widget' ),
 78+ 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
7979 'themes' => array(
8080 'default' => 'resources/jquery/ui/themes/default/jquery.ui.autocomplete.css',
8181 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.autocomplete.css',
@@ -82,39 +82,15 @@
8383 ),
8484 'jquery.ui.button' => array(
8585 'script' => 'resources/jquery/ui/jquery.ui.button.js',
86 - 'needs' => array( 'jquery.ui.widget' ),
 86+ 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
8787 'themes' => array(
8888 'default' => 'resources/jquery/ui/themes/default/jquery.ui.button.css',
8989 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.button.css',
9090 ),
9191 ),
92 - 'jquery.ui.dialog' => array(
93 - 'script' => 'resources/jquery/ui/jquery.ui.dialog.js',
94 - 'needs' => array( 'jquery.ui.widget' ),
95 - 'themes' => array(
96 - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css',
97 - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css',
98 - ),
99 - ),
100 - 'jquery.ui.slider' => array(
101 - 'script' => 'resources/jquery/ui/jquery.ui.slider.js',
102 - 'needs' => array( 'jquery.ui.widget' ),
103 - 'themes' => array(
104 - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css',
105 - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css',
106 - ),
107 - ),
108 - 'jquery.ui.tabs' => array(
109 - 'script' => 'resources/jquery/ui/jquery.ui.tabs.js',
110 - 'needs' => array( 'jquery.ui.widget' ),
111 - 'themes' => array(
112 - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css',
113 - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css',
114 - ),
115 - ),
11692 'jquery.ui.datepicker' => array(
11793 'script' => 'resources/jquery/ui/jquery.ui.datepicker.js',
118 - 'needs' => array( 'jquery.ui.widget' ),
 94+ 'needs' => array( 'jquery.ui.core' ),
11995 'themes' => array(
12096 'default' => 'resources/jquery/ui/themes/default/jquery.ui.datepicker.css',
12197 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.datepicker.css',
@@ -174,14 +150,38 @@
175151 'zh-tw' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-zh-TW.js'
176152 ),
177153 ),
 154+ 'jquery.ui.dialog' => array(
 155+ 'script' => 'resources/jquery/ui/jquery.ui.dialog.js',
 156+ 'needs' => array( 'jquery.ui.core' ),
 157+ 'themes' => array(
 158+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css',
 159+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css',
 160+ ),
 161+ ),
178162 'jquery.ui.progressbar' => array(
179163 'script' => 'resources/jquery/ui/jquery.ui.progressbar.js',
180 - 'needs' => array( 'jquery.ui.widget' ),
 164+ 'needs' => array( 'jquery.ui.core' ),
181165 'themes' => array(
182166 'default' => 'resources/jquery/ui/themes/default/jquery.ui.progressbar.css',
183167 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.progressbar.css',
184168 ),
185169 ),
 170+ 'jquery.ui.slider' => array(
 171+ 'script' => 'resources/jquery/ui/jquery.ui.slider.js',
 172+ 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
 173+ 'themes' => array(
 174+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css',
 175+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css',
 176+ ),
 177+ ),
 178+ 'jquery.ui.tabs' => array(
 179+ 'script' => 'resources/jquery/ui/jquery.ui.tabs.js',
 180+ 'needs' => array( 'jquery.ui.core' ),
 181+ 'themes' => array(
 182+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css',
 183+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css',
 184+ ),
 185+ ),
186186 // Effects
187187 'jquery.effects.core' => array(
188188 'script' => 'resources/jquery/effects/jquery.effects.core.js',

Status & tagging log