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
23 if ( !defined( 'MEDIAWIKI' ) ) {
24 die( 'Not an entry point.' );
30 * Special modules who have their own classes
33 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
34 'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
35 'noscript' => array( 'class' => 'ResourceLoaderNoscriptModule' ),
36 'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
37 'filepage' => array( 'class' => 'ResourceLoaderFilePageModule' ),
38 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
40 // Scripts managed by the current user (stored in their user space)
41 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
43 // Scripts generated based on the current user's preferences
44 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
46 // Populate mediawiki.user placeholders with information about the current user
47 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
48 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
50 // Scripts for the dynamic language specific data, like grammar forms.
51 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
55 * Be careful not to add 'scripts' to these modules,
56 * since they are loaded with OutputPage::addModuleStyles so that the skin styles
57 * apply without javascript.
58 * If a skin needs custom js in the interface, register a separate module
59 * and add it to the load queue with OutputPage::addModules.
61 * See Vector for an example.
63 'skins.cologneblue' => array(
65 'cologneblue/screen.css' => array( 'media' => 'screen' ),
66 'cologneblue/print.css' => array( 'media' => 'print' ),
68 'remoteBasePath' => $GLOBALS['wgStylePath'],
69 'localBasePath' => $GLOBALS['wgStyleDirectory'],
71 'skins.modern' => array(
73 'modern/main.css' => array( 'media' => 'screen' ),
74 'modern/print.css' => array( 'media' => 'print' ),
76 'remoteBasePath' => $GLOBALS['wgStylePath'],
77 'localBasePath' => $GLOBALS['wgStyleDirectory'],
79 'skins.monobook' => array(
81 'common/commonElements.css' => array( 'media' => 'screen' ),
82 'common/commonContent.css' => array( 'media' => 'screen' ),
83 'common/commonInterface.css' => array( 'media' => 'screen' ),
84 'monobook/main.css' => array( 'media' => 'screen' ),
86 'remoteBasePath' => $GLOBALS['wgStylePath'],
87 'localBasePath' => $GLOBALS['wgStyleDirectory'],
89 'skins.vector' => array(
90 // Keep in sync with WebInstallerOutput::getCSS()
92 'common/commonElements.css' => array( 'media' => 'screen' ),
93 'common/commonContent.css' => array( 'media' => 'screen' ),
94 'common/commonInterface.css' => array( 'media' => 'screen' ),
97 'remoteBasePath' => $GLOBALS['wgStylePath'],
98 'localBasePath' => $GLOBALS['wgStyleDirectory'],
100 'skins.vector.beta' => array(
101 // Keep in sync with skins.vector
103 'common/commonElements.css' => array( 'media' => 'screen' ),
104 'common/commonContent.css' => array( 'media' => 'screen' ),
105 'common/commonInterface.css' => array( 'media' => 'screen' ),
106 'vector/styles-beta.less' => array( 'media' => 'screen' ),
108 'remoteBasePath' => $GLOBALS['wgStylePath'],
109 'localBasePath' => $GLOBALS['wgStyleDirectory'],
111 'skins.vector.js' => array(
113 'vector/collapsibleTabs.js',
117 'dependencies' => 'jquery.delayedBind',
118 'remoteBasePath' => $GLOBALS['wgStylePath'],
119 'localBasePath' => $GLOBALS['wgStyleDirectory'],
121 'skins.vector.collapsibleNav' => array(
123 'vector/collapsibleNav.js',
126 'vector-collapsiblenav-more',
128 'dependencies' => array(
133 'remoteBasePath' => $GLOBALS['wgStylePath'],
134 'localBasePath' => $GLOBALS['wgStyleDirectory'],
135 'position' => 'bottom',
141 'scripts' => 'resources/jquery/jquery.js',
143 'targets' => array( 'desktop', 'mobile' ),
148 'jquery.appear' => array(
149 'scripts' => 'resources/jquery/jquery.appear.js',
151 'jquery.arrowSteps' => array(
152 'scripts' => 'resources/jquery/jquery.arrowSteps.js',
153 'styles' => 'resources/jquery/jquery.arrowSteps.css',
155 'jquery.async' => array(
156 'scripts' => 'resources/jquery/jquery.async.js',
158 'jquery.autoEllipsis' => array(
159 'scripts' => 'resources/jquery/jquery.autoEllipsis.js',
160 'dependencies' => 'jquery.highlightText',
162 'jquery.badge' => array(
163 'scripts' => 'resources/jquery/jquery.badge.js',
164 'styles' => 'resources/jquery/jquery.badge.css',
165 'dependencies' => 'mediawiki.language',
167 'jquery.byteLength' => array(
168 'scripts' => 'resources/jquery/jquery.byteLength.js',
169 'targets' => array( 'desktop', 'mobile' ),
171 'jquery.byteLimit' => array(
172 'scripts' => 'resources/jquery/jquery.byteLimit.js',
173 'dependencies' => 'jquery.byteLength',
175 'jquery.checkboxShiftClick' => array(
176 'scripts' => 'resources/jquery/jquery.checkboxShiftClick.js',
177 'targets' => array( 'desktop', 'mobile' ),
179 'jquery.chosen' => array(
180 'scripts' => 'resources/jquery.chosen/chosen.jquery.js',
181 'styles' => 'resources/jquery.chosen/chosen.css',
183 'jquery.client' => array(
184 'scripts' => 'resources/jquery/jquery.client.js',
185 'targets' => array( 'desktop', 'mobile' ),
187 'jquery.color' => array(
188 'scripts' => 'resources/jquery/jquery.color.js',
189 'dependencies' => 'jquery.colorUtil',
191 'jquery.colorUtil' => array(
192 'scripts' => 'resources/jquery/jquery.colorUtil.js',
194 'jquery.cookie' => array(
195 'scripts' => 'resources/jquery/jquery.cookie.js',
196 'targets' => array( 'desktop', 'mobile' ),
198 'jquery.delayedBind' => array(
199 'scripts' => 'resources/jquery/jquery.delayedBind.js',
201 'jquery.expandableField' => array(
202 'scripts' => 'resources/jquery/jquery.expandableField.js',
203 'dependencies' => 'jquery.delayedBind',
205 'jquery.farbtastic' => array(
206 'scripts' => 'resources/jquery/jquery.farbtastic.js',
207 'styles' => 'resources/jquery/jquery.farbtastic.css',
208 'dependencies' => 'jquery.colorUtil',
210 'jquery.footHovzer' => array(
211 'scripts' => 'resources/jquery/jquery.footHovzer.js',
212 'styles' => 'resources/jquery/jquery.footHovzer.css',
214 'jquery.form' => array(
215 'scripts' => 'resources/jquery/jquery.form.js',
217 'jquery.getAttrs' => array(
218 'scripts' => 'resources/jquery/jquery.getAttrs.js',
219 'targets' => array( 'desktop', 'mobile' ),
221 'jquery.hidpi' => array(
222 'scripts' => 'resources/jquery/jquery.hidpi.js',
223 'targets' => array( 'desktop', 'mobile' ),
225 'jquery.highlightText' => array(
226 'scripts' => 'resources/jquery/jquery.highlightText.js',
227 'dependencies' => 'jquery.mwExtension',
229 'jquery.hoverIntent' => array(
230 'scripts' => 'resources/jquery/jquery.hoverIntent.js',
232 'jquery.json' => array(
233 'scripts' => 'resources/jquery/jquery.json.js',
234 'targets' => array( 'mobile', 'desktop' ),
236 'jquery.localize' => array(
237 'scripts' => 'resources/jquery/jquery.localize.js',
239 'jquery.makeCollapsible' => array(
240 'scripts' => 'resources/jquery/jquery.makeCollapsible.js',
241 'styles' => 'resources/jquery/jquery.makeCollapsible.css',
242 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
243 'targets' => array( 'desktop', 'mobile' ),
245 'jquery.mockjax' => array(
246 'scripts' => 'resources/jquery/jquery.mockjax.js',
248 'jquery.mw-jump' => array(
249 'scripts' => 'resources/jquery/jquery.mw-jump.js',
250 'targets' => array( 'desktop', 'mobile' ),
252 'jquery.mwExtension' => array(
253 'scripts' => 'resources/jquery/jquery.mwExtension.js',
254 'targets' => array( 'desktop', 'mobile' ),
256 'jquery.placeholder' => array(
257 'scripts' => 'resources/jquery/jquery.placeholder.js',
258 'targets' => array( 'desktop', 'mobile' ),
260 'jquery.qunit' => array(
261 'scripts' => 'resources/jquery/jquery.qunit.js',
262 'styles' => 'resources/jquery/jquery.qunit.css',
264 'targets' => array( 'desktop', 'mobile' ),
266 'jquery.qunit.completenessTest' => array(
267 'scripts' => 'resources/jquery/jquery.qunit.completenessTest.js',
268 'dependencies' => 'jquery.qunit',
269 'targets' => array( 'desktop', 'mobile' ),
271 'jquery.spinner' => array(
272 'scripts' => 'resources/jquery/jquery.spinner.js',
273 'styles' => 'resources/jquery/jquery.spinner.css',
275 'jquery.jStorage' => array(
276 'scripts' => 'resources/jquery/jquery.jStorage.js',
277 'dependencies' => 'jquery.json',
279 'jquery.suggestions' => array(
280 'scripts' => 'resources/jquery/jquery.suggestions.js',
281 'styles' => 'resources/jquery/jquery.suggestions.css',
282 'dependencies' => 'jquery.autoEllipsis',
284 'jquery.tabIndex' => array(
285 'scripts' => 'resources/jquery/jquery.tabIndex.js',
287 'jquery.tablesorter' => array(
288 'scripts' => 'resources/jquery/jquery.tablesorter.js',
289 'styles' => 'resources/jquery/jquery.tablesorter.css',
290 'messages' => array( 'sort-descending', 'sort-ascending' ),
291 'dependencies' => array(
292 'jquery.mwExtension',
293 'mediawiki.language.months',
296 'jquery.textSelection' => array(
297 'scripts' => 'resources/jquery/jquery.textSelection.js',
298 'dependencies' => 'jquery.client',
300 'jquery.validate' => array(
301 'scripts' => 'resources/jquery/jquery.validate.js',
303 'jquery.xmldom' => array(
304 'scripts' => 'resources/jquery/jquery.xmldom.js',
309 'jquery.tipsy' => array(
310 'scripts' => 'resources/jquery.tipsy/jquery.tipsy.js',
311 'styles' => 'resources/jquery.tipsy/jquery.tipsy.css',
317 'jquery.ui.core' => array(
318 'scripts' => 'resources/jquery.ui/jquery.ui.core.js',
319 'skinStyles' => array(
321 'resources/jquery.ui/themes/default/jquery.ui.core.css',
322 'resources/jquery.ui/themes/default/jquery.ui.theme.css',
325 'resources/jquery.ui/themes/vector/jquery.ui.core.css',
326 'resources/jquery.ui/themes/vector/jquery.ui.theme.css',
329 'dependencies' => 'jquery',
330 'group' => 'jquery.ui',
332 'jquery.ui.widget' => array(
333 'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
334 'group' => 'jquery.ui',
336 'jquery.ui.mouse' => array(
337 'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
338 'dependencies' => 'jquery.ui.widget',
339 'group' => 'jquery.ui',
341 'jquery.ui.position' => array(
342 'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
343 'group' => 'jquery.ui',
346 'jquery.ui.draggable' => array(
347 'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
348 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
349 'group' => 'jquery.ui',
351 'jquery.ui.droppable' => array(
352 'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
353 'dependencies' => array(
354 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
356 'group' => 'jquery.ui',
358 'jquery.ui.resizable' => array(
359 'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
360 'skinStyles' => array(
361 'default' => 'resources/jquery.ui/themes/default/jquery.ui.resizable.css',
362 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
364 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
365 'group' => 'jquery.ui',
367 'jquery.ui.selectable' => array(
368 'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
369 'skinStyles' => array(
370 'default' => 'resources/jquery.ui/themes/default/jquery.ui.selectable.css',
371 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
373 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
374 'group' => 'jquery.ui',
376 'jquery.ui.sortable' => array(
377 'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
378 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
379 'group' => 'jquery.ui',
382 'jquery.ui.accordion' => array(
383 'scripts' => 'resources/jquery.ui/jquery.ui.accordion.js',
384 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
385 'skinStyles' => array(
386 'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
387 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
389 'group' => 'jquery.ui',
391 'jquery.ui.autocomplete' => array(
392 'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
393 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
394 'skinStyles' => array(
395 'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
396 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
398 'group' => 'jquery.ui',
400 'jquery.ui.button' => array(
401 'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
402 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
403 'skinStyles' => array(
404 'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
405 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
407 'group' => 'jquery.ui',
409 'jquery.ui.datepicker' => array(
410 'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
411 'dependencies' => 'jquery.ui.core',
412 'skinStyles' => array(
413 'default' => 'resources/jquery.ui/themes/default/jquery.ui.datepicker.css',
414 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.datepicker.css',
416 'languageScripts' => array(
417 'af' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-af.js',
418 'ar' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
419 'az' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-az.js',
420 'bg' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
421 'bs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
422 'ca' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
423 'cs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
424 'da' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-da.js',
425 'de' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-de.js',
426 'el' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-el.js',
427 'en-gb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
428 'eo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
429 'es' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-es.js',
430 'et' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-et.js',
431 'eu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
432 'fa' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
433 'fi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
434 'fo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
435 'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
436 'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
437 'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
438 'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
439 'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
440 'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
441 'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
442 'id' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-id.js',
443 'is' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-is.js',
444 'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
445 'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
446 'ka' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
447 'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
448 'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
449 'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
450 'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
451 'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
452 'lv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
453 'mk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
454 'ml' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
455 'ms' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
456 'nl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
457 'no' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-no.js',
458 'pl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
459 'pt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
460 'pt-br' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
461 'rm' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
462 'ro' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
463 'ru' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
464 'sk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
465 'sl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
466 'sq' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
467 'sr-sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
468 'sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
469 'sv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
470 'ta' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
471 'th' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-th.js',
472 'tr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
473 'uk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
474 'vi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
475 'zh-cn' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
476 'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
477 'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
479 'group' => 'jquery.ui',
481 'jquery.ui.dialog' => array(
482 'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
483 'dependencies' => array(
487 'jquery.ui.draggable',
489 'jquery.ui.position',
490 'jquery.ui.resizable',
492 'skinStyles' => array(
493 'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
494 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
496 'group' => 'jquery.ui',
498 'jquery.ui.progressbar' => array(
499 'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
500 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
501 'skinStyles' => array(
502 'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
503 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
505 'group' => 'jquery.ui',
507 'jquery.ui.slider' => array(
508 'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
509 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
510 'skinStyles' => array(
511 'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
512 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
514 'group' => 'jquery.ui',
516 'jquery.ui.tabs' => array(
517 'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
518 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
519 'skinStyles' => array(
520 'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
521 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
523 'group' => 'jquery.ui',
526 'jquery.effects.core' => array(
527 'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
528 'dependencies' => 'jquery',
529 'group' => 'jquery.ui',
531 'jquery.effects.blind' => array(
532 'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
533 'dependencies' => 'jquery.effects.core',
534 'group' => 'jquery.ui',
536 'jquery.effects.bounce' => array(
537 'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
538 'dependencies' => 'jquery.effects.core',
539 'group' => 'jquery.ui',
541 'jquery.effects.clip' => array(
542 'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
543 'dependencies' => 'jquery.effects.core',
544 'group' => 'jquery.ui',
546 'jquery.effects.drop' => array(
547 'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
548 'dependencies' => 'jquery.effects.core',
549 'group' => 'jquery.ui',
551 'jquery.effects.explode' => array(
552 'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
553 'dependencies' => 'jquery.effects.core',
554 'group' => 'jquery.ui',
556 'jquery.effects.fade' => array(
557 'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
558 'dependencies' => 'jquery.effects.core',
559 'group' => 'jquery.ui',
561 'jquery.effects.fold' => array(
562 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
563 'dependencies' => 'jquery.effects.core',
564 'group' => 'jquery.ui',
566 'jquery.effects.highlight' => array(
567 'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
568 'dependencies' => 'jquery.effects.core',
569 'group' => 'jquery.ui',
571 'jquery.effects.pulsate' => array(
572 'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
573 'dependencies' => 'jquery.effects.core',
574 'group' => 'jquery.ui',
576 'jquery.effects.scale' => array(
577 'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
578 'dependencies' => 'jquery.effects.core',
579 'group' => 'jquery.ui',
581 'jquery.effects.shake' => array(
582 'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
583 'dependencies' => 'jquery.effects.core',
584 'group' => 'jquery.ui',
586 'jquery.effects.slide' => array(
587 'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
588 'dependencies' => 'jquery.effects.core',
589 'group' => 'jquery.ui',
591 'jquery.effects.transfer' => array(
592 'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
593 'dependencies' => 'jquery.effects.core',
594 'group' => 'jquery.ui',
599 'mediawiki' => array(
600 'scripts' => 'resources/mediawiki/mediawiki.js',
601 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
603 'targets' => array( 'desktop', 'mobile' ),
605 'mediawiki.api' => array(
606 'scripts' => 'resources/mediawiki.api/mediawiki.api.js',
607 'dependencies' => 'mediawiki.util',
609 'mediawiki.api.category' => array(
610 'scripts' => 'resources/mediawiki.api/mediawiki.api.category.js',
611 'dependencies' => array(
616 'mediawiki.api.edit' => array(
617 'scripts' => 'resources/mediawiki.api/mediawiki.api.edit.js',
618 'dependencies' => array(
623 'mediawiki.api.login' => array(
624 'scripts' => 'resources/mediawiki.api/mediawiki.api.login.js',
625 'dependencies' => array(
629 'mediawiki.api.parse' => array(
630 'scripts' => 'resources/mediawiki.api/mediawiki.api.parse.js',
631 'dependencies' => 'mediawiki.api',
633 'mediawiki.api.watch' => array(
634 'scripts' => 'resources/mediawiki.api/mediawiki.api.watch.js',
635 'dependencies' => array(
640 'mediawiki.icon' => array(
641 'styles' => 'resources/mediawiki/mediawiki.icon.css',
643 'mediawiki.debug' => array(
644 'scripts' => 'resources/mediawiki/mediawiki.debug.js',
645 'styles' => 'resources/mediawiki/mediawiki.debug.css',
646 'dependencies' => 'jquery.footHovzer',
647 'position' => 'bottom',
649 'mediawiki.debug.init' => array(
650 'scripts' => 'resources/mediawiki/mediawiki.debug.init.js',
651 'dependencies' => 'mediawiki.debug',
652 // Uses a custom mw.config variable that is set in debughtml,
653 // must be loaded on the bottom
654 'position' => 'bottom',
656 'mediawiki.inspect' => array(
657 'scripts' => 'resources/mediawiki/mediawiki.inspect.js',
658 'dependencies' => 'jquery.byteLength',
659 'targets' => array( 'desktop', 'mobile' ),
661 'mediawiki.feedback' => array(
662 'scripts' => 'resources/mediawiki/mediawiki.feedback.js',
663 'styles' => 'resources/mediawiki/mediawiki.feedback.css',
664 'dependencies' => array(
665 'mediawiki.api.edit',
667 'mediawiki.jqueryMsg',
671 'feedback-bugornote',
686 'mediawiki.hidpi' => array(
687 'scripts' => 'resources/mediawiki/mediawiki.hidpi.js',
688 'dependencies' => array(
691 'targets' => array( 'desktop', 'mobile' ),
693 'mediawiki.htmlform' => array(
694 'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
695 'messages' => array( 'htmlform-chosen-placeholder' ),
697 'mediawiki.notification' => array(
698 'styles' => 'resources/mediawiki/mediawiki.notification.css',
699 'scripts' => 'resources/mediawiki/mediawiki.notification.js',
700 'dependencies' => array(
701 'mediawiki.page.startup',
704 'mediawiki.notify' => array(
705 'scripts' => 'resources/mediawiki/mediawiki.notify.js',
706 'targets' => array( 'desktop', 'mobile' ),
708 'mediawiki.searchSuggest' => array(
709 'scripts' => 'resources/mediawiki/mediawiki.searchSuggest.js',
710 'styles' => 'resources/mediawiki/mediawiki.searchSuggest.css',
712 'searchsuggest-search',
713 'searchsuggest-containing',
715 'dependencies' => array(
716 'jquery.autoEllipsis',
718 'jquery.placeholder',
719 'jquery.suggestions',
723 'mediawiki.Title' => array(
724 'scripts' => 'resources/mediawiki/mediawiki.Title.js',
725 'dependencies' => array(
730 'mediawiki.Uri' => array(
731 'scripts' => 'resources/mediawiki/mediawiki.Uri.js',
733 'mediawiki.user' => array(
734 'scripts' => 'resources/mediawiki/mediawiki.user.js',
735 'dependencies' => array(
742 'mediawiki.util' => array(
743 'scripts' => 'resources/mediawiki/mediawiki.util.js',
744 'dependencies' => array(
747 'jquery.mwExtension',
750 'messages' => array( 'showtoc', 'hidetoc' ),
751 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
752 'targets' => array( 'desktop', 'mobile' ),
755 /* MediaWiki Action */
757 'mediawiki.action.edit' => array(
758 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js',
759 'dependencies' => array(
760 'mediawiki.action.edit.styles',
761 'jquery.textSelection',
766 'mediawiki.action.edit.styles' => array(
767 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.styles.css',
770 'mediawiki.action.edit.collapsibleFooter' => array(
771 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
772 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
773 'dependencies' => array(
774 'jquery.makeCollapsible',
778 'mediawiki.action.edit.preview' => array(
779 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.preview.js',
780 'dependencies' => array(
783 'mediawiki.action.history.diff',
786 'mediawiki.action.history' => array(
787 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
788 'group' => 'mediawiki.action.history',
790 'mediawiki.action.history.diff' => array(
791 'styles' => 'resources/mediawiki.action/mediawiki.action.history.diff.css',
792 'group' => 'mediawiki.action.history',
794 'mediawiki.action.view.dblClickEdit' => array(
795 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
796 'dependencies' => array(
798 'mediawiki.page.startup',
801 'mediawiki.action.view.metadata' => array(
802 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.metadata.js',
808 'mediawiki.action.view.postEdit' => array(
809 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.js',
810 'styles' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.css',
811 'dependencies' => array(
813 'mediawiki.jqueryMsg'
816 'postedit-confirmation',
819 'mediawiki.action.view.rightClickEdit' => array(
820 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
822 'mediawiki.action.edit.editWarning' => array(
823 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.editWarning.js',
825 'editwarning-warning',
828 // Alias for backwards compatibility
829 'mediawiki.action.watch.ajax' => array(
830 'dependencies' => 'mediawiki.page.watch.ajax'
833 /* MediaWiki Language */
835 'mediawiki.language' => array(
837 'resources/mediawiki.language/mediawiki.language.js',
838 'resources/mediawiki.language/mediawiki.language.numbers.js'
840 'languageScripts' => array(
841 'bs' => 'resources/mediawiki.language/languages/bs.js',
842 'dsb' => 'resources/mediawiki.language/languages/dsb.js',
843 'fi' => 'resources/mediawiki.language/languages/fi.js',
844 'ga' => 'resources/mediawiki.language/languages/ga.js',
845 'he' => 'resources/mediawiki.language/languages/he.js',
846 'hsb' => 'resources/mediawiki.language/languages/hsb.js',
847 'hu' => 'resources/mediawiki.language/languages/hu.js',
848 'hy' => 'resources/mediawiki.language/languages/hy.js',
849 'la' => 'resources/mediawiki.language/languages/la.js',
850 'os' => 'resources/mediawiki.language/languages/os.js',
851 'ru' => 'resources/mediawiki.language/languages/ru.js',
852 'sl' => 'resources/mediawiki.language/languages/sl.js',
853 'uk' => 'resources/mediawiki.language/languages/uk.js',
855 'dependencies' => array(
856 'mediawiki.language.data',
859 'targets' => array( 'desktop', 'mobile' ),
862 'mediawiki.cldr' => array(
863 'scripts' => 'resources/mediawiki.language/mediawiki.cldr.js',
864 'dependencies' => array(
865 'mediawiki.libs.pluralruleparser',
867 'targets' => array( 'desktop', 'mobile' ),
870 'mediawiki.libs.pluralruleparser' => array(
871 'scripts' => 'resources/mediawiki.libs/CLDRPluralRuleParser.js',
872 'targets' => array( 'desktop', 'mobile' ),
875 'mediawiki.language.init' => array(
876 'scripts' => 'resources/mediawiki.language/mediawiki.language.init.js',
877 'targets' => array( 'desktop', 'mobile' ),
880 'mediawiki.jqueryMsg' => array(
881 'scripts' => 'resources/mediawiki/mediawiki.jqueryMsg.js',
882 'dependencies' => array(
884 'mediawiki.language',
886 'targets' => array( 'desktop', 'mobile' ),
889 'mediawiki.language.months' => array(
890 'scripts' => 'resources/mediawiki.language/mediawiki.language.months.js',
891 'dependencies' => 'mediawiki.language',
892 'messages' => array_merge(
893 Language
::$mMonthMsgs,
894 Language
::$mMonthGenMsgs,
895 Language
::$mMonthAbbrevMsgs
901 'mediawiki.libs.jpegmeta' => array(
902 'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
907 'mediawiki.page.gallery' => array(
908 'scripts' => 'resources/mediawiki.page/mediawiki.page.gallery.js',
910 'mediawiki.page.ready' => array(
911 'scripts' => 'resources/mediawiki.page/mediawiki.page.ready.js',
912 'dependencies' => array(
913 'jquery.checkboxShiftClick',
914 'jquery.makeCollapsible',
915 'jquery.placeholder',
919 'targets' => array( 'desktop', 'mobile' ),
921 'mediawiki.page.startup' => array(
922 'scripts' => 'resources/mediawiki.page/mediawiki.page.startup.js',
923 'dependencies' => array(
928 'targets' => array( 'desktop', 'mobile' ),
930 'mediawiki.page.patrol.ajax' => array(
931 'scripts' => 'resources/mediawiki.page/mediawiki.page.patrol.ajax.js',
932 'dependencies' => array(
933 'mediawiki.page.startup',
942 'markedaspatrollednotify',
943 'markedaspatrollederrornotify',
944 'markedaspatrollederror-noautopatrol'
947 'mediawiki.page.watch.ajax' => array(
948 'scripts' => 'resources/mediawiki.page/mediawiki.page.watch.ajax.js',
949 'dependencies' => array(
950 'mediawiki.page.startup',
951 'mediawiki.api.watch',
954 'jquery.mwExtension',
962 'tooltip-ca-unwatch',
966 'mediawiki.page.image.pagination' => array(
967 'scripts' => 'resources/mediawiki.page/mediawiki.page.image.pagination.js',
968 'dependencies' => array( 'jquery.spinner' )
971 /* MediaWiki Special pages */
973 'mediawiki.special' => array(
974 'scripts' => 'resources/mediawiki.special/mediawiki.special.js',
975 'styles' => 'resources/mediawiki.special/mediawiki.special.css',
977 'mediawiki.special.block' => array(
978 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
979 'dependencies' => array(
983 'mediawiki.special.changeemail' => array(
984 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js',
985 'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css',
986 'dependencies' => array(
990 'email-address-validity-valid',
991 'email-address-validity-invalid',
994 'mediawiki.special.changeslist' => array(
995 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css',
997 'mediawiki.special.changeslist.enhanced' => array(
998 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1000 'mediawiki.special.movePage' => array(
1001 'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
1002 'dependencies' => 'jquery.byteLimit',
1004 'mediawiki.special.pagesWithProp' => array(
1005 'styles' => 'resources/mediawiki.special/mediawiki.special.pagesWithProp.css',
1007 'mediawiki.special.preferences' => array(
1008 'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js',
1009 'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css',
1010 'position' => 'top',
1012 'mediawiki.special.recentchanges' => array(
1013 'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js',
1014 'dependencies' => array( 'mediawiki.special' ),
1015 'position' => 'top',
1017 'mediawiki.special.search' => array(
1018 'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js',
1019 'styles' => 'resources/mediawiki.special/mediawiki.special.search.css',
1020 'messages' => array(
1021 'powersearch-togglelabel',
1022 'powersearch-toggleall',
1023 'powersearch-togglenone',
1026 'mediawiki.special.undelete' => array(
1027 'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
1029 'mediawiki.special.upload' => array(
1030 // @todo merge in remainder of mediawiki.legacy.upload
1031 'scripts' => 'resources/mediawiki.special/mediawiki.special.upload.js',
1032 'messages' => array(
1040 'dependencies' => array( 'mediawiki.libs.jpegmeta', 'mediawiki.util' ),
1042 'mediawiki.special.userlogin' => array(
1044 'resources/mediawiki.special/mediawiki.special.vforms.css',
1045 'resources/mediawiki.special/mediawiki.special.userLogin.css',
1047 'position' => 'top',
1049 'mediawiki.special.createaccount' => array(
1051 'resources/mediawiki.special/mediawiki.special.vforms.css',
1052 'resources/mediawiki.special/mediawiki.special.createAccount.css',
1055 'mediawiki.special.createaccount.js' => array(
1056 'scripts' => 'resources/mediawiki.special/mediawiki.special.createAccount.js',
1057 'messages' => array(
1058 'createacct-captcha',
1059 'createacct-emailrequired',
1060 'createacct-imgcaptcha-ph'
1062 'dependencies' => 'mediawiki.jqueryMsg',
1063 'position' => 'top',
1065 'mediawiki.special.javaScriptTest' => array(
1066 'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
1067 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1069 'javascripttest-pagetext-skins',
1071 'dependencies' => array( 'jquery.qunit' ),
1072 'position' => 'top',
1073 'targets' => array( 'desktop', 'mobile' ),
1076 /* MediaWiki Tests */
1078 'mediawiki.tests.qunit.testrunner' => array(
1079 'scripts' => 'tests/qunit/data/testrunner.js',
1080 'dependencies' => array(
1083 'jquery.qunit.completenessTest',
1084 'mediawiki.page.startup',
1085 'mediawiki.page.ready',
1087 'position' => 'top',
1088 'targets' => array( 'desktop', 'mobile' ),
1091 /* MediaWiki Legacy */
1093 'mediawiki.legacy.ajax' => array(
1094 'scripts' => 'common/ajax.js',
1095 'remoteBasePath' => $GLOBALS['wgStylePath'],
1096 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1097 'dependencies' => array(
1099 'mediawiki.legacy.wikibits',
1101 'position' => 'top', // Temporary hack for legacy support
1103 'mediawiki.legacy.commonPrint' => array(
1104 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
1105 'remoteBasePath' => $GLOBALS['wgStylePath'],
1106 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1108 'mediawiki.legacy.config' => array(
1109 'scripts' => 'common/config.js',
1110 'styles' => array( 'common/config.css', 'common/config-cc.css' ),
1111 'remoteBasePath' => $GLOBALS['wgStylePath'],
1112 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1113 'dependencies' => 'mediawiki.legacy.wikibits',
1115 'mediawiki.legacy.IEFixes' => array(
1116 'scripts' => 'common/IEFixes.js',
1117 'remoteBasePath' => $GLOBALS['wgStylePath'],
1118 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1119 'dependencies' => 'mediawiki.legacy.wikibits',
1121 'mediawiki.legacy.protect' => array(
1122 'scripts' => 'common/protect.js',
1123 'remoteBasePath' => $GLOBALS['wgStylePath'],
1124 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1125 'dependencies' => array(
1126 'mediawiki.legacy.wikibits',
1129 'position' => 'top',
1131 'mediawiki.legacy.shared' => array(
1132 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
1133 'remoteBasePath' => $GLOBALS['wgStylePath'],
1134 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1136 'mediawiki.legacy.oldshared' => array(
1137 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
1138 'remoteBasePath' => $GLOBALS['wgStylePath'],
1139 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1141 'mediawiki.legacy.upload' => array(
1142 'scripts' => 'common/upload.js',
1143 'remoteBasePath' => $GLOBALS['wgStylePath'],
1144 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1145 'dependencies' => array(
1148 'mediawiki.legacy.wikibits',
1152 'mediawiki.legacy.wikibits' => array(
1153 'scripts' => 'common/wikibits.js',
1154 'remoteBasePath' => $GLOBALS['wgStylePath'],
1155 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1156 'dependencies' => array(
1159 'position' => 'top',
1161 'mediawiki.ui' => array(
1162 'skinStyles' => array(
1163 'default' => 'resources/mediawiki.ui/mediawiki.ui.default.css',
1164 'vector' => 'resources/mediawiki.ui/mediawiki.ui.vector.css',
1166 'position' => 'top',