Localisation updates from http://translatewiki.net.
[mediawiki.git] / resources / Resources.php
blob2855f9ab7b56f2ef3bc8185ba6b97bbd814a3918
1 <?php
3 return array(
5 /* Special modules who have their own classes */
7 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
8 'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
9 'noscript' => array( 'class' => 'ResourceLoaderNoscriptModule' ),
10 'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
11 'filepage' => array( 'class' => 'ResourceLoaderFilePageModule' ),
12 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
14 // Scripts managed by the current user (stored in their user space)
15 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
17 // Scripts generated based on the current user's preferences
18 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
20 // Populate mediawiki.user placeholders with information about the current user
21 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
22 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
24 // Scripts for the dynamic language specific data, like grammar forms.
25 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
27 /* Skins */
29 'skins.chick' => array(
30 'styles' => array( 'chick/main.css' => array( 'media' => 'screen, handheld' ) ),
31 'remoteBasePath' => $GLOBALS['wgStylePath'],
32 'localBasePath' => $GLOBALS['wgStyleDirectory'],
34 'skins.cologneblue' => array(
35 'styles' => array( 'cologneblue/screen.css' => array( 'media' => 'screen' ) ),
36 'remoteBasePath' => $GLOBALS['wgStylePath'],
37 'localBasePath' => $GLOBALS['wgStyleDirectory'],
39 'skins.modern' => array(
40 'styles' => array(
41 'modern/main.css' => array( 'media' => 'screen' ),
42 'modern/print.css' => array( 'media' => 'print' ),
44 'remoteBasePath' => $GLOBALS['wgStylePath'],
45 'localBasePath' => $GLOBALS['wgStyleDirectory'],
47 'skins.monobook' => array(
48 'styles' => array(
49 'common/commonElements.css' => array( 'media' => 'screen' ),
50 'common/commonContent.css' => array( 'media' => 'screen' ),
51 'common/commonInterface.css' => array( 'media' => 'screen' ),
52 'monobook/main.css' => array( 'media' => 'screen' ),
54 'remoteBasePath' => $GLOBALS['wgStylePath'],
55 'localBasePath' => $GLOBALS['wgStyleDirectory'],
57 'skins.nostalgia' => array(
58 'styles' => array( 'nostalgia/screen.css' => array( 'media' => 'screen' ) ),
59 'remoteBasePath' => $GLOBALS['wgStylePath'],
60 'localBasePath' => $GLOBALS['wgStyleDirectory'],
62 'skins.simple' => array(
63 'styles' => array( 'simple/main.css' => array( 'media' => 'screen' ) ),
64 'remoteBasePath' => $GLOBALS['wgStylePath'],
65 'localBasePath' => $GLOBALS['wgStyleDirectory'],
67 'skins.standard' => array(
68 'styles' => array( 'standard/main.css' => array( 'media' => 'screen' ) ),
69 'remoteBasePath' => $GLOBALS['wgStylePath'],
70 'localBasePath' => $GLOBALS['wgStyleDirectory'],
72 'skins.vector' => array(
73 'styles' => array(
74 'common/commonElements.css' => array( 'media' => 'screen' ),
75 'common/commonContent.css' => array( 'media' => 'screen' ),
76 'common/commonInterface.css' => array( 'media' => 'screen' ),
77 'vector/screen.css' => array( 'media' => 'screen' ),
79 'scripts' => 'vector/vector.js',
80 'remoteBasePath' => $GLOBALS['wgStylePath'],
81 'localBasePath' => $GLOBALS['wgStyleDirectory'],
84 /* jQuery */
86 'jquery' => array(
87 'scripts' => 'resources/jquery/jquery.js',
88 'debugRaw' => false,
91 /* jQuery Plugins */
93 'jquery.appear' => array(
94 'scripts' => 'resources/jquery/jquery.appear.js',
96 'jquery.arrowSteps' => array(
97 'scripts' => 'resources/jquery/jquery.arrowSteps.js',
98 'styles' => 'resources/jquery/jquery.arrowSteps.css',
100 'jquery.async' => array(
101 'scripts' => 'resources/jquery/jquery.async.js',
103 'jquery.autoEllipsis' => array(
104 'scripts' => 'resources/jquery/jquery.autoEllipsis.js',
105 'dependencies' => 'jquery.highlightText',
107 'jquery.byteLength' => array(
108 'scripts' => 'resources/jquery/jquery.byteLength.js',
110 'jquery.byteLimit' => array(
111 'scripts' => 'resources/jquery/jquery.byteLimit.js',
112 'dependencies' => 'jquery.byteLength',
114 'jquery.checkboxShiftClick' => array(
115 'scripts' => 'resources/jquery/jquery.checkboxShiftClick.js',
117 'jquery.client' => array(
118 'scripts' => 'resources/jquery/jquery.client.js',
120 'jquery.collapsibleTabs' => array(
121 'scripts' => 'resources/jquery/jquery.collapsibleTabs.js',
123 'jquery.color' => array(
124 'scripts' => 'resources/jquery/jquery.color.js',
125 'dependencies' => 'jquery.colorUtil',
127 'jquery.colorUtil' => array(
128 'scripts' => 'resources/jquery/jquery.colorUtil.js',
130 'jquery.cookie' => array(
131 'scripts' => 'resources/jquery/jquery.cookie.js',
133 'jquery.delayedBind' => array(
134 'scripts' => 'resources/jquery/jquery.delayedBind.js',
136 'jquery.expandableField' => array(
137 'scripts' => 'resources/jquery/jquery.expandableField.js',
138 'dependencies' => 'jquery.delayedBind',
140 'jquery.farbtastic' => array(
141 'scripts' => 'resources/jquery/jquery.farbtastic.js',
142 'styles' => 'resources/jquery/jquery.farbtastic.css',
143 'dependencies' => 'jquery.colorUtil',
145 'jquery.footHovzer' => array(
146 'scripts' => 'resources/jquery/jquery.footHovzer.js',
147 'styles' => 'resources/jquery/jquery.footHovzer.css',
149 'jquery.form' => array(
150 'scripts' => 'resources/jquery/jquery.form.js',
152 'jquery.getAttrs' => array(
153 'scripts' => 'resources/jquery/jquery.getAttrs.js',
155 'jquery.highlightText' => array(
156 'scripts' => 'resources/jquery/jquery.highlightText.js',
158 'jquery.hoverIntent' => array(
159 'scripts' => 'resources/jquery/jquery.hoverIntent.js',
161 'jquery.json' => array(
162 'scripts' => 'resources/jquery/jquery.json.js',
164 'jquery.localize' => array(
165 'scripts' => 'resources/jquery/jquery.localize.js',
167 'jquery.makeCollapsible' => array(
168 'scripts' => 'resources/jquery/jquery.makeCollapsible.js',
169 'styles' => 'resources/jquery/jquery.makeCollapsible.css',
170 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
172 'jquery.messageBox' => array(
173 'scripts' => 'resources/jquery/jquery.messageBox.js',
174 'styles' => 'resources/jquery/jquery.messageBox.css',
176 'jquery.mockjax' => array(
177 'scripts' => 'resources/jquery/jquery.mockjax.js',
179 'jquery.mw-jump' => array(
180 'scripts' => 'resources/jquery/jquery.mw-jump.js',
182 'jquery.mwExtension' => array(
183 'scripts' => 'resources/jquery/jquery.mwExtension.js',
185 'jquery.placeholder' => array(
186 'scripts' => 'resources/jquery/jquery.placeholder.js',
188 'jquery.qunit' => array(
189 'scripts' => 'resources/jquery/jquery.qunit.js',
190 'styles' => 'resources/jquery/jquery.qunit.css',
191 'position' => 'top',
193 'jquery.qunit.completenessTest' => array(
194 'scripts' => 'resources/jquery/jquery.qunit.completenessTest.js',
195 'dependencies' => 'jquery.qunit',
197 'jquery.spinner' => array(
198 'scripts' => 'resources/jquery/jquery.spinner.js',
199 'styles' => 'resources/jquery/jquery.spinner.css',
201 'jquery.suggestions' => array(
202 'scripts' => 'resources/jquery/jquery.suggestions.js',
203 'styles' => 'resources/jquery/jquery.suggestions.css',
204 'dependencies' => 'jquery.autoEllipsis',
206 'jquery.tabIndex' => array(
207 'scripts' => 'resources/jquery/jquery.tabIndex.js',
209 'jquery.tablesorter' => array(
210 'scripts' => 'resources/jquery/jquery.tablesorter.js',
211 'styles' => 'resources/jquery/jquery.tablesorter.css',
212 'messages' => array( 'sort-descending', 'sort-ascending' ),
214 'jquery.textSelection' => array(
215 'scripts' => 'resources/jquery/jquery.textSelection.js',
216 'dependencies' => 'jquery.client',
218 'jquery.validate' => array(
219 'scripts' => 'resources/jquery/jquery.validate.js',
221 'jquery.xmldom' => array(
222 'scripts' => 'resources/jquery/jquery.xmldom.js',
225 /* jQuery Tipsy */
227 'jquery.tipsy' => array(
228 'scripts' => 'resources/jquery.tipsy/jquery.tipsy.js',
229 'styles' => 'resources/jquery.tipsy/jquery.tipsy.css',
232 /* jQuery UI */
234 // Core
235 'jquery.ui.core' => array(
236 'scripts' => 'resources/jquery.ui/jquery.ui.core.js',
237 'skinStyles' => array(
238 'default' => array(
239 'resources/jquery.ui/themes/default/jquery.ui.core.css',
240 'resources/jquery.ui/themes/default/jquery.ui.theme.css',
242 'vector' => array(
243 'resources/jquery.ui/themes/vector/jquery.ui.core.css',
244 'resources/jquery.ui/themes/vector/jquery.ui.theme.css',
247 'dependencies' => 'jquery',
248 'group' => 'jquery.ui',
250 'jquery.ui.widget' => array(
251 'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
252 'group' => 'jquery.ui',
254 'jquery.ui.mouse' => array(
255 'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
256 'dependencies' => 'jquery.ui.widget',
257 'group' => 'jquery.ui',
259 'jquery.ui.position' => array(
260 'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
261 'group' => 'jquery.ui',
263 // Interactions
264 'jquery.ui.draggable' => array(
265 'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
266 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
267 'group' => 'jquery.ui',
269 'jquery.ui.droppable' => array(
270 'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
271 'dependencies' => array(
272 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
274 'group' => 'jquery.ui',
276 'jquery.ui.resizable' => array(
277 'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
278 'skinStyles' => array(
279 'default' => 'resources/jquery.ui/themes/default/jquery.ui.resizable.css',
280 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
282 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
283 'group' => 'jquery.ui',
285 'jquery.ui.selectable' => array(
286 'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
287 'skinStyles' => array(
288 'default' => 'resources/jquery.ui/themes/default/jquery.ui.selectable.css',
289 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
291 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
292 'group' => 'jquery.ui',
294 'jquery.ui.sortable' => array(
295 'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
296 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
297 'group' => 'jquery.ui',
299 // Widgets
300 'jquery.ui.accordion' => array(
301 'scripts' => 'resources/jquery.ui/jquery.ui.accordion.js',
302 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
303 'skinStyles' => array(
304 'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
305 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
307 'group' => 'jquery.ui',
309 'jquery.ui.autocomplete' => array(
310 'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
311 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
312 'skinStyles' => array(
313 'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
314 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
316 'group' => 'jquery.ui',
318 'jquery.ui.button' => array(
319 'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
320 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
321 'skinStyles' => array(
322 'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
323 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
325 'group' => 'jquery.ui',
327 'jquery.ui.datepicker' => array(
328 'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
329 'dependencies' => 'jquery.ui.core',
330 'skinStyles' => array(
331 'default' => 'resources/jquery.ui/themes/default/jquery.ui.datepicker.css',
332 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.datepicker.css',
334 'languageScripts' => array(
335 'af' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-af.js',
336 'ar' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
337 'az' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-az.js',
338 'bg' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
339 'bs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
340 'ca' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
341 'cs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
342 'da' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-da.js',
343 'de' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-de.js',
344 'el' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-el.js',
345 'en-gb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
346 'eo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
347 'es' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-es.js',
348 'et' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-et.js',
349 'eu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
350 'fa' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
351 'fi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
352 'fo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
353 'fr-ch' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
354 'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
355 'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
356 'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
357 'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
358 'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
359 'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
360 'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
361 'id' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-id.js',
362 'is' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-is.js',
363 'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
364 'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
365 'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
366 'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
367 'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
368 'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
369 'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
370 'lv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
371 'mk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
372 'ml' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
373 'ms' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
374 'nl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
375 'no' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-no.js',
376 'pl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
377 'pt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
378 'pt-br' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
379 'rm' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
380 'ro' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
381 'ru' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
382 'sk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
383 'sl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
384 'sq' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
385 'sr-sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
386 'sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
387 'sv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
388 'ta' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
389 'th' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-th.js',
390 'tr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
391 'uk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
392 'vi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
393 'zh-cn' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
394 'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
395 'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
397 'group' => 'jquery.ui',
399 'jquery.ui.dialog' => array(
400 'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
401 'dependencies' => array(
402 'jquery.ui.core',
403 'jquery.ui.widget',
404 'jquery.ui.button',
405 'jquery.ui.draggable',
406 'jquery.ui.mouse',
407 'jquery.ui.position',
408 'jquery.ui.resizable',
410 'skinStyles' => array(
411 'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
412 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
414 'group' => 'jquery.ui',
416 'jquery.ui.progressbar' => array(
417 'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
418 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
419 'skinStyles' => array(
420 'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
421 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
423 'group' => 'jquery.ui',
425 'jquery.ui.slider' => array(
426 'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
427 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
428 'skinStyles' => array(
429 'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
430 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
432 'group' => 'jquery.ui',
434 'jquery.ui.tabs' => array(
435 'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
436 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
437 'skinStyles' => array(
438 'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
439 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
441 'group' => 'jquery.ui',
443 // Effects
444 'jquery.effects.core' => array(
445 'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
446 'dependencies' => 'jquery',
447 'group' => 'jquery.ui',
449 'jquery.effects.blind' => array(
450 'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
451 'dependencies' => 'jquery.effects.core',
452 'group' => 'jquery.ui',
454 'jquery.effects.bounce' => array(
455 'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
456 'dependencies' => 'jquery.effects.core',
457 'group' => 'jquery.ui',
459 'jquery.effects.clip' => array(
460 'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
461 'dependencies' => 'jquery.effects.core',
462 'group' => 'jquery.ui',
464 'jquery.effects.drop' => array(
465 'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
466 'dependencies' => 'jquery.effects.core',
467 'group' => 'jquery.ui',
469 'jquery.effects.explode' => array(
470 'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
471 'dependencies' => 'jquery.effects.core',
472 'group' => 'jquery.ui',
474 'jquery.effects.fade' => array(
475 'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
476 'dependencies' => 'jquery.effects.core',
477 'group' => 'jquery.ui',
479 'jquery.effects.fold' => array(
480 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
481 'dependencies' => 'jquery.effects.core',
482 'group' => 'jquery.ui',
484 'jquery.effects.highlight' => array(
485 'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
486 'dependencies' => 'jquery.effects.core',
487 'group' => 'jquery.ui',
489 'jquery.effects.pulsate' => array(
490 'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
491 'dependencies' => 'jquery.effects.core',
492 'group' => 'jquery.ui',
494 'jquery.effects.scale' => array(
495 'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
496 'dependencies' => 'jquery.effects.core',
497 'group' => 'jquery.ui',
499 'jquery.effects.shake' => array(
500 'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
501 'dependencies' => 'jquery.effects.core',
502 'group' => 'jquery.ui',
504 'jquery.effects.slide' => array(
505 'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
506 'dependencies' => 'jquery.effects.core',
507 'group' => 'jquery.ui',
509 'jquery.effects.transfer' => array(
510 'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
511 'dependencies' => 'jquery.effects.core',
512 'group' => 'jquery.ui',
515 /* MediaWiki */
517 'mediawiki' => array(
518 'scripts' => 'resources/mediawiki/mediawiki.js',
519 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
520 'debugRaw' => false,
522 'mediawiki.api' => array(
523 'scripts' => 'resources/mediawiki.api/mediawiki.api.js',
524 'dependencies' => 'mediawiki.util',
526 'mediawiki.api.category' => array(
527 'scripts' => 'resources/mediawiki.api/mediawiki.api.category.js',
528 'dependencies' => array(
529 'mediawiki.api',
530 'mediawiki.Title'
533 'mediawiki.api.edit' => array(
534 'scripts' => 'resources/mediawiki.api/mediawiki.api.edit.js',
535 'dependencies' => array(
536 'mediawiki.api',
537 'mediawiki.Title'
540 'mediawiki.api.parse' => array(
541 'scripts' => 'resources/mediawiki.api/mediawiki.api.parse.js',
542 'dependencies' => 'mediawiki.api',
544 'mediawiki.api.titleblacklist' => array(
545 'scripts' => 'resources/mediawiki.api/mediawiki.api.titleblacklist.js',
546 'dependencies' => array(
547 'mediawiki.api',
548 'mediawiki.Title'
551 'mediawiki.api.watch' => array(
552 'scripts' => 'resources/mediawiki.api/mediawiki.api.watch.js',
553 'dependencies' => array(
554 'mediawiki.api',
555 'user.tokens',
558 'mediawiki.debug' => array(
559 'scripts' => 'resources/mediawiki/mediawiki.debug.js',
560 'styles' => 'resources/mediawiki/mediawiki.debug.css',
561 'dependencies' => 'jquery.footHovzer',
562 'position' => 'bottom',
564 'mediawiki.debug.init' => array(
565 'scripts' => 'resources/mediawiki/mediawiki.debug.init.js',
566 'dependencies' => 'mediawiki.debug',
567 // Uses a custom mw.config variable that is set in debughtml,
568 // must be loaded on the bottom
569 'position' => 'bottom',
571 'mediawiki.feedback' => array(
572 'scripts' => 'resources/mediawiki/mediawiki.feedback.js',
573 'styles' => 'resources/mediawiki/mediawiki.feedback.css',
574 'dependencies' => array(
575 'mediawiki.api.edit',
576 'mediawiki.Title',
577 'mediawiki.jqueryMsg',
578 'jquery.ui.dialog',
580 'messages' => array(
581 'feedback-bugornote',
582 'feedback-subject',
583 'feedback-message',
584 'feedback-cancel',
585 'feedback-submit',
586 'feedback-adding',
587 'feedback-error1',
588 'feedback-error2',
589 'feedback-error3',
590 'feedback-thanks',
591 'feedback-close',
592 'feedback-bugcheck',
593 'feedback-bugnew',
596 'mediawiki.htmlform' => array(
597 'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
599 'mediawiki.Title' => array(
600 'scripts' => 'resources/mediawiki/mediawiki.Title.js',
601 'dependencies' => 'mediawiki.util',
603 'mediawiki.Uri' => array(
604 'scripts' => 'resources/mediawiki/mediawiki.Uri.js',
606 'mediawiki.user' => array(
607 'scripts' => 'resources/mediawiki/mediawiki.user.js',
608 'dependencies' => array(
609 'jquery.cookie',
612 'mediawiki.util' => array(
613 'scripts' => 'resources/mediawiki/mediawiki.util.js',
614 'dependencies' => array(
615 'jquery.client',
616 'jquery.cookie',
617 'jquery.messageBox',
618 'jquery.mwExtension',
620 'messages' => array( 'showtoc', 'hidetoc' ),
621 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
624 /* MediaWiki Action */
626 'mediawiki.action.edit' => array(
627 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js',
628 'dependencies' => array(
629 'jquery.textSelection',
630 'jquery.byteLimit',
633 'mediawiki.action.history' => array(
634 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
635 'dependencies' => 'jquery.ui.button',
636 'group' => 'mediawiki.action.history',
638 'mediawiki.action.history.diff' => array(
639 'styles' => 'resources/mediawiki.action/mediawiki.action.history.diff.css',
640 'group' => 'mediawiki.action.history',
642 'mediawiki.action.view.dblClickEdit' => array(
643 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
644 'dependencies' => 'mediawiki.util',
646 'mediawiki.action.view.metadata' => array(
647 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.metadata.js',
648 'messages' => array(
649 'metadata-expand',
650 'metadata-collapse',
653 'mediawiki.action.view.rightClickEdit' => array(
654 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
656 'mediawiki.action.watch.ajax' => array(
657 'scripts' => 'resources/mediawiki.action/mediawiki.action.watch.ajax.js',
658 'dependencies' => array(
659 'mediawiki.api.watch',
660 'mediawiki.util',
662 'messages' => array(
663 'watch',
664 'unwatch',
665 'watching',
666 'unwatching',
667 'tooltip-ca-watch',
668 'tooltip-ca-unwatch',
669 'watcherrortext',
673 /* MediaWiki Language */
675 'mediawiki.language' => array(
676 'scripts' => 'resources/mediawiki.language/mediawiki.language.js',
677 'languageScripts' => array(
678 'am' => 'resources/mediawiki.language/languages/am.js',
679 'ar' => 'resources/mediawiki.language/languages/ar.js',
680 'bat-smg' => 'resources/mediawiki.language/languages/bat-smg.js',
681 'be' => 'resources/mediawiki.language/languages/be.js',
682 'be-tarask' => 'resources/mediawiki.language/languages/be-tarask.js',
683 'bh' => 'resources/mediawiki.language/languages/bh.js',
684 'bs' => 'resources/mediawiki.language/languages/bs.js',
685 'cs' => 'resources/mediawiki.language/languages/cs.js',
686 'cu' => 'resources/mediawiki.language/languages/cu.js',
687 'cy' => 'resources/mediawiki.language/languages/cy.js',
688 'dsb' => 'resources/mediawiki.language/languages/dsb.js',
689 'fr' => 'resources/mediawiki.language/languages/fr.js',
690 'ga' => 'resources/mediawiki.language/languages/ga.js',
691 'gd' => 'resources/mediawiki.language/languages/gd.js',
692 'gv' => 'resources/mediawiki.language/languages/gv.js',
693 'he' => 'resources/mediawiki.language/languages/he.js',
694 'hi' => 'resources/mediawiki.language/languages/hi.js',
695 'hr' => 'resources/mediawiki.language/languages/hr.js',
696 'hsb' => 'resources/mediawiki.language/languages/hsb.js',
697 'hy' => 'resources/mediawiki.language/languages/hy.js',
698 'ksh' => 'resources/mediawiki.language/languages/ksh.js',
699 'ln' => 'resources/mediawiki.language/languages/ln.js',
700 'lt' => 'resources/mediawiki.language/languages/lt.js',
701 'lv' => 'resources/mediawiki.language/languages/lv.js',
702 'mg' => 'resources/mediawiki.language/languages/mg.js',
703 'mk' => 'resources/mediawiki.language/languages/mk.js',
704 'mo' => 'resources/mediawiki.language/languages/mo.js',
705 'mt' => 'resources/mediawiki.language/languages/mt.js',
706 'nl' => 'resources/mediawiki.language/languages/nl.js',
707 'nso' => 'resources/mediawiki.language/languages/nso.js',
708 'pl' => 'resources/mediawiki.language/languages/pl.js',
709 'pt' => 'resources/mediawiki.language/languages/pt.js',
710 'pt-br' => 'resources/mediawiki.language/languages/pt-br.js',
711 'ro' => 'resources/mediawiki.language/languages/ro.js',
712 'ru' => 'resources/mediawiki.language/languages/ru.js',
713 'se' => 'resources/mediawiki.language/languages/se.js',
714 'sh' => 'resources/mediawiki.language/languages/sh.js',
715 'sk' => 'resources/mediawiki.language/languages/sk.js',
716 'sl' => 'resources/mediawiki.language/languages/sl.js',
717 'sma' => 'resources/mediawiki.language/languages/sma.js',
718 'sr-ec' => 'resources/mediawiki.language/languages/sr-ec.js',
719 'sr-el' => 'resources/mediawiki.language/languages/sr-el.js',
720 'sr' => 'resources/mediawiki.language/languages/sr.js',
721 'ti' => 'resources/mediawiki.language/languages/ti.js',
722 'tl' => 'resources/mediawiki.language/languages/tl.js',
723 'uk' => 'resources/mediawiki.language/languages/uk.js',
724 'wa' => 'resources/mediawiki.language/languages/wa.js',
728 'mediawiki.jqueryMsg' => array(
729 'dependencies' => array( 'mediawiki.language', 'mediawiki.util' ),
730 'scripts' => 'resources/mediawiki/mediawiki.jqueryMsg.js'
733 /* MediaWiki Libs */
735 'mediawiki.libs.jpegmeta' => array(
736 'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
739 /* MediaWiki Page */
741 'mediawiki.page.ready' => array(
742 'scripts' => 'resources/mediawiki.page/mediawiki.page.ready.js',
743 'dependencies' => array(
744 'jquery.checkboxShiftClick',
745 'jquery.makeCollapsible',
746 'jquery.placeholder',
747 'jquery.mw-jump',
748 'mediawiki.util',
751 'mediawiki.page.startup' => array(
752 'scripts' => 'resources/mediawiki.page/mediawiki.page.startup.js',
753 'dependencies' => array(
754 'jquery.client',
755 'mediawiki.util',
757 'position' => 'top',
761 /* MediaWiki Special pages */
763 'mediawiki.special' => array(
764 'scripts' => 'resources/mediawiki.special/mediawiki.special.js',
765 'styles' => 'resources/mediawiki.special/mediawiki.special.css',
767 'mediawiki.special.block' => array(
768 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
769 'dependencies' => array(
770 'mediawiki.util',
773 'mediawiki.special.changeemail' => array(
774 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js',
775 'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css',
776 'dependencies' => array(
777 'mediawiki.util',
779 'messages' => array(
780 'email-address-validity-valid',
781 'email-address-validity-invalid',
784 'mediawiki.special.changeslist' => array(
785 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css',
786 'dependencies' => array( 'jquery.makeCollapsible' ),
788 'mediawiki.special.movePage' => array(
789 'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
790 'dependencies' => 'jquery.byteLimit',
792 'mediawiki.special.preferences' => array(
793 'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js',
794 'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css',
796 'mediawiki.special.recentchanges' => array(
797 'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js',
798 'dependencies' => array( 'mediawiki.special' ),
799 'position' => 'top',
801 'mediawiki.special.search' => array(
802 'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js',
803 'styles' => 'resources/mediawiki.special/mediawiki.special.search.css',
805 'mediawiki.special.undelete' => array(
806 'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
808 'mediawiki.special.upload' => array(
809 // @TODO: merge in remainder of mediawiki.legacy.upload
810 'scripts' => 'resources/mediawiki.special/mediawiki.special.upload.js',
811 'messages' => array(
812 'widthheight',
813 'size-bytes',
814 'size-kilobytes',
815 'size-megabytes',
816 'size-gigabytes',
817 'largefileserver',
819 'dependencies' => array( 'mediawiki.libs.jpegmeta', 'mediawiki.util' ),
821 'mediawiki.special.javaScriptTest' => array(
822 'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
823 'messages' => array_merge( Skin::getSkinNameMessages(), array(
824 'colon-separator',
825 'javascripttest-pagetext-skins',
826 ) ),
827 'dependencies' => array( 'jquery.qunit' ),
828 'position' => 'top',
831 /* MediaWiki Tests */
833 'mediawiki.tests.qunit.testrunner' => array(
834 'scripts' => 'tests/qunit/data/testrunner.js',
835 'dependencies' => array(
836 'jquery.qunit',
837 'jquery.qunit.completenessTest',
838 'mediawiki.page.startup',
839 'mediawiki.page.ready',
841 'position' => 'top',
844 /* MediaWiki Legacy */
846 'mediawiki.legacy.ajax' => array(
847 'scripts' => 'common/ajax.js',
848 'remoteBasePath' => $GLOBALS['wgStylePath'],
849 'localBasePath' => $GLOBALS['wgStyleDirectory'],
850 'dependencies' => array(
851 'mediawiki.util',
852 'mediawiki.legacy.wikibits',
854 'position' => 'top', // Temporary hack for legacy support
856 'mediawiki.legacy.commonPrint' => array(
857 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
858 'remoteBasePath' => $GLOBALS['wgStylePath'],
859 'localBasePath' => $GLOBALS['wgStyleDirectory'],
861 'mediawiki.legacy.config' => array(
862 'scripts' => 'common/config.js',
863 'styles' => array( 'common/config.css', 'common/config-cc.css' ),
864 'remoteBasePath' => $GLOBALS['wgStylePath'],
865 'localBasePath' => $GLOBALS['wgStyleDirectory'],
866 'dependencies' => 'mediawiki.legacy.wikibits',
868 'mediawiki.legacy.IEFixes' => array(
869 'scripts' => 'common/IEFixes.js',
870 'remoteBasePath' => $GLOBALS['wgStylePath'],
871 'localBasePath' => $GLOBALS['wgStyleDirectory'],
872 'dependencies' => 'mediawiki.legacy.wikibits',
874 'mediawiki.legacy.mwsuggest' => array(
875 'scripts' => 'common/mwsuggest.js',
876 'remoteBasePath' => $GLOBALS['wgStylePath'],
877 'localBasePath' => $GLOBALS['wgStyleDirectory'],
878 'dependencies' => 'mediawiki.legacy.wikibits',
879 'messages' => array( 'search-mwsuggest-enabled', 'search-mwsuggest-disabled' ),
881 'mediawiki.legacy.preview' => array(
882 'scripts' => 'common/preview.js',
883 'remoteBasePath' => $GLOBALS['wgStylePath'],
884 'localBasePath' => $GLOBALS['wgStyleDirectory'],
885 'dependencies' => 'mediawiki.legacy.wikibits',
887 'mediawiki.legacy.protect' => array(
888 'scripts' => 'common/protect.js',
889 'remoteBasePath' => $GLOBALS['wgStylePath'],
890 'localBasePath' => $GLOBALS['wgStyleDirectory'],
891 'dependencies' => array(
892 'mediawiki.legacy.wikibits',
893 'jquery.byteLimit',
895 'position' => 'top',
897 'mediawiki.legacy.shared' => array(
898 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
899 'remoteBasePath' => $GLOBALS['wgStylePath'],
900 'localBasePath' => $GLOBALS['wgStyleDirectory'],
902 'mediawiki.legacy.oldshared' => array(
903 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
904 'remoteBasePath' => $GLOBALS['wgStylePath'],
905 'localBasePath' => $GLOBALS['wgStyleDirectory'],
907 'mediawiki.legacy.upload' => array(
908 'scripts' => 'common/upload.js',
909 'remoteBasePath' => $GLOBALS['wgStylePath'],
910 'localBasePath' => $GLOBALS['wgStyleDirectory'],
911 'dependencies' => array(
912 'mediawiki.legacy.wikibits',
913 'mediawiki.util',
916 'mediawiki.legacy.wikibits' => array(
917 'scripts' => 'common/wikibits.js',
918 'remoteBasePath' => $GLOBALS['wgStylePath'],
919 'localBasePath' => $GLOBALS['wgStyleDirectory'],
920 'dependencies' => array(
921 'mediawiki.util',
923 'position' => 'top',
925 'mediawiki.legacy.wikiprintable' => array(
926 'styles' => array( 'common/wikiprintable.css' => array( 'media' => 'print' ) ),
927 'remoteBasePath' => $GLOBALS['wgStylePath'],
928 'localBasePath' => $GLOBALS['wgStyleDirectory'],