3 * Definition of core ResourceLoader modules.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * http://www.gnu.org/copyleft/gpl.html
25 /* Special modules who have their own classes */
27 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
28 'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
29 'noscript' => array( 'class' => 'ResourceLoaderNoscriptModule' ),
30 'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
31 'filepage' => array( 'class' => 'ResourceLoaderFilePageModule' ),
32 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
34 // Scripts managed by the current user (stored in their user space)
35 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
37 // Scripts generated based on the current user's preferences
38 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
40 // Populate mediawiki.user placeholders with information about the current user
41 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
42 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
44 // Scripts for the dynamic language specific data, like grammar forms.
45 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
49 'skins.chick' => array(
50 'styles' => array( 'chick/main.css' => array( 'media' => 'screen, handheld' ) ),
51 'remoteBasePath' => $GLOBALS['wgStylePath'],
52 'localBasePath' => $GLOBALS['wgStyleDirectory'],
54 'skins.cologneblue' => array(
55 'styles' => array( 'cologneblue/screen.css' => array( 'media' => 'screen' ) ),
56 'remoteBasePath' => $GLOBALS['wgStylePath'],
57 'localBasePath' => $GLOBALS['wgStyleDirectory'],
59 'skins.modern' => array(
61 'modern/main.css' => array( 'media' => 'screen' ),
62 'modern/print.css' => array( 'media' => 'print' ),
64 'remoteBasePath' => $GLOBALS['wgStylePath'],
65 'localBasePath' => $GLOBALS['wgStyleDirectory'],
67 'skins.monobook' => array(
69 'common/commonElements.css' => array( 'media' => 'screen' ),
70 'common/commonContent.css' => array( 'media' => 'screen' ),
71 'common/commonInterface.css' => array( 'media' => 'screen' ),
72 'monobook/main.css' => array( 'media' => 'screen' ),
74 'remoteBasePath' => $GLOBALS['wgStylePath'],
75 'localBasePath' => $GLOBALS['wgStyleDirectory'],
77 'skins.nostalgia' => array(
78 'styles' => array( 'nostalgia/screen.css' => array( 'media' => 'screen' ) ),
79 'remoteBasePath' => $GLOBALS['wgStylePath'],
80 'localBasePath' => $GLOBALS['wgStyleDirectory'],
82 'skins.simple' => array(
83 'styles' => array( 'simple/main.css' => array( 'media' => 'screen' ) ),
84 'remoteBasePath' => $GLOBALS['wgStylePath'],
85 'localBasePath' => $GLOBALS['wgStyleDirectory'],
87 'skins.standard' => array(
88 'styles' => array( 'standard/main.css' => array( 'media' => 'screen' ) ),
89 'remoteBasePath' => $GLOBALS['wgStylePath'],
90 'localBasePath' => $GLOBALS['wgStyleDirectory'],
92 'skins.vector' => array(
93 // Keep in sync with WebInstallerOutput::getCSS()
95 'common/commonElements.css' => array( 'media' => 'screen' ),
96 'common/commonContent.css' => array( 'media' => 'screen' ),
97 'common/commonInterface.css' => array( 'media' => 'screen' ),
98 'vector/screen.css' => array( 'media' => 'screen' ),
99 'vector/screen-hd.css' => array( 'media' => 'screen and (min-width: 982px)' ),
100 'vector/print.css' => array( 'media' => 'print' ),
102 'scripts' => 'vector/vector.js',
103 'remoteBasePath' => $GLOBALS['wgStylePath'],
104 'localBasePath' => $GLOBALS['wgStyleDirectory'],
110 'scripts' => 'resources/jquery/jquery.js',
112 'targets' => array( 'desktop', 'mobile' ),
117 'jquery.appear' => array(
118 'scripts' => 'resources/jquery/jquery.appear.js',
120 'jquery.arrowSteps' => array(
121 'scripts' => 'resources/jquery/jquery.arrowSteps.js',
122 'styles' => 'resources/jquery/jquery.arrowSteps.css',
124 'jquery.async' => array(
125 'scripts' => 'resources/jquery/jquery.async.js',
127 'jquery.autoEllipsis' => array(
128 'scripts' => 'resources/jquery/jquery.autoEllipsis.js',
129 'dependencies' => 'jquery.highlightText',
131 'jquery.badge' => array(
132 'scripts' => 'resources/jquery/jquery.badge.js',
133 'styles' => 'resources/jquery/jquery.badge.css',
135 'jquery.byteLength' => array(
136 'scripts' => 'resources/jquery/jquery.byteLength.js',
138 'jquery.byteLimit' => array(
139 'scripts' => 'resources/jquery/jquery.byteLimit.js',
140 'dependencies' => 'jquery.byteLength',
142 'jquery.checkboxShiftClick' => array(
143 'scripts' => 'resources/jquery/jquery.checkboxShiftClick.js',
145 'jquery.client' => array(
146 'scripts' => 'resources/jquery/jquery.client.js',
147 'targets' => array( 'desktop', 'mobile' ),
149 'jquery.collapsibleTabs' => array(
150 'scripts' => 'resources/jquery/jquery.collapsibleTabs.js',
151 'dependencies' => 'jquery.delayedBind',
153 'jquery.color' => array(
154 'scripts' => 'resources/jquery/jquery.color.js',
155 'dependencies' => 'jquery.colorUtil',
157 'jquery.colorUtil' => array(
158 'scripts' => 'resources/jquery/jquery.colorUtil.js',
160 'jquery.cookie' => array(
161 'scripts' => 'resources/jquery/jquery.cookie.js',
162 'targets' => array( 'desktop', 'mobile' ),
164 'jquery.delayedBind' => array(
165 'scripts' => 'resources/jquery/jquery.delayedBind.js',
167 'jquery.expandableField' => array(
168 'scripts' => 'resources/jquery/jquery.expandableField.js',
169 'dependencies' => 'jquery.delayedBind',
171 'jquery.farbtastic' => array(
172 'scripts' => 'resources/jquery/jquery.farbtastic.js',
173 'styles' => 'resources/jquery/jquery.farbtastic.css',
174 'dependencies' => 'jquery.colorUtil',
176 'jquery.footHovzer' => array(
177 'scripts' => 'resources/jquery/jquery.footHovzer.js',
178 'styles' => 'resources/jquery/jquery.footHovzer.css',
180 'jquery.form' => array(
181 'scripts' => 'resources/jquery/jquery.form.js',
183 'jquery.getAttrs' => array(
184 'scripts' => 'resources/jquery/jquery.getAttrs.js',
186 'jquery.hidpi' => array(
187 'scripts' => 'resources/jquery/jquery.hidpi.js',
188 'targets' => array( 'desktop', 'mobile' ),
190 'jquery.highlightText' => array(
191 'scripts' => 'resources/jquery/jquery.highlightText.js',
192 'dependencies' => 'jquery.mwExtension',
194 'jquery.hoverIntent' => array(
195 'scripts' => 'resources/jquery/jquery.hoverIntent.js',
197 'jquery.json' => array(
198 'scripts' => 'resources/jquery/jquery.json.js',
200 'jquery.localize' => array(
201 'scripts' => 'resources/jquery/jquery.localize.js',
203 'jquery.makeCollapsible' => array(
204 'scripts' => 'resources/jquery/jquery.makeCollapsible.js',
205 'styles' => 'resources/jquery/jquery.makeCollapsible.css',
206 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
208 'jquery.mockjax' => array(
209 'scripts' => 'resources/jquery/jquery.mockjax.js',
211 'jquery.mw-jump' => array(
212 'scripts' => 'resources/jquery/jquery.mw-jump.js',
214 'jquery.mwExtension' => array(
215 'scripts' => 'resources/jquery/jquery.mwExtension.js',
216 'targets' => array( 'desktop', 'mobile' ),
218 'jquery.placeholder' => array(
219 'scripts' => 'resources/jquery/jquery.placeholder.js',
221 'jquery.qunit' => array(
222 'scripts' => 'resources/jquery/jquery.qunit.js',
223 'styles' => 'resources/jquery/jquery.qunit.css',
226 'jquery.qunit.completenessTest' => array(
227 'scripts' => 'resources/jquery/jquery.qunit.completenessTest.js',
228 'dependencies' => 'jquery.qunit',
230 'jquery.spinner' => array(
231 'scripts' => 'resources/jquery/jquery.spinner.js',
232 'styles' => 'resources/jquery/jquery.spinner.css',
234 'jquery.jStorage' => array(
235 'scripts' => 'resources/jquery/jquery.jStorage.js',
236 'dependencies' => 'jquery.json',
238 'jquery.suggestions' => array(
239 'scripts' => 'resources/jquery/jquery.suggestions.js',
240 'styles' => 'resources/jquery/jquery.suggestions.css',
241 'dependencies' => 'jquery.autoEllipsis',
243 'jquery.tabIndex' => array(
244 'scripts' => 'resources/jquery/jquery.tabIndex.js',
246 'jquery.tablesorter' => array(
247 'scripts' => 'resources/jquery/jquery.tablesorter.js',
248 'styles' => 'resources/jquery/jquery.tablesorter.css',
249 'messages' => array( 'sort-descending', 'sort-ascending' ),
250 'dependencies' => 'jquery.mwExtension',
252 'jquery.textSelection' => array(
253 'scripts' => 'resources/jquery/jquery.textSelection.js',
254 'dependencies' => 'jquery.client',
256 'jquery.validate' => array(
257 'scripts' => 'resources/jquery/jquery.validate.js',
259 'jquery.xmldom' => array(
260 'scripts' => 'resources/jquery/jquery.xmldom.js',
265 'jquery.tipsy' => array(
266 'scripts' => 'resources/jquery.tipsy/jquery.tipsy.js',
267 'styles' => 'resources/jquery.tipsy/jquery.tipsy.css',
273 'jquery.ui.core' => array(
274 'scripts' => 'resources/jquery.ui/jquery.ui.core.js',
275 'skinStyles' => array(
277 'resources/jquery.ui/themes/default/jquery.ui.core.css',
278 'resources/jquery.ui/themes/default/jquery.ui.theme.css',
281 'resources/jquery.ui/themes/vector/jquery.ui.core.css',
282 'resources/jquery.ui/themes/vector/jquery.ui.theme.css',
285 'dependencies' => 'jquery',
286 'group' => 'jquery.ui',
288 'jquery.ui.widget' => array(
289 'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
290 'group' => 'jquery.ui',
292 'jquery.ui.mouse' => array(
293 'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
294 'dependencies' => 'jquery.ui.widget',
295 'group' => 'jquery.ui',
297 'jquery.ui.position' => array(
298 'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
299 'group' => 'jquery.ui',
302 'jquery.ui.draggable' => array(
303 'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
304 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
305 'group' => 'jquery.ui',
307 'jquery.ui.droppable' => array(
308 'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
309 'dependencies' => array(
310 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
312 'group' => 'jquery.ui',
314 'jquery.ui.resizable' => array(
315 'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
316 'skinStyles' => array(
317 'default' => 'resources/jquery.ui/themes/default/jquery.ui.resizable.css',
318 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
320 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
321 'group' => 'jquery.ui',
323 'jquery.ui.selectable' => array(
324 'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
325 'skinStyles' => array(
326 'default' => 'resources/jquery.ui/themes/default/jquery.ui.selectable.css',
327 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
329 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
330 'group' => 'jquery.ui',
332 'jquery.ui.sortable' => array(
333 'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
334 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
335 'group' => 'jquery.ui',
338 'jquery.ui.accordion' => array(
339 'scripts' => 'resources/jquery.ui/jquery.ui.accordion.js',
340 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
341 'skinStyles' => array(
342 'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
343 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
345 'group' => 'jquery.ui',
347 'jquery.ui.autocomplete' => array(
348 'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
349 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
350 'skinStyles' => array(
351 'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
352 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
354 'group' => 'jquery.ui',
356 'jquery.ui.button' => array(
357 'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
358 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
359 'skinStyles' => array(
360 'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
361 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
363 'group' => 'jquery.ui',
365 'jquery.ui.datepicker' => array(
366 'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
367 'dependencies' => 'jquery.ui.core',
368 'skinStyles' => array(
369 'default' => 'resources/jquery.ui/themes/default/jquery.ui.datepicker.css',
370 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.datepicker.css',
372 'languageScripts' => array(
373 'af' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-af.js',
374 'ar' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
375 'az' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-az.js',
376 'bg' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
377 'bs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
378 'ca' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
379 'cs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
380 'da' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-da.js',
381 'de' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-de.js',
382 'el' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-el.js',
383 'en-gb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
384 'eo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
385 'es' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-es.js',
386 'et' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-et.js',
387 'eu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
388 'fa' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
389 'fi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
390 'fo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
391 'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
392 'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
393 'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
394 'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
395 'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
396 'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
397 'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
398 'id' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-id.js',
399 'is' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-is.js',
400 'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
401 'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
402 'ka' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
403 'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
404 'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
405 'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
406 'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
407 'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
408 'lv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
409 'mk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
410 'ml' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
411 'ms' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
412 'nl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
413 'no' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-no.js',
414 'pl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
415 'pt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
416 'pt-br' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
417 'rm' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
418 'ro' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
419 'ru' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
420 'sk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
421 'sl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
422 'sq' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
423 'sr-sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
424 'sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
425 'sv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
426 'ta' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
427 'th' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-th.js',
428 'tr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
429 'uk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
430 'vi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
431 'zh-cn' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
432 'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
433 'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
435 'group' => 'jquery.ui',
437 'jquery.ui.dialog' => array(
438 'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
439 'dependencies' => array(
443 'jquery.ui.draggable',
445 'jquery.ui.position',
446 'jquery.ui.resizable',
448 'skinStyles' => array(
449 'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
450 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
452 'group' => 'jquery.ui',
454 'jquery.ui.progressbar' => array(
455 'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
456 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
457 'skinStyles' => array(
458 'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
459 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
461 'group' => 'jquery.ui',
463 'jquery.ui.slider' => array(
464 'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
465 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
466 'skinStyles' => array(
467 'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
468 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
470 'group' => 'jquery.ui',
472 'jquery.ui.tabs' => array(
473 'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
474 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
475 'skinStyles' => array(
476 'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
477 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
479 'group' => 'jquery.ui',
482 'jquery.effects.core' => array(
483 'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
484 'dependencies' => 'jquery',
485 'group' => 'jquery.ui',
487 'jquery.effects.blind' => array(
488 'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
489 'dependencies' => 'jquery.effects.core',
490 'group' => 'jquery.ui',
492 'jquery.effects.bounce' => array(
493 'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
494 'dependencies' => 'jquery.effects.core',
495 'group' => 'jquery.ui',
497 'jquery.effects.clip' => array(
498 'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
499 'dependencies' => 'jquery.effects.core',
500 'group' => 'jquery.ui',
502 'jquery.effects.drop' => array(
503 'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
504 'dependencies' => 'jquery.effects.core',
505 'group' => 'jquery.ui',
507 'jquery.effects.explode' => array(
508 'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
509 'dependencies' => 'jquery.effects.core',
510 'group' => 'jquery.ui',
512 'jquery.effects.fade' => array(
513 'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
514 'dependencies' => 'jquery.effects.core',
515 'group' => 'jquery.ui',
517 'jquery.effects.fold' => array(
518 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
519 'dependencies' => 'jquery.effects.core',
520 'group' => 'jquery.ui',
522 'jquery.effects.highlight' => array(
523 'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
524 'dependencies' => 'jquery.effects.core',
525 'group' => 'jquery.ui',
527 'jquery.effects.pulsate' => array(
528 'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
529 'dependencies' => 'jquery.effects.core',
530 'group' => 'jquery.ui',
532 'jquery.effects.scale' => array(
533 'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
534 'dependencies' => 'jquery.effects.core',
535 'group' => 'jquery.ui',
537 'jquery.effects.shake' => array(
538 'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
539 'dependencies' => 'jquery.effects.core',
540 'group' => 'jquery.ui',
542 'jquery.effects.slide' => array(
543 'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
544 'dependencies' => 'jquery.effects.core',
545 'group' => 'jquery.ui',
547 'jquery.effects.transfer' => array(
548 'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
549 'dependencies' => 'jquery.effects.core',
550 'group' => 'jquery.ui',
555 'mediawiki' => array(
556 'scripts' => 'resources/mediawiki/mediawiki.js',
557 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
559 'targets' => array( 'desktop', 'mobile' ),
561 'mediawiki.api' => array(
562 'scripts' => 'resources/mediawiki.api/mediawiki.api.js',
563 'dependencies' => 'mediawiki.util',
565 'mediawiki.api.category' => array(
566 'scripts' => 'resources/mediawiki.api/mediawiki.api.category.js',
567 'dependencies' => array(
572 'mediawiki.api.edit' => array(
573 'scripts' => 'resources/mediawiki.api/mediawiki.api.edit.js',
574 'dependencies' => array(
579 'mediawiki.api.parse' => array(
580 'scripts' => 'resources/mediawiki.api/mediawiki.api.parse.js',
581 'dependencies' => 'mediawiki.api',
583 'mediawiki.api.titleblacklist' => array(
584 'scripts' => 'resources/mediawiki.api/mediawiki.api.titleblacklist.js',
585 'dependencies' => array(
590 'mediawiki.api.watch' => array(
591 'scripts' => 'resources/mediawiki.api/mediawiki.api.watch.js',
592 'dependencies' => array(
597 'mediawiki.debug' => array(
598 'scripts' => 'resources/mediawiki/mediawiki.debug.js',
599 'styles' => 'resources/mediawiki/mediawiki.debug.css',
600 'dependencies' => 'jquery.footHovzer',
601 'position' => 'bottom',
603 'mediawiki.debug.init' => array(
604 'scripts' => 'resources/mediawiki/mediawiki.debug.init.js',
605 'dependencies' => 'mediawiki.debug',
606 // Uses a custom mw.config variable that is set in debughtml,
607 // must be loaded on the bottom
608 'position' => 'bottom',
610 'mediawiki.feedback' => array(
611 'scripts' => 'resources/mediawiki/mediawiki.feedback.js',
612 'styles' => 'resources/mediawiki/mediawiki.feedback.css',
613 'dependencies' => array(
614 'mediawiki.api.edit',
616 'mediawiki.jqueryMsg',
620 'feedback-bugornote',
635 'mediawiki.hidpi' => array(
636 'scripts' => 'resources/mediawiki/mediawiki.hidpi.js',
637 'dependencies' => array(
640 'targets' => array( 'desktop', 'mobile' ),
642 'mediawiki.htmlform' => array(
643 'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
645 'mediawiki.notification' => array(
646 'styles' => 'resources/mediawiki/mediawiki.notification.css',
647 'scripts' => 'resources/mediawiki/mediawiki.notification.js',
648 'dependencies' => array(
649 'mediawiki.page.startup',
652 'mediawiki.notify' => array(
653 'scripts' => 'resources/mediawiki/mediawiki.notify.js',
654 'targets' => array( 'desktop', 'mobile' ),
656 'mediawiki.searchSuggest' => array(
657 'scripts' => 'resources/mediawiki/mediawiki.searchSuggest.js',
659 'searchsuggest-search',
660 'searchsuggest-containing',
662 'dependencies' => array(
663 'jquery.autoEllipsis',
665 'jquery.placeholder',
666 'jquery.suggestions',
669 'mediawiki.Title' => array(
670 'scripts' => 'resources/mediawiki/mediawiki.Title.js',
671 'dependencies' => 'mediawiki.util',
673 'mediawiki.Uri' => array(
674 'scripts' => 'resources/mediawiki/mediawiki.Uri.js',
676 'mediawiki.user' => array(
677 'scripts' => 'resources/mediawiki/mediawiki.user.js',
678 'dependencies' => array(
685 'mediawiki.util' => array(
686 'scripts' => 'resources/mediawiki/mediawiki.util.js',
687 'dependencies' => array(
690 'jquery.mwExtension',
693 'messages' => array( 'showtoc', 'hidetoc' ),
694 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
695 'targets' => array( 'desktop', 'mobile' ),
698 /* MediaWiki Action */
700 'mediawiki.action.edit' => array(
701 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js',
702 'dependencies' => array(
703 'jquery.textSelection',
708 'mediawiki.action.edit.preview' => array(
709 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.preview.js',
710 'dependencies' => array(
715 'mediawiki.action.history' => array(
716 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
717 'group' => 'mediawiki.action.history',
719 'mediawiki.action.history.diff' => array(
720 'styles' => 'resources/mediawiki.action/mediawiki.action.history.diff.css',
721 'group' => 'mediawiki.action.history',
723 'mediawiki.action.view.dblClickEdit' => array(
724 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
725 'dependencies' => array(
727 'mediawiki.page.startup',
730 'mediawiki.action.view.metadata' => array(
731 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.metadata.js',
737 'mediawiki.action.view.rightClickEdit' => array(
738 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
740 // Alias for backwards compatibility
741 'mediawiki.action.watch.ajax' => array(
742 'dependencies' => 'mediawiki.page.watch.ajax'
745 /* MediaWiki Language */
747 'mediawiki.language' => array(
748 'scripts' => 'resources/mediawiki.language/mediawiki.language.js',
749 'languageScripts' => array(
750 'bs' => 'resources/mediawiki.language/languages/bs.js',
751 'dsb' => 'resources/mediawiki.language/languages/dsb.js',
752 'fi' => 'resources/mediawiki.language/languages/fi.js',
753 'ga' => 'resources/mediawiki.language/languages/ga.js',
754 'he' => 'resources/mediawiki.language/languages/he.js',
755 'hsb' => 'resources/mediawiki.language/languages/hsb.js',
756 'hu' => 'resources/mediawiki.language/languages/hu.js',
757 'hy' => 'resources/mediawiki.language/languages/hy.js',
758 'la' => 'resources/mediawiki.language/languages/la.js',
759 'os' => 'resources/mediawiki.language/languages/os.js',
760 'ru' => 'resources/mediawiki.language/languages/ru.js',
761 'sl' => 'resources/mediawiki.language/languages/sl.js',
762 'uk' => 'resources/mediawiki.language/languages/uk.js',
764 'dependencies' => array(
765 'mediawiki.language.data',
768 'targets' => array( 'desktop', 'mobile' ),
771 'mediawiki.cldr' => array(
772 'scripts' => 'resources/mediawiki.language/mediawiki.cldr.js',
773 'dependencies' => array(
774 'mediawiki.libs.pluralruleparser',
776 'targets' => array( 'desktop', 'mobile' ),
779 'mediawiki.libs.pluralruleparser' => array(
780 'scripts' => 'resources/mediawiki.libs/CLDRPluralRuleParser.js',
781 'targets' => array( 'desktop', 'mobile' ),
784 'mediawiki.language.init' => array(
785 'scripts' => 'resources/mediawiki.language/mediawiki.language.init.js',
786 'targets' => array( 'desktop', 'mobile' ),
789 'mediawiki.jqueryMsg' => array(
790 'scripts' => 'resources/mediawiki/mediawiki.jqueryMsg.js',
791 'dependencies' => array(
793 'mediawiki.language',
795 'targets' => array( 'desktop', 'mobile' ),
800 'mediawiki.libs.jpegmeta' => array(
801 'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
806 'mediawiki.page.ready' => array(
807 'scripts' => 'resources/mediawiki.page/mediawiki.page.ready.js',
808 'dependencies' => array(
809 'jquery.checkboxShiftClick',
810 'jquery.makeCollapsible',
811 'jquery.placeholder',
816 'mediawiki.page.startup' => array(
817 'scripts' => 'resources/mediawiki.page/mediawiki.page.startup.js',
818 'dependencies' => array(
824 'mediawiki.page.patrol.ajax' => array(
825 'scripts' => 'resources/mediawiki.page/mediawiki.page.patrol.ajax.js',
826 'dependencies' => array(
827 'mediawiki.page.startup',
836 'markedaspatrollednotify',
837 'markedaspatrollederrornotify',
838 'markedaspatrollederror-noautopatrol'
841 'mediawiki.page.watch.ajax' => array(
842 'scripts' => 'resources/mediawiki.page/mediawiki.page.watch.ajax.js',
843 'dependencies' => array(
844 'mediawiki.page.startup',
845 'mediawiki.api.watch',
848 'jquery.mwExtension',
856 'tooltip-ca-unwatch',
861 /* MediaWiki Special pages */
863 'mediawiki.special' => array(
864 'scripts' => 'resources/mediawiki.special/mediawiki.special.js',
865 'styles' => 'resources/mediawiki.special/mediawiki.special.css',
867 'mediawiki.special.block' => array(
868 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
869 'dependencies' => array(
873 'mediawiki.special.changeemail' => array(
874 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js',
875 'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css',
876 'dependencies' => array(
880 'email-address-validity-valid',
881 'email-address-validity-invalid',
884 'mediawiki.special.changeslist' => array(
885 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css',
886 'dependencies' => array( 'jquery.makeCollapsible' ),
888 'mediawiki.special.movePage' => array(
889 'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
890 'dependencies' => 'jquery.byteLimit',
892 'mediawiki.special.preferences' => array(
893 'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js',
894 'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css',
896 'mediawiki.special.recentchanges' => array(
897 'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js',
898 'dependencies' => array( 'mediawiki.special' ),
901 'mediawiki.special.search' => array(
902 'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js',
903 'styles' => 'resources/mediawiki.special/mediawiki.special.search.css',
905 'powersearch-togglelabel',
906 'powersearch-toggleall',
907 'powersearch-togglenone',
910 'mediawiki.special.undelete' => array(
911 'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
913 'mediawiki.special.upload' => array(
914 // @TODO: merge in remainder of mediawiki.legacy.upload
915 'scripts' => 'resources/mediawiki.special/mediawiki.special.upload.js',
924 'dependencies' => array( 'mediawiki.libs.jpegmeta', 'mediawiki.util' ),
926 'mediawiki.special.javaScriptTest' => array(
927 'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
928 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
930 'javascripttest-pagetext-skins',
932 'dependencies' => array( 'jquery.qunit' ),
936 /* MediaWiki Tests */
938 'mediawiki.tests.qunit.testrunner' => array(
939 'scripts' => 'tests/qunit/data/testrunner.js',
940 'dependencies' => array(
942 'jquery.qunit.completenessTest',
943 'mediawiki.page.startup',
944 'mediawiki.page.ready',
949 /* MediaWiki Legacy */
951 'mediawiki.legacy.ajax' => array(
952 'scripts' => 'common/ajax.js',
953 'remoteBasePath' => $GLOBALS['wgStylePath'],
954 'localBasePath' => $GLOBALS['wgStyleDirectory'],
955 'dependencies' => array(
957 'mediawiki.legacy.wikibits',
959 'position' => 'top', // Temporary hack for legacy support
961 'mediawiki.legacy.commonPrint' => array(
962 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
963 'remoteBasePath' => $GLOBALS['wgStylePath'],
964 'localBasePath' => $GLOBALS['wgStyleDirectory'],
966 'mediawiki.legacy.config' => array(
967 'scripts' => 'common/config.js',
968 'styles' => array( 'common/config.css', 'common/config-cc.css' ),
969 'remoteBasePath' => $GLOBALS['wgStylePath'],
970 'localBasePath' => $GLOBALS['wgStyleDirectory'],
971 'dependencies' => 'mediawiki.legacy.wikibits',
973 'mediawiki.legacy.IEFixes' => array(
974 'scripts' => 'common/IEFixes.js',
975 'remoteBasePath' => $GLOBALS['wgStylePath'],
976 'localBasePath' => $GLOBALS['wgStyleDirectory'],
977 'dependencies' => 'mediawiki.legacy.wikibits',
979 'mediawiki.legacy.protect' => array(
980 'scripts' => 'common/protect.js',
981 'remoteBasePath' => $GLOBALS['wgStylePath'],
982 'localBasePath' => $GLOBALS['wgStyleDirectory'],
983 'dependencies' => array(
984 'mediawiki.legacy.wikibits',
989 'mediawiki.legacy.shared' => array(
990 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
991 'remoteBasePath' => $GLOBALS['wgStylePath'],
992 'localBasePath' => $GLOBALS['wgStyleDirectory'],
994 'mediawiki.legacy.oldshared' => array(
995 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
996 'remoteBasePath' => $GLOBALS['wgStylePath'],
997 'localBasePath' => $GLOBALS['wgStyleDirectory'],
999 'mediawiki.legacy.upload' => array(
1000 'scripts' => 'common/upload.js',
1001 'remoteBasePath' => $GLOBALS['wgStylePath'],
1002 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1003 'dependencies' => array(
1004 'mediawiki.legacy.wikibits',
1008 'mediawiki.legacy.wikibits' => array(
1009 'scripts' => 'common/wikibits.js',
1010 'remoteBasePath' => $GLOBALS['wgStylePath'],
1011 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1012 'dependencies' => array(
1015 'position' => 'top',
1017 'mediawiki.legacy.wikiprintable' => array(
1018 'styles' => array( 'common/wikiprintable.css' => array( 'media' => 'print' ) ),
1019 'remoteBasePath' => $GLOBALS['wgStylePath'],
1020 'localBasePath' => $GLOBALS['wgStyleDirectory'],