r70365 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70364‎ | r70365 | r70366 >
Date:22:41, 2 August 2010
Author:tparscal
Status:ok
Tags:
Comment:
Removed jquery.ui.all.css since we are doing everything piecemeal, removed some unused module-level references to jquery.ui.datepicker i18n files. Also added the rest of the style references for jquery.ui.* stuff
Modified paths:
  • /branches/resourceloader/phase3/resources/Resources.php (modified) (history)
  • /branches/resourceloader/phase3/resources/jquery/ui/themes/base/jquery.ui.all.css (deleted) (history)

Diff [purge]

Index: branches/resourceloader/phase3/resources/jquery/ui/themes/base/jquery.ui.all.css
@@ -1,2 +0,0 @@
2 -@import "jquery.ui.base.css";
3 -@import "jquery.ui.theme.css";
Index: branches/resourceloader/phase3/resources/Resources.php
@@ -26,14 +26,32 @@
2727 ),
2828 'jquery.ui.accordion' => array(
2929 'script' => 'resources/jquery/ui/jquery.ui.accordion.js',
 30+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.accordion.css',
 31+ 'themes' => array(
 32+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.accordion.css',
 33+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.accordion.css',
 34+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.accordion.css',
 35+ ),
3036 'needs' => array( 'jquery.ui.core' ),
3137 ),
3238 'jquery.ui.autocomplete' => array(
3339 'script' => 'resources/jquery/ui/jquery.ui.autocomplete.js',
 40+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.autocomplete.css',
 41+ 'themes' => array(
 42+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.autocomplete.css',
 43+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.autocomplete.css',
 44+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.autocomplete.css',
 45+ ),
3446 'needs' => array( 'jquery.ui.core' ),
3547 ),
3648 'jquery.ui.button' => array(
3749 'script' => 'resources/jquery/ui/jquery.ui.button.js',
 50+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.button.css',
 51+ 'themes' => array(
 52+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.button.css',
 53+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.button.css',
 54+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.button.css',
 55+ ),
3856 'needs' => array( 'jquery.ui.core' ),
3957 ),
4058 'jquery.ui.datepicker' => array(
@@ -102,6 +120,12 @@
103121 ),
104122 'jquery.ui.dialog' => array(
105123 'script' => 'resources/jquery/ui/jquery.ui.dialog.js',
 124+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.dialog.css',
 125+ 'themes' => array(
 126+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css',
 127+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css',
 128+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.dialog.css',
 129+ ),
106130 'needs' => array( 'jquery.ui.core' ),
107131 ),
108132 'jquery.ui.draggable' => array(
@@ -122,18 +146,42 @@
123147 ),
124148 'jquery.ui.progressbar' => array(
125149 'script' => 'resources/jquery/ui/jquery.ui.progressbar.js',
 150+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.progressbar.css',
 151+ 'themes' => array(
 152+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.progressbar.css',
 153+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.progressbar.css',
 154+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.progressbar.css',
 155+ ),
126156 'needs' => array( 'jquery.ui.core' ),
127157 ),
128158 'jquery.ui.resizable' => array(
129159 'script' => 'resources/jquery/ui/jquery.ui.resizable.js',
 160+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.resizable.css',
 161+ 'themes' => array(
 162+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.resizable.css',
 163+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.resizable.css',
 164+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.resizable.css',
 165+ ),
130166 'needs' => array( 'jquery.ui.core' ),
131167 ),
132168 'jquery.ui.selectable' => array(
133169 'script' => 'resources/jquery/ui/jquery.ui.selectable.js',
 170+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.selectable.css',
 171+ 'themes' => array(
 172+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.selectable.css',
 173+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.selectable.css',
 174+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.selectable.css',
 175+ ),
134176 'needs' => array( 'jquery.ui.core' ),
135177 ),
136178 'jquery.ui.slider' => array(
137179 'script' => 'resources/jquery/ui/jquery.ui.slider.js',
 180+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.slider.css',
 181+ 'themes' => array(
 182+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css',
 183+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css',
 184+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.slider.css',
 185+ ),
138186 'needs' => array( 'jquery.ui.core' ),
139187 ),
140188 'jquery.ui.sortable' => array(
@@ -142,221 +190,18 @@
143191 ),
144192 'jquery.ui.tabs' => array(
145193 'script' => 'resources/jquery/ui/jquery.ui.tabs.js',
 194+ 'style' => 'resources/jquery/ui/themes/base/jquery.ui.tabs.css',
 195+ 'themes' => array(
 196+ 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css',
 197+ 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css',
 198+ 'monobook' => 'resources/jquery/ui/themes/monobook/jquery.ui.tabs.css',
 199+ ),
146200 'needs' => array( 'jquery.ui.core' ),
147201 ),
148202 'jquery.ui.widget' => array(
149203 'script' => 'resources/jquery/ui/jquery.ui.widget.js',
150204 'needs' => array( 'jquery.ui.core' ),
151205 ),
152 - // i18n
153 - 'jquery.ui.datepicker-af' => array(
154 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-af.js',
155 - 'needs' => array( 'jquery.ui.datepicker' ),
156 - ),
157 - 'jquery.ui.datepicker-ar' => array(
158 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ar.js',
159 - 'needs' => array( 'jquery.ui.datepicker' ),
160 - ),
161 - 'jquery.ui.datepicker-az' => array(
162 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-az.js',
163 - 'needs' => array( 'jquery.ui.datepicker' ),
164 - ),
165 - 'jquery.ui.datepicker-bg' => array(
166 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-bg.js',
167 - 'needs' => array( 'jquery.ui.datepicker' ),
168 - ),
169 - 'jquery.ui.datepicker-bs' => array(
170 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-bs.js',
171 - 'needs' => array( 'jquery.ui.datepicker' ),
172 - ),
173 - 'jquery.ui.datepicker-ca' => array(
174 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ca.js',
175 - 'needs' => array( 'jquery.ui.datepicker' ),
176 - ),
177 - 'jquery.ui.datepicker-cs' => array(
178 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-cs.js',
179 - 'needs' => array( 'jquery.ui.datepicker' ),
180 - ),
181 - 'jquery.ui.datepicker-da' => array(
182 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-da.js',
183 - 'needs' => array( 'jquery.ui.datepicker' ),
184 - ),
185 - 'jquery.ui.datepicker-de' => array(
186 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-de.js',
187 - 'needs' => array( 'jquery.ui.datepicker' ),
188 - ),
189 - 'jquery.ui.datepicker-el' => array(
190 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-el.js',
191 - 'needs' => array( 'jquery.ui.datepicker' ),
192 - ),
193 - 'jquery.ui.datepicker-en-GB' => array(
194 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-en-GB.js',
195 - 'needs' => array( 'jquery.ui.datepicker' ),
196 - ),
197 - 'jquery.ui.datepicker-eo' => array(
198 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-eo.js',
199 - 'needs' => array( 'jquery.ui.datepicker' ),
200 - ),
201 - 'jquery.ui.datepicker-es' => array(
202 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-es.js',
203 - 'needs' => array( 'jquery.ui.datepicker' ),
204 - ),
205 - 'jquery.ui.datepicker-et' => array(
206 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-et.js',
207 - 'needs' => array( 'jquery.ui.datepicker' ),
208 - ),
209 - 'jquery.ui.datepicker-eu' => array(
210 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-eu.js',
211 - 'needs' => array( 'jquery.ui.datepicker' ),
212 - ),
213 - 'jquery.ui.datepicker-fa' => array(
214 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-fa.js',
215 - 'needs' => array( 'jquery.ui.datepicker' ),
216 - ),
217 - 'jquery.ui.datepicker-fi' => array(
218 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-fi.js',
219 - 'needs' => array( 'jquery.ui.datepicker' ),
220 - ),
221 - 'jquery.ui.datepicker-fo' => array(
222 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-fo.js',
223 - 'needs' => array( 'jquery.ui.datepicker' ),
224 - ),
225 - 'jquery.ui.datepicker-fr-CH' => array(
226 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-fr-CH.js',
227 - 'needs' => array( 'jquery.ui.datepicker' ),
228 - ),
229 - 'jquery.ui.datepicker-fr' => array(
230 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-fr.js',
231 - 'needs' => array( 'jquery.ui.datepicker' ),
232 - ),
233 - 'jquery.ui.datepicker-he' => array(
234 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-he.js',
235 - 'needs' => array( 'jquery.ui.datepicker' ),
236 - ),
237 - 'jquery.ui.datepicker-hr' => array(
238 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-hr.js',
239 - 'needs' => array( 'jquery.ui.datepicker' ),
240 - ),
241 - 'jquery.ui.datepicker-hu' => array(
242 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-hu.js',
243 - 'needs' => array( 'jquery.ui.datepicker' ),
244 - ),
245 - 'jquery.ui.datepicker-hy' => array(
246 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-hy.js',
247 - 'needs' => array( 'jquery.ui.datepicker' ),
248 - ),
249 - 'jquery.ui.datepicker-id' => array(
250 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-id.js',
251 - 'needs' => array( 'jquery.ui.datepicker' ),
252 - ),
253 - 'jquery.ui.datepicker-is' => array(
254 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-is.js',
255 - 'needs' => array( 'jquery.ui.datepicker' ),
256 - ),
257 - 'jquery.ui.datepicker-it' => array(
258 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-it.js',
259 - 'needs' => array( 'jquery.ui.datepicker' ),
260 - ),
261 - 'jquery.ui.datepicker-ja' => array(
262 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ja.js',
263 - 'needs' => array( 'jquery.ui.datepicker' ),
264 - ),
265 - 'jquery.ui.datepicker-ko' => array(
266 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ko.js',
267 - 'needs' => array( 'jquery.ui.datepicker' ),
268 - ),
269 - 'jquery.ui.datepicker-lt' => array(
270 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-lt.js',
271 - 'needs' => array( 'jquery.ui.datepicker' ),
272 - ),
273 - 'jquery.ui.datepicker-lv' => array(
274 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-lv.js',
275 - 'needs' => array( 'jquery.ui.datepicker' ),
276 - ),
277 - 'jquery.ui.datepicker-ms' => array(
278 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ms.js',
279 - 'needs' => array( 'jquery.ui.datepicker' ),
280 - ),
281 - 'jquery.ui.datepicker-nl' => array(
282 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-nl.js',
283 - 'needs' => array( 'jquery.ui.datepicker' ),
284 - ),
285 - 'jquery.ui.datepicker-no' => array(
286 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-no.js',
287 - 'needs' => array( 'jquery.ui.datepicker' ),
288 - ),
289 - 'jquery.ui.datepicker-pl' => array(
290 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-pl.js',
291 - 'needs' => array( 'jquery.ui.datepicker' ),
292 - ),
293 - 'jquery.ui.datepicker-pt-BR' => array(
294 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-pt-BR.js',
295 - 'needs' => array( 'jquery.ui.datepicker' ),
296 - ),
297 - 'jquery.ui.datepicker-ro' => array(
298 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ro.js',
299 - 'needs' => array( 'jquery.ui.datepicker' ),
300 - ),
301 - 'jquery.ui.datepicker-ru' => array(
302 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ru.js',
303 - 'needs' => array( 'jquery.ui.datepicker' ),
304 - ),
305 - 'jquery.ui.datepicker-sk' => array(
306 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-sk.js',
307 - 'needs' => array( 'jquery.ui.datepicker' ),
308 - ),
309 - 'jquery.ui.datepicker-sl' => array(
310 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-sl.js',
311 - 'needs' => array( 'jquery.ui.datepicker' ),
312 - ),
313 - 'jquery.ui.datepicker-sq' => array(
314 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-sq.js',
315 - 'needs' => array( 'jquery.ui.datepicker' ),
316 - ),
317 - 'jquery.ui.datepicker-sr-SR' => array(
318 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-sr-SR.js',
319 - 'needs' => array( 'jquery.ui.datepicker' ),
320 - ),
321 - 'jquery.ui.datepicker-sr' => array(
322 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-sr.js',
323 - 'needs' => array( 'jquery.ui.datepicker' ),
324 - ),
325 - 'jquery.ui.datepicker-sv' => array(
326 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-sv.js',
327 - 'needs' => array( 'jquery.ui.datepicker' ),
328 - ),
329 - 'jquery.ui.datepicker-ta' => array(
330 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-ta.js',
331 - 'needs' => array( 'jquery.ui.datepicker' ),
332 - ),
333 - 'jquery.ui.datepicker-th' => array(
334 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-th.js',
335 - 'needs' => array( 'jquery.ui.datepicker' ),
336 - ),
337 - 'jquery.ui.datepicker-tr' => array(
338 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-tr.js',
339 - 'needs' => array( 'jquery.ui.datepicker' ),
340 - ),
341 - 'jquery.ui.datepicker-uk' => array(
342 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-uk.js',
343 - 'needs' => array( 'jquery.ui.datepicker' ),
344 - ),
345 - 'jquery.ui.datepicker-vi' => array(
346 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-vi.js',
347 - 'needs' => array( 'jquery.ui.datepicker' ),
348 - ),
349 - 'jquery.ui.datepicker-zh-CN' => array(
350 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-zh-CN.js',
351 - 'needs' => array( 'jquery.ui.datepicker' ),
352 - ),
353 - 'jquery.ui.datepicker-zh-HK' => array(
354 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-zh-HK.js',
355 - 'needs' => array( 'jquery.ui.datepicker' ),
356 - ),
357 - 'jquery.ui.datepicker-zh-TW' => array(
358 - 'script' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-zh-TW.js',
359 - 'needs' => array( 'jquery.ui.datepicker' ),
360 - ),
361206 // Effects
362207 'jquery.effects.blind' => array(
363208 'script' => 'resources/jquery/effects/jquery.effects.blind.js',

Status & tagging log