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.defaults' => array( 'class' => 'ResourceLoaderUserDefaultsModule' ),
48 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
49 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
51 // Scripts for the dynamic language specific data, like grammar forms.
52 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
54 /* MediaWiki base skinning modules */
57 * Common skin styles, grouped into three graded levels.
60 * The base level that only contains the most basic of common skin styles.
61 * Only styles for single elements are included, no styling for complex structures like the
62 * TOC is present. This level is for skins that want to implement the entire style of even
63 * content area structures like the TOC themselves.
66 * The most commonly used level for skins implemented from scratch. This level includes all
67 * the single element styles from "elements" as well as styles for complex structures such
68 * as the TOC that are output in the content area by MediaWiki rather than the skin.
69 * Essentially this is the common level that lets skins leave the style of the content area
70 * as it is normally styled, while leaving the rest of the skin up to the skin
73 * Level 3 "interface":
74 * The highest level, this stylesheet contains extra common styles for classes like
75 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
76 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
77 * common to MonoBook clones. And since practically every skin that currently exists within
78 * core is a MonoBook clone, all our core skins currently use this level.
80 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
81 * dependency management. As a result they contain duplicate stylesheet references instead of
82 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
83 * including more than one of them into your skin as this will result in duplicate CSS.
85 'mediawiki.skinning.elements' => array(
87 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
90 'mediawiki.skinning.content' => array(
92 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
93 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
96 'mediawiki.skinning.interface' => array(
97 'class' => 'ResourceLoaderSkinModule',
98 // Used in the web installer. Test it after modifying this definition!
100 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
101 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
102 'resources/src/mediawiki.skinning/interface.css' => array( 'media' => 'screen' ),
106 'mediawiki.skinning.content.parsoid' => array(
107 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
108 // with the interface.css styles; skinStyles should be used if your
109 // skin over-rides common content styling.
110 'skinStyles' => array(
111 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
113 'targets' => array( 'desktop', 'mobile' ),
116 'mediawiki.skinning.content.externallinks' => array(
118 'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
126 'resources/lib/jquery/jquery.js',
129 'targets' => array( 'desktop', 'mobile' ),
134 'jquery.accessKeyLabel' => array(
135 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
136 'dependencies' => array(
138 'jquery.mwExtension',
140 'messages' => array( 'brackets', 'word-separator' ),
141 'targets' => array( 'mobile', 'desktop' ),
143 'jquery.appear' => array(
144 'scripts' => 'resources/lib/jquery/jquery.appear.js',
146 'jquery.arrowSteps' => array(
147 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
148 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
150 'jquery.async' => array(
151 'scripts' => 'resources/lib/jquery/jquery.async.js',
153 'jquery.autoEllipsis' => array(
154 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
155 'dependencies' => 'jquery.highlightText',
156 'targets' => array( 'desktop', 'mobile' ),
158 'jquery.badge' => array(
159 'scripts' => 'resources/src/jquery/jquery.badge.js',
160 'styles' => 'resources/src/jquery/jquery.badge.css',
161 'dependencies' => 'mediawiki.language',
163 'jquery.byteLength' => array(
164 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
165 'targets' => array( 'desktop', 'mobile' ),
167 'jquery.byteLimit' => array(
168 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
169 'dependencies' => 'jquery.byteLength',
170 'targets' => array( 'desktop', 'mobile' ),
172 'jquery.checkboxShiftClick' => array(
173 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
174 'targets' => array( 'desktop', 'mobile' ),
176 'jquery.chosen' => array(
177 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
178 'styles' => 'resources/lib/jquery.chosen/chosen.css',
180 'jquery.client' => array(
181 'scripts' => 'resources/src/jquery/jquery.client.js',
182 'targets' => array( 'desktop', 'mobile' ),
184 'jquery.color' => array(
185 'scripts' => 'resources/src/jquery/jquery.color.js',
186 'dependencies' => 'jquery.colorUtil',
188 'jquery.colorUtil' => array(
189 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
191 'jquery.confirmable' => array(
193 'resources/src/jquery/jquery.confirmable.js',
194 'resources/src/jquery/jquery.confirmable.mediawiki.js',
197 'confirmable-confirm',
202 'styles' => 'resources/src/jquery/jquery.confirmable.css',
203 'dependencies' => 'mediawiki.jqueryMsg',
205 // Use mediawiki.cookie in new code, rather than jquery.cookie.
206 'jquery.cookie' => array(
207 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
208 'targets' => array( 'desktop', 'mobile' ),
210 'jquery.expandableField' => array(
211 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
213 'jquery.farbtastic' => array(
214 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
215 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
216 'dependencies' => 'jquery.colorUtil',
218 'jquery.footHovzer' => array(
219 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
220 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
222 'jquery.form' => array(
223 'scripts' => 'resources/lib/jquery/jquery.form.js',
225 'jquery.fullscreen' => array(
226 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
228 'jquery.getAttrs' => array(
229 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
230 'targets' => array( 'desktop', 'mobile' ),
232 'jquery.hidpi' => array(
233 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
234 'targets' => array( 'desktop', 'mobile' ),
236 'jquery.highlightText' => array(
237 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
238 'dependencies' => 'jquery.mwExtension',
239 'targets' => array( 'desktop', 'mobile' ),
241 'jquery.hoverIntent' => array(
242 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
244 'jquery.localize' => array(
245 'scripts' => 'resources/src/jquery/jquery.localize.js',
247 'jquery.makeCollapsible' => array(
248 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
249 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
250 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
251 'targets' => array( 'desktop', 'mobile' ),
253 'jquery.mockjax' => array(
254 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
256 'jquery.mw-jump' => array(
257 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
258 'targets' => array( 'desktop', 'mobile' ),
260 'jquery.mwExtension' => array(
261 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
262 'targets' => array( 'desktop', 'mobile' ),
264 'jquery.placeholder' => array(
265 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
266 'targets' => array( 'desktop', 'mobile' ),
268 'jquery.qunit' => array(
269 'scripts' => 'resources/lib/qunitjs/qunit.js',
270 'styles' => 'resources/lib/qunitjs/qunit.css',
272 'targets' => array( 'desktop', 'mobile' ),
274 'jquery.qunit.completenessTest' => array(
275 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
276 'dependencies' => 'jquery.qunit',
277 'targets' => array( 'desktop', 'mobile' ),
279 'jquery.spinner' => array(
280 'scripts' => 'resources/src/jquery/jquery.spinner.js',
281 'styles' => 'resources/src/jquery/jquery.spinner.css',
283 'jquery.jStorage' => array(
284 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
285 'dependencies' => 'json',
287 'jquery.suggestions' => array(
288 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
289 'styles' => 'resources/src/jquery/jquery.suggestions.css',
290 'dependencies' => 'jquery.highlightText',
292 'jquery.tabIndex' => array(
293 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
295 'jquery.tablesorter' => array(
296 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
297 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
298 'messages' => array( 'sort-descending', 'sort-ascending' ),
299 'dependencies' => array(
300 'jquery.mwExtension',
301 'mediawiki.language.months',
304 'jquery.textSelection' => array(
305 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
306 'dependencies' => 'jquery.client',
308 'jquery.throttle-debounce' => array(
309 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
310 'targets' => array( 'desktop', 'mobile' ),
312 'jquery.validate' => array(
313 'scripts' => 'resources/lib/jquery/jquery.validate.js',
315 'jquery.xmldom' => array(
316 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
321 'jquery.tipsy' => array(
322 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
323 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
328 'jquery.ui.core' => array(
329 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
330 'skinStyles' => array(
332 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
333 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
336 'group' => 'jquery.ui',
338 'jquery.ui.accordion' => array(
339 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
340 'dependencies' => array(
344 'skinStyles' => array(
345 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
347 'group' => 'jquery.ui',
349 'jquery.ui.autocomplete' => array(
350 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
351 'dependencies' => array(
354 'jquery.ui.position',
357 'skinStyles' => array(
358 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
360 'group' => 'jquery.ui',
362 'jquery.ui.button' => array(
363 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
364 'dependencies' => array(
368 'skinStyles' => array(
369 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
371 'group' => 'jquery.ui',
373 'jquery.ui.datepicker' => array(
374 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
375 'dependencies' => 'jquery.ui.core',
376 'skinStyles' => array(
377 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
379 'languageScripts' => array(
380 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
381 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
382 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
383 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
384 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
385 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
386 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
387 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
388 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
389 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
390 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
391 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
392 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
393 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
394 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
395 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
396 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
397 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
398 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
399 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
400 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
401 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
402 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
403 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
404 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
405 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
406 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
407 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
408 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
409 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
410 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
411 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
412 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
413 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
414 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
415 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
416 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
417 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
418 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
419 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
420 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
421 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
422 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
423 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
424 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
425 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
426 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
427 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
428 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
429 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
430 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
431 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
432 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
433 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
434 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
435 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
436 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
437 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
438 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
439 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
440 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
441 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
442 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
443 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
444 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
445 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
446 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
448 'group' => 'jquery.ui',
450 'jquery.ui.dialog' => array(
451 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
452 'dependencies' => array(
456 'jquery.ui.draggable',
458 'jquery.ui.position',
459 'jquery.ui.resizable',
461 'skinStyles' => array(
462 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
464 'group' => 'jquery.ui',
466 'jquery.ui.draggable' => array(
467 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
468 'dependencies' => array(
473 'group' => 'jquery.ui',
475 'jquery.ui.droppable' => array(
476 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
477 'dependencies' => array(
481 'jquery.ui.draggable',
483 'group' => 'jquery.ui',
485 'jquery.ui.menu' => array(
486 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
487 'dependencies' => array(
490 'jquery.ui.position',
492 'skinStyles' => array(
493 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
495 'group' => 'jquery.ui',
497 'jquery.ui.mouse' => array(
498 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
499 'dependencies' => 'jquery.ui.widget',
500 'group' => 'jquery.ui',
502 'jquery.ui.position' => array(
503 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
504 'group' => 'jquery.ui',
506 'jquery.ui.progressbar' => array(
507 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
508 'dependencies' => array(
512 'skinStyles' => array(
513 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
515 'group' => 'jquery.ui',
517 'jquery.ui.resizable' => array(
518 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
519 'dependencies' => array(
524 'skinStyles' => array(
525 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
527 'group' => 'jquery.ui',
529 'jquery.ui.selectable' => array(
530 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
531 'dependencies' => array(
536 'skinStyles' => array(
537 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
539 'group' => 'jquery.ui',
541 'jquery.ui.slider' => array(
542 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
543 'dependencies' => array(
548 'skinStyles' => array(
549 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
551 'group' => 'jquery.ui',
553 'jquery.ui.sortable' => array(
554 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
555 'dependencies' => array(
560 'group' => 'jquery.ui',
562 'jquery.ui.spinner' => array(
563 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
564 'dependencies' => array(
569 'skinStyles' => array(
570 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
572 'group' => 'jquery.ui',
574 'jquery.ui.tabs' => array(
575 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
576 'dependencies' => array(
580 'skinStyles' => array(
581 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
583 'group' => 'jquery.ui',
585 'jquery.ui.tooltip' => array(
586 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
587 'dependencies' => array(
590 'jquery.ui.position',
592 'skinStyles' => array(
593 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
595 'group' => 'jquery.ui',
597 'jquery.ui.widget' => array(
598 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
599 'group' => 'jquery.ui',
602 'jquery.effects.core' => array(
603 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
604 'group' => 'jquery.ui',
606 'jquery.effects.blind' => array(
607 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
608 'dependencies' => 'jquery.effects.core',
609 'group' => 'jquery.ui',
611 'jquery.effects.bounce' => array(
612 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
613 'dependencies' => 'jquery.effects.core',
614 'group' => 'jquery.ui',
616 'jquery.effects.clip' => array(
617 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
618 'dependencies' => 'jquery.effects.core',
619 'group' => 'jquery.ui',
621 'jquery.effects.drop' => array(
622 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
623 'dependencies' => 'jquery.effects.core',
624 'group' => 'jquery.ui',
626 'jquery.effects.explode' => array(
627 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
628 'dependencies' => 'jquery.effects.core',
629 'group' => 'jquery.ui',
631 'jquery.effects.fade' => array(
632 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
633 'dependencies' => 'jquery.effects.core',
634 'group' => 'jquery.ui',
636 'jquery.effects.fold' => array(
637 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
638 'dependencies' => 'jquery.effects.core',
639 'group' => 'jquery.ui',
641 'jquery.effects.highlight' => array(
642 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
643 'dependencies' => 'jquery.effects.core',
644 'group' => 'jquery.ui',
646 'jquery.effects.pulsate' => array(
647 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
648 'dependencies' => 'jquery.effects.core',
649 'group' => 'jquery.ui',
651 'jquery.effects.scale' => array(
652 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
653 'dependencies' => 'jquery.effects.core',
654 'group' => 'jquery.ui',
656 'jquery.effects.shake' => array(
657 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
658 'dependencies' => 'jquery.effects.core',
659 'group' => 'jquery.ui',
661 'jquery.effects.slide' => array(
662 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
663 'dependencies' => 'jquery.effects.core',
664 'group' => 'jquery.ui',
666 'jquery.effects.transfer' => array(
667 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
668 'dependencies' => 'jquery.effects.core',
669 'group' => 'jquery.ui',
675 'scripts' => 'resources/lib/json2/json2.js',
676 'targets' => array( 'desktop', 'mobile' ),
677 'skipFunction' => 'resources/src/json-skip.js',
683 'scripts' => 'resources/lib/moment/moment.js',
684 'languageScripts' => array(
685 'af' => 'resources/lib/moment/locale/af.js',
686 'ar' => 'resources/lib/moment/locale/ar.js',
687 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
688 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
689 'az' => 'resources/lib/moment/locale/az.js',
690 'be' => 'resources/lib/moment/locale/be.js',
691 'bg' => 'resources/lib/moment/locale/bg.js',
692 'bn' => 'resources/lib/moment/locale/bn.js',
693 'bo' => 'resources/lib/moment/locale/bo.js',
694 'br' => 'resources/lib/moment/locale/br.js',
695 'bs' => 'resources/lib/moment/locale/bs.js',
696 'ca' => 'resources/lib/moment/locale/ca.js',
697 'cs' => 'resources/lib/moment/locale/cs.js',
698 'cv' => 'resources/lib/moment/locale/cv.js',
699 'cy' => 'resources/lib/moment/locale/cy.js',
700 'da' => 'resources/lib/moment/locale/da.js',
701 'de' => 'resources/lib/moment/locale/de.js',
702 'de-at' => 'resources/lib/moment/locale/de-at.js',
703 'el' => 'resources/lib/moment/locale/el.js',
704 'en-au' => 'resources/lib/moment/locale/en-au.js',
705 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
706 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
707 'eo' => 'resources/lib/moment/locale/eo.js',
708 'es' => 'resources/lib/moment/locale/es.js',
709 'et' => 'resources/lib/moment/locale/et.js',
710 'eu' => 'resources/lib/moment/locale/eu.js',
711 'fa' => 'resources/lib/moment/locale/fa.js',
712 'fi' => 'resources/lib/moment/locale/fi.js',
713 'fo' => 'resources/lib/moment/locale/fo.js',
714 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
715 'fr' => 'resources/lib/moment/locale/fr.js',
716 'gl' => 'resources/lib/moment/locale/gl.js',
717 'he' => 'resources/lib/moment/locale/he.js',
718 'hi' => 'resources/lib/moment/locale/hi.js',
719 'hr' => 'resources/lib/moment/locale/hr.js',
720 'hu' => 'resources/lib/moment/locale/hu.js',
721 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
722 'id' => 'resources/lib/moment/locale/id.js',
723 'is' => 'resources/lib/moment/locale/is.js',
724 'it' => 'resources/lib/moment/locale/it.js',
725 'ja' => 'resources/lib/moment/locale/ja.js',
726 'ka' => 'resources/lib/moment/locale/ka.js',
727 'ko' => 'resources/lib/moment/locale/ko.js',
728 'lt' => 'resources/lib/moment/locale/lt.js',
729 'lv' => 'resources/lib/moment/locale/lv.js',
730 'mk' => 'resources/lib/moment/locale/mk.js',
731 'ml' => 'resources/lib/moment/locale/ml.js',
732 'mr' => 'resources/lib/moment/locale/mr.js',
733 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
734 'my' => 'resources/lib/moment/locale/my.js',
735 'nb' => 'resources/lib/moment/locale/nb.js',
736 'ne' => 'resources/lib/moment/locale/ne.js',
737 'nl' => 'resources/lib/moment/locale/nl.js',
738 'nn' => 'resources/lib/moment/locale/nn.js',
739 'pl' => 'resources/lib/moment/locale/pl.js',
740 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
741 'pt' => 'resources/lib/moment/locale/pt.js',
742 'ro' => 'resources/lib/moment/locale/ro.js',
743 'ru' => 'resources/lib/moment/locale/ru.js',
744 'sk' => 'resources/lib/moment/locale/sk.js',
745 'sl' => 'resources/lib/moment/locale/sl.js',
746 'sq' => 'resources/lib/moment/locale/sq.js',
747 'sr' => 'resources/lib/moment/locale/sr.js',
748 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
749 'sv' => 'resources/lib/moment/locale/sv.js',
750 'ta' => 'resources/lib/moment/locale/ta.js',
751 'th' => 'resources/lib/moment/locale/th.js',
752 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
753 'tr' => 'resources/lib/moment/locale/tr.js',
754 'tzm' => 'resources/lib/moment/locale/tzm.js',
755 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
756 'uk' => 'resources/lib/moment/locale/uk.js',
757 'uz' => 'resources/lib/moment/locale/uz.js',
758 'vi' => 'resources/lib/moment/locale/vi.js',
759 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
760 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
762 'targets' => array( 'desktop', 'mobile' ),
767 'mediawiki' => array(
769 'resources/src/mediawiki/mediawiki.js',
770 'resources/src/mediawiki/mediawiki.startUp.js',
772 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
774 'targets' => array( 'desktop', 'mobile' ),
776 'mediawiki.apihelp' => array(
777 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
778 'targets' => array( 'desktop' ),
779 'dependencies' => array(
784 'mediawiki.template' => array(
785 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
786 'targets' => array( 'desktop', 'mobile' ),
788 'mediawiki.apipretty' => array(
789 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
790 'targets' => array( 'desktop', 'mobile' ),
793 'mediawiki.api' => array(
794 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
795 'dependencies' => 'mediawiki.util',
796 'targets' => array( 'desktop', 'mobile' ),
798 'mediawiki.api.category' => array(
799 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
800 'dependencies' => array(
805 'mediawiki.api.edit' => array(
806 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
807 'dependencies' => array(
813 'mediawiki.api.login' => array(
814 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
815 'dependencies' => array(
819 'mediawiki.api.parse' => array(
820 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
821 'dependencies' => 'mediawiki.api',
823 'mediawiki.api.watch' => array(
824 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
825 'dependencies' => array(
830 'mediawiki.content.json' => array(
831 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
833 'mediawiki.confirmCloseWindow' => array(
835 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
838 'mediawiki.debug' => array(
840 'resources/src/mediawiki/mediawiki.debug.js',
843 'resources/src/mediawiki/mediawiki.debug.less',
845 'dependencies' => array(
849 'position' => 'bottom',
851 'mediawiki.debug.init' => array(
852 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
853 'dependencies' => 'mediawiki.debug',
854 // Uses a custom mw.config variable that is set in debughtml,
855 // must be loaded on the bottom
856 'position' => 'bottom',
858 'mediawiki.feedback' => array(
859 'templates' => array(
860 'dialog.html' => 'resources/src/mediawiki/templates/dialog.html',
862 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
863 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
864 'dependencies' => array(
865 'mediawiki.api.edit',
867 'mediawiki.jqueryMsg',
871 'feedback-bugornote',
886 'mediawiki.hidpi' => array(
887 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
888 'dependencies' => array(
891 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
892 'targets' => array( 'desktop', 'mobile' ),
894 'mediawiki.hlist' => array(
895 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
896 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
897 'dependencies' => array(
901 'mediawiki.htmlform' => array(
902 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
903 'dependencies' => array(
904 'jquery.mwExtension',
908 'htmlform-chosen-placeholder',
909 // @todo Load this message in content language
913 'mediawiki.icon' => array(
914 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
916 'mediawiki.inspect' => array(
917 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
918 'dependencies' => array(
922 'targets' => array( 'desktop', 'mobile' ),
924 'mediawiki.notification' => array(
926 'resources/src/mediawiki/mediawiki.notification.css',
927 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
928 => array( 'media' => 'print' ),
930 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
931 'dependencies' => array(
932 'mediawiki.page.startup',
934 'targets' => array( 'desktop', 'mobile' ),
936 'mediawiki.notify' => array(
937 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
938 'targets' => array( 'desktop', 'mobile' ),
940 'mediawiki.pager.tablePager' => array(
941 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
944 'mediawiki.searchSuggest' => array(
945 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
946 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
948 'searchsuggest-search',
949 'searchsuggest-containing',
951 'dependencies' => array(
953 'jquery.placeholder',
954 'jquery.suggestions',
959 'mediawiki.Title' => array(
960 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
961 'dependencies' => array(
965 'targets' => array( 'desktop', 'mobile' ),
967 'mediawiki.toc' => array(
968 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
969 'dependencies' => array(
972 'messages' => array( 'showtoc', 'hidetoc' ),
973 'targets' => array( 'desktop', 'mobile' ),
975 'mediawiki.Uri' => array(
976 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
977 'dependencies' => 'mediawiki.util',
978 'targets' => array( 'desktop', 'mobile' ),
980 'mediawiki.user' => array(
981 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
982 'dependencies' => array(
988 'targets' => array( 'desktop', 'mobile' ),
990 'mediawiki.userSuggest' => array(
991 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
992 'dependencies' => array(
993 'jquery.suggestions',
997 'mediawiki.util' => array(
998 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
999 'dependencies' => array(
1000 'jquery.accessKeyLabel',
1001 'jquery.mwExtension',
1004 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
1005 'targets' => array( 'desktop', 'mobile' ),
1007 'mediawiki.cookie' => array(
1008 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1009 'dependencies' => array(
1012 'targets' => array( 'desktop', 'mobile' ),
1014 'mediawiki.toolbar' => array(
1015 'class' => 'ResourceLoaderEditToolbarModule',
1016 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1017 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1018 'position' => 'top',
1021 /* MediaWiki Action */
1023 'mediawiki.action.edit' => array(
1024 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1025 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1026 'dependencies' => array(
1027 'mediawiki.action.edit.styles',
1028 'jquery.textSelection',
1031 'position' => 'top',
1033 'mediawiki.action.edit.styles' => array(
1034 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1035 'position' => 'top',
1037 'mediawiki.action.edit.collapsibleFooter' => array(
1038 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1039 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1040 'dependencies' => array(
1041 'jquery.makeCollapsible',
1046 'mediawiki.action.edit.preview' => array(
1047 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1048 'dependencies' => array(
1051 'jquery.textSelection',
1053 'mediawiki.action.history.diff',
1055 'mediawiki.jqueryMsg',
1057 'messages' => array(
1064 'mediawiki.action.edit.stash' => array(
1065 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1066 'dependencies' => array(
1071 'mediawiki.action.history' => array(
1072 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1073 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1074 'group' => 'mediawiki.action.history',
1076 'mediawiki.action.history.diff' => array(
1078 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1079 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array(
1083 'group' => 'mediawiki.action.history',
1084 'targets' => array( 'desktop', 'mobile' ),
1086 'mediawiki.action.view.dblClickEdit' => array(
1087 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1088 'dependencies' => array(
1090 'mediawiki.page.startup',
1094 'mediawiki.action.view.metadata' => array(
1095 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1096 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1097 'messages' => array(
1099 'metadata-collapse',
1102 'mediawiki.action.view.postEdit' => array(
1103 'templates' => array(
1104 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1106 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1107 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1108 'dependencies' => array(
1110 'mediawiki.jqueryMsg'
1112 'messages' => array(
1113 'postedit-confirmation-created',
1114 'postedit-confirmation-restored',
1115 'postedit-confirmation-saved',
1118 'mediawiki.action.view.redirect' => array(
1119 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1120 'dependencies' => array(
1123 'position' => 'top',
1125 'mediawiki.action.view.redirectPage' => array(
1126 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1127 'position' => 'top',
1129 'mediawiki.action.view.rightClickEdit' => array(
1130 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1132 'mediawiki.action.edit.editWarning' => array(
1133 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1134 'dependencies' => array(
1135 'jquery.textSelection',
1136 'mediawiki.jqueryMsg',
1137 'mediawiki.confirmCloseWindow',
1139 'messages' => array(
1140 'editwarning-warning',
1141 // editwarning-warning uses {{int:prefs-editing}}
1146 /* MediaWiki Language */
1148 'mediawiki.language' => array(
1150 'resources/src/mediawiki.language/mediawiki.language.js',
1151 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1152 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1154 'languageScripts' => array(
1155 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1156 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1157 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1158 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1159 'he' => 'resources/src/mediawiki.language/languages/he.js',
1160 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1161 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1162 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1163 'la' => 'resources/src/mediawiki.language/languages/la.js',
1164 'os' => 'resources/src/mediawiki.language/languages/os.js',
1165 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1166 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1167 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1169 'dependencies' => array(
1170 'mediawiki.language.data',
1173 'targets' => array( 'desktop', 'mobile' ),
1174 'messages' => array(
1181 'mediawiki.cldr' => array(
1182 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1183 'dependencies' => array(
1184 'mediawiki.libs.pluralruleparser',
1186 'targets' => array( 'desktop', 'mobile' ),
1189 'mediawiki.libs.pluralruleparser' => array(
1190 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1191 'targets' => array( 'desktop', 'mobile' ),
1194 'mediawiki.language.init' => array(
1195 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1196 'targets' => array( 'desktop', 'mobile' ),
1199 'mediawiki.jqueryMsg' => array(
1200 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1201 'dependencies' => array(
1203 'mediawiki.language',
1205 'targets' => array( 'desktop', 'mobile' ),
1208 'mediawiki.language.months' => array(
1209 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1210 'dependencies' => 'mediawiki.language',
1211 'messages' => array_merge(
1212 Language
::$mMonthMsgs,
1213 Language
::$mMonthGenMsgs,
1214 Language
::$mMonthAbbrevMsgs
1218 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1220 /* MediaWiki Libs */
1222 'mediawiki.libs.jpegmeta' => array(
1223 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1226 /* MediaWiki Page */
1228 'mediawiki.page.gallery' => array(
1229 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1230 'dependencies' => array(
1231 'jquery.throttle-debounce',
1234 'mediawiki.page.ready' => array(
1235 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1236 'dependencies' => array(
1237 'jquery.accessKeyLabel',
1238 'jquery.checkboxShiftClick',
1239 'jquery.makeCollapsible',
1240 'jquery.placeholder',
1243 'targets' => array( 'desktop', 'mobile' ),
1245 'mediawiki.page.startup' => array(
1246 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1247 'dependencies' => array(
1250 'position' => 'top',
1251 'targets' => array( 'desktop', 'mobile' ),
1253 'mediawiki.page.patrol.ajax' => array(
1254 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1255 'dependencies' => array(
1256 'mediawiki.page.startup',
1264 'messages' => array(
1265 'markedaspatrollednotify',
1266 'markedaspatrollederrornotify',
1267 'markedaspatrollederror-noautopatrol'
1270 'mediawiki.page.watch.ajax' => array(
1271 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1272 'dependencies' => array(
1273 'mediawiki.api.watch',
1275 'mediawiki.page.startup',
1277 'jquery.accessKeyLabel',
1278 'jquery.mwExtension',
1280 'messages' => array(
1286 'tooltip-ca-unwatch',
1290 'mediawiki.page.image.pagination' => array(
1291 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1292 'dependencies' => array(
1299 /* MediaWiki Special pages */
1301 'mediawiki.special' => array(
1302 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1303 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1305 'mediawiki.special.block' => array(
1306 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1307 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1308 'dependencies' => array(
1312 'mediawiki.special.changeemail' => array(
1313 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1314 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1315 'dependencies' => array(
1318 'messages' => array(
1319 'email-address-validity-valid',
1320 'email-address-validity-invalid',
1323 'mediawiki.special.changeslist' => array(
1324 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1326 'mediawiki.special.changeslist.legend' => array(
1327 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1329 'mediawiki.special.changeslist.legend.js' => array(
1330 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1331 'dependencies' => array(
1332 'jquery.makeCollapsible',
1336 'mediawiki.special.changeslist.enhanced' => array(
1337 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1339 'mediawiki.special.import' => array(
1340 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1342 'mediawiki.special.movePage' => array(
1343 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1344 'dependencies' => 'jquery.byteLimit',
1346 'mediawiki.special.pageLanguage' => array(
1347 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1349 'mediawiki.special.pagesWithProp' => array(
1350 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1352 'mediawiki.special.preferences' => array(
1353 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1354 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1355 'position' => 'top',
1356 'messages' => array(
1357 'prefs-tabs-navigation-hint',
1358 'prefswarning-warning',
1361 'dependencies' => array(
1362 'mediawiki.language',
1365 'mediawiki.special.recentchanges' => array(
1366 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1367 'dependencies' => array( 'mediawiki.special' ),
1368 'position' => 'top',
1370 'mediawiki.special.search' => array(
1371 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1372 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1373 'messages' => array(
1374 'powersearch-togglelabel',
1375 'powersearch-toggleall',
1376 'powersearch-togglenone',
1379 'mediawiki.special.undelete' => array(
1380 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1382 'mediawiki.special.upload' => array(
1383 'templates' => array(
1384 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1386 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1387 'messages' => array(
1394 'editwarning-warning',
1395 // editwarning-warning uses {{int:prefs-editing}}
1398 'dependencies' => array(
1400 'mediawiki.jqueryMsg',
1402 'mediawiki.libs.jpegmeta',
1405 'mediawiki.confirmCloseWindow',
1408 'mediawiki.special.userlogin.common.styles' => array(
1410 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1412 'position' => 'top',
1414 'mediawiki.special.userlogin.signup.styles' => array(
1416 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1418 'position' => 'top',
1420 'mediawiki.special.userlogin.login.styles' => array(
1422 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1424 'position' => 'top',
1426 'mediawiki.special.userlogin.common.js' => array(
1428 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1430 'messages' => array(
1431 'createacct-captcha',
1432 'createacct-imgcaptcha-ph',
1435 'mediawiki.special.userlogin.signup.js' => array(
1436 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1437 'messages' => array(
1439 'createacct-emailrequired',
1443 'dependencies' => array(
1445 'mediawiki.jqueryMsg',
1446 'jquery.throttle-debounce',
1449 'mediawiki.special.unwatchedPages' => array(
1450 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1451 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1452 'messages' => array(
1453 'addedwatchtext-short',
1454 'removedwatchtext-short',
1461 'dependencies' => array(
1463 'mediawiki.api.watch',
1469 'mediawiki.special.javaScriptTest' => array(
1470 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1471 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1473 'javascripttest-pagetext-skins',
1475 'dependencies' => array(
1478 'position' => 'top',
1479 'targets' => array( 'desktop', 'mobile' ),
1481 'mediawiki.special.version' => array(
1482 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1485 /* MediaWiki Installer */
1487 'mediawiki.legacy.config' => array(
1488 // Used in the web installer. Test it after modifying this definition!
1489 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1490 'scripts' => 'mw-config/config.js',
1491 'styles' => 'mw-config/config.css',
1494 /* MediaWiki Legacy */
1496 'mediawiki.legacy.ajax' => array(
1497 'scripts' => 'resources/src/mediawiki.legacy/ajax.js',
1498 'dependencies' => array(
1500 'mediawiki.legacy.wikibits',
1502 'position' => 'top',
1504 'mediawiki.legacy.commonPrint' => array(
1506 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1509 'mediawiki.legacy.protect' => array(
1510 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1511 'dependencies' => array(
1514 'messages' => array( 'protect-unchain-permissions' )
1516 'mediawiki.legacy.shared' => array(
1517 // Used in the web installer. Test it after modifying this definition!
1519 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1522 'mediawiki.legacy.oldshared' => array(
1524 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1527 'mediawiki.legacy.wikibits' => array(
1528 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1529 'dependencies' => array(
1532 'position' => 'top',
1537 'mediawiki.ui' => array(
1538 'skinStyles' => array(
1540 'resources/src/mediawiki.ui/default.less',
1543 'position' => 'top',
1544 'targets' => array( 'desktop', 'mobile' ),
1546 'mediawiki.ui.checkbox' => array(
1547 'skinStyles' => array(
1549 'resources/src/mediawiki.ui/components/checkbox.less',
1552 'position' => 'top',
1553 'targets' => array( 'desktop', 'mobile' ),
1555 'mediawiki.ui.radio' => array(
1556 'skinStyles' => array(
1558 'resources/src/mediawiki.ui/components/radio.less',
1561 'position' => 'top',
1562 'targets' => array( 'desktop', 'mobile' ),
1564 // Lightweight module for anchor styles
1565 'mediawiki.ui.anchor' => array(
1566 'skinStyles' => array(
1568 'resources/src/mediawiki.ui/components/anchors.less',
1571 'position' => 'top',
1572 'targets' => array( 'desktop', 'mobile' ),
1574 // Lightweight module for button styles
1575 'mediawiki.ui.button' => array(
1576 'skinStyles' => array(
1578 'resources/src/mediawiki.ui/components/buttons.less',
1581 'position' => 'top',
1582 'targets' => array( 'desktop', 'mobile' ),
1584 'mediawiki.ui.input' => array(
1585 'skinStyles' => array(
1587 'resources/src/mediawiki.ui/components/inputs.less',
1590 'position' => 'top',
1591 'targets' => array( 'desktop', 'mobile' ),
1593 'mediawiki.ui.icon' => array(
1594 'skinStyles' => array(
1596 'resources/src/mediawiki.ui/components/icons.less',
1599 'position' => 'top',
1600 'targets' => array( 'desktop', 'mobile' ),
1602 // Lightweight module for text styles
1603 'mediawiki.ui.text' => array(
1604 'skinStyles' => array(
1606 'resources/src/mediawiki.ui/components/text.less',
1609 'position' => 'top',
1610 'targets' => array( 'desktop', 'mobile' ),
1614 'es5-shim' => array(
1616 'resources/lib/es5-shim/es5-shim.js',
1617 'resources/src/polyfill-object-create.js',
1619 'targets' => array( 'desktop', 'mobile' ),
1620 'skipFunction' => 'resources/src/es5-skip.js',
1626 'resources/lib/oojs/oojs.jquery.js',
1628 'targets' => array( 'desktop', 'mobile' ),
1629 'dependencies' => array(
1636 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
1637 // if loaded in browsers that don't support ES5
1640 'resources/lib/oojs-ui/oojs-ui.js',
1642 'skinScripts' => array(
1643 'default' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.js',
1645 'dependencies' => array(
1650 'messages' => array(
1651 'ooui-dialog-message-accept',
1652 'ooui-dialog-message-reject',
1653 'ooui-dialog-process-continue',
1654 'ooui-dialog-process-dismiss',
1655 'ooui-dialog-process-error',
1656 'ooui-dialog-process-retry',
1657 'ooui-outline-control-move-down',
1658 'ooui-outline-control-move-up',
1659 'ooui-outline-control-remove',
1660 'ooui-toolbar-more',
1661 'ooui-toolgroup-collapse',
1662 'ooui-toolgroup-expand',
1664 'targets' => array( 'desktop', 'mobile' ),
1667 'oojs-ui.styles' => array(
1668 'position' => 'top',
1669 'skinStyles' => array(
1670 'default' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.css',
1672 'targets' => array( 'desktop', 'mobile' ),