r70374 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70373‎ | r70374 | r70375 >
Date:23:45, 2 August 2010
Author:tparscal
Status:ok
Tags:
Comment:
Fixed jquery.ui dependencies
Modified paths:
  • /branches/resourceloader/phase3/resources/Resources.php (modified) (history)

Diff [purge]

Index: branches/resourceloader/phase3/resources/Resources.php
@@ -13,7 +13,7 @@
1414
1515 /* jQuery UI */
1616
17 - // Components
 17+ // Core
1818 'jquery.ui.core' => array(
1919 'script' => 'resources/jquery/ui/jquery.ui.core.js',
2020 'themes' => array(
@@ -22,33 +22,99 @@
2323 ),
2424 'needs' => array( 'jquery' ),
2525 ),
 26+ 'jquery.ui.widget' => array(
 27+ 'script' => 'resources/jquery/ui/jquery.ui.widget.js',
 28+ 'needs' => array( 'jquery.ui.core' ),
 29+ ),
 30+ 'jquery.ui.mouse' => array(
 31+ 'script' => 'resources/jquery/ui/jquery.ui.mouse.js',
 32+ 'needs' => array( 'jquery.ui.core' ),
 33+ ),
 34+ 'jquery.ui.position' => array(
 35+ 'script' => 'resources/jquery/ui/jquery.ui.position.js',
 36+ 'needs' => array( 'jquery.ui.core' ),
 37+ ),
 38+ // Interactions
 39+ 'jquery.ui.draggable' => array(
 40+ 'script' => 'resources/jquery/ui/jquery.ui.draggable.js',
 41+ 'needs' => array( 'jquery.ui.core' ),
 42+ ),
 43+ 'jquery.ui.droppable' => array(
 44+ 'script' => 'resources/jquery/ui/jquery.ui.droppable.js',
 45+ 'needs' => array( 'jquery.ui.core' ),
 46+ ),
 47+ 'jquery.ui.resizable' => array(
 48+ 'script' => 'resources/jquery/ui/jquery.ui.resizable.js',
 49+ 'themes' => array(
 50+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.resizable.css',
 51+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.resizable.css',
 52+ ),
 53+ 'needs' => array( 'jquery.ui.core' ),
 54+ ),
 55+ 'jquery.ui.selectable' => array(
 56+ 'script' => 'resources/jquery/ui/jquery.ui.selectable.js',
 57+ 'themes' => array(
 58+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.selectable.css',
 59+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.selectable.css',
 60+ ),
 61+ 'needs' => array( 'jquery.ui.core' ),
 62+ ),
 63+ 'jquery.ui.sortable' => array(
 64+ 'script' => 'resources/jquery/ui/jquery.ui.sortable.js',
 65+ 'needs' => array( 'jquery.ui.core' ),
 66+ ),
 67+ // Widgets
2668 'jquery.ui.accordion' => array(
2769 'script' => 'resources/jquery/ui/jquery.ui.accordion.js',
 70+ 'needs' => array( 'jquery.ui.widget' ),
2871 'themes' => array(
2972 'default' => 'resources/jquery/ui/themes/default/jquery.ui.accordion.css',
3073 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.accordion.css',
3174 ),
32 - 'needs' => array( 'jquery.ui.core' ),
3375 ),
3476 'jquery.ui.autocomplete' => array(
3577 'script' => 'resources/jquery/ui/jquery.ui.autocomplete.js',
 78+ 'needs' => array( 'jquery.ui.widget' ),
3679 'themes' => array(
3780 'default' => 'resources/jquery/ui/themes/default/jquery.ui.autocomplete.css',
3881 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.autocomplete.css',
3982 ),
40 - 'needs' => array( 'jquery.ui.core' ),
4183 ),
4284 'jquery.ui.button' => array(
4385 'script' => 'resources/jquery/ui/jquery.ui.button.js',
 86+ 'needs' => array( 'jquery.ui.widget' ),
4487 'themes' => array(
4588 'default' => 'resources/jquery/ui/themes/default/jquery.ui.button.css',
4689 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.button.css',
4790 ),
48 - 'needs' => array( 'jquery.ui.core' ),
4991 ),
 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+ ),
50116 'jquery.ui.datepicker' => array(
51117 'script' => 'resources/jquery/ui/jquery.ui.datepicker.js',
52 - 'needs' => array( 'jquery.ui.core' ),
 118+ 'needs' => array( 'jquery.ui.widget' ),
53119 'themes' => array(
54120 'default' => 'resources/jquery/ui/themes/default/jquery.ui.datepicker.css',
55121 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.datepicker.css',
@@ -108,130 +174,66 @@
109175 'zh-tw' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-zh-TW.js'
110176 ),
111177 ),
112 - 'jquery.ui.dialog' => array(
113 - 'script' => 'resources/jquery/ui/jquery.ui.dialog.js',
114 - 'themes' => array(
115 - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css',
116 - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css',
117 - ),
118 - 'needs' => array( 'jquery.ui.core' ),
119 - ),
120 - 'jquery.ui.draggable' => array(
121 - 'script' => 'resources/jquery/ui/jquery.ui.draggable.js',
122 - 'needs' => array( 'jquery.ui.core' ),
123 - ),
124 - 'jquery.ui.droppable' => array(
125 - 'script' => 'resources/jquery/ui/jquery.ui.droppable.js',
126 - 'needs' => array( 'jquery.ui.core' ),
127 - ),
128 - 'jquery.ui.mouse' => array(
129 - 'script' => 'resources/jquery/ui/jquery.ui.mouse.js',
130 - 'needs' => array( 'jquery.ui.core' ),
131 - ),
132 - 'jquery.ui.position' => array(
133 - 'script' => 'resources/jquery/ui/jquery.ui.position.js',
134 - 'needs' => array( 'jquery.ui.core' ),
135 - ),
136178 'jquery.ui.progressbar' => array(
137179 'script' => 'resources/jquery/ui/jquery.ui.progressbar.js',
 180+ 'needs' => array( 'jquery.ui.widget' ),
138181 'themes' => array(
139182 'default' => 'resources/jquery/ui/themes/default/jquery.ui.progressbar.css',
140183 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.progressbar.css',
141184 ),
142 - 'needs' => array( 'jquery.ui.core' ),
143185 ),
144 - 'jquery.ui.resizable' => array(
145 - 'script' => 'resources/jquery/ui/jquery.ui.resizable.js',
146 - 'themes' => array(
147 - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.resizable.css',
148 - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.resizable.css',
149 - ),
150 - 'needs' => array( 'jquery.ui.core' ),
 186+ // Effects
 187+ 'jquery.effects.core' => array(
 188+ 'script' => 'resources/jquery/effects/jquery.effects.core.js',
 189+ 'needs' => array( 'jquery' ),
151190 ),
152 - 'jquery.ui.selectable' => array(
153 - 'script' => 'resources/jquery/ui/jquery.ui.selectable.js',
154 - 'themes' => array(
155 - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.selectable.css',
156 - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.selectable.css',
157 - ),
158 - 'needs' => array( 'jquery.ui.core' ),
159 - ),
160 - 'jquery.ui.slider' => array(
161 - 'script' => 'resources/jquery/ui/jquery.ui.slider.js',
162 - 'themes' => array(
163 - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css',
164 - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css',
165 - ),
166 - 'needs' => array( 'jquery.ui.core' ),
167 - ),
168 - 'jquery.ui.sortable' => array(
169 - 'script' => 'resources/jquery/ui/jquery.ui.sortable.js',
170 - 'needs' => array( 'jquery.ui.core' ),
171 - ),
172 - 'jquery.ui.tabs' => array(
173 - 'script' => 'resources/jquery/ui/jquery.ui.tabs.js',
174 - 'themes' => array(
175 - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css',
176 - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css',
177 - ),
178 - 'needs' => array( 'jquery.ui.core' ),
179 - ),
180 - 'jquery.ui.widget' => array(
181 - 'script' => 'resources/jquery/ui/jquery.ui.widget.js',
182 - 'needs' => array( 'jquery.ui.core' ),
183 - ),
184 - // Effects
185191 'jquery.effects.blind' => array(
186192 'script' => 'resources/jquery/effects/jquery.effects.blind.js',
187 - 'needs' => array( 'jquery' ),
 193+ 'needs' => array( 'jquery.effects.core' ),
188194 ),
189195 'jquery.effects.bounce' => array(
190196 'script' => 'resources/jquery/effects/jquery.effects.bounce.js',
191 - 'needs' => array( 'jquery' ),
 197+ 'needs' => array( 'jquery.effects.core' ),
192198 ),
193199 'jquery.effects.clip' => array(
194200 'script' => 'resources/jquery/effects/jquery.effects.clip.js',
195 - 'needs' => array( 'jquery' ),
 201+ 'needs' => array( 'jquery.effects.core' ),
196202 ),
197 - 'jquery.effects.core' => array(
198 - 'script' => 'resources/jquery/effects/jquery.effects.core.js',
199 - 'needs' => array( 'jquery' ),
200 - ),
201203 'jquery.effects.drop' => array(
202204 'script' => 'resources/jquery/effects/jquery.effects.drop.js',
203 - 'needs' => array( 'jquery' ),
 205+ 'needs' => array( 'jquery.effects.core' ),
204206 ),
205207 'jquery.effects.explode' => array(
206208 'script' => 'resources/jquery/effects/jquery.effects.explode.js',
207 - 'needs' => array( 'jquery' ),
 209+ 'needs' => array( 'jquery.effects.core' ),
208210 ),
209211 'jquery.effects.fold' => array(
210212 'script' => 'resources/jquery/effects/jquery.effects.fold.js',
211 - 'needs' => array( 'jquery' ),
 213+ 'needs' => array( 'jquery.effects.core' ),
212214 ),
213215 'jquery.effects.highlight' => array(
214216 'script' => 'resources/jquery/effects/jquery.effects.highlight.js',
215 - 'needs' => array( 'jquery' ),
 217+ 'needs' => array( 'jquery.effects.core' ),
216218 ),
217219 'jquery.effects.pulsate' => array(
218220 'script' => 'resources/jquery/effects/jquery.effects.pulsate.js',
219 - 'needs' => array( 'jquery' ),
 221+ 'needs' => array( 'jquery.effects.core' ),
220222 ),
221223 'jquery.effects.scale' => array(
222224 'script' => 'resources/jquery/effects/jquery.effects.scale.js',
223 - 'needs' => array( 'jquery' ),
 225+ 'needs' => array( 'jquery.effects.core' ),
224226 ),
225227 'jquery.effects.shake' => array(
226228 'script' => 'resources/jquery/effects/jquery.effects.shake.js',
227 - 'needs' => array( 'jquery' ),
 229+ 'needs' => array( 'jquery.effects.core' ),
228230 ),
229231 'jquery.effects.slide' => array(
230232 'script' => 'resources/jquery/effects/jquery.effects.slide.js',
231 - 'needs' => array( 'jquery' ),
 233+ 'needs' => array( 'jquery.effects.core' ),
232234 ),
233235 'jquery.effects.transfer' => array(
234236 'script' => 'resources/jquery/effects/jquery.effects.transfer.js',
235 - 'needs' => array( 'jquery' ),
 237+ 'needs' => array( 'jquery.effects.core' ),
236238 ),
237239
238240 /* MediaWiki */

Status & tagging log