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
32 'startup' => [ 'class' => 'ResourceLoaderStartUpModule' ],
34 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
35 'site' => [ 'class' => 'ResourceLoaderSiteModule' ],
36 'site.styles' => [ 'class' => 'ResourceLoaderSiteStylesModule' ],
38 'class' => 'ResourceLoaderWikiModule',
39 'styles' => [ 'MediaWiki:Noscript.css' ],
40 'group' => 'noscript',
44 'class' => 'ResourceLoaderWikiModule',
45 'styles' => [ 'MediaWiki:Filepage.css' ],
48 // Merged into 'user' since MediaWiki 1.28 - kept for back-compat
49 'dependencies' => 'user',
50 'targets' => [ 'desktop', 'mobile' ],
53 // Scripts managed by the current user (stored in their user space)
54 'user' => [ 'class' => 'ResourceLoaderUserModule' ],
56 // Scripts generated based on the current user's preferences
57 'user.cssprefs' => [ 'class' => 'ResourceLoaderUserCSSPrefsModule' ],
59 // Populate mediawiki.user placeholders with information about the current user
60 'user.defaults' => [ 'class' => 'ResourceLoaderUserDefaultsModule' ],
61 'user.options' => [ 'class' => 'ResourceLoaderUserOptionsModule' ],
62 'user.tokens' => [ 'class' => 'ResourceLoaderUserTokensModule' ],
64 // Scripts for the dynamic language specific data, like grammar forms.
65 'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
67 /* MediaWiki base skinning modules */
70 * Common skin styles, grouped into three graded levels.
73 * The base level that only contains the most basic of common skin styles.
74 * Only styles for single elements are included, no styling for complex structures like the
75 * TOC is present. This level is for skins that want to implement the entire style of even
76 * content area structures like the TOC themselves.
79 * The most commonly used level for skins implemented from scratch. This level includes all
80 * the single element styles from "elements" as well as styles for complex structures such
81 * as the TOC that are output in the content area by MediaWiki rather than the skin.
82 * Essentially this is the common level that lets skins leave the style of the content area
83 * as it is normally styled, while leaving the rest of the skin up to the skin
86 * Level 3 "interface":
87 * The highest level, this stylesheet contains extra common styles for classes like
88 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
89 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
90 * common to MonoBook clones. And since practically every skin that currently exists within
91 * core is a MonoBook clone, all our core skins currently use this level.
93 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
94 * dependency management. As a result they contain duplicate stylesheet references instead of
95 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
96 * including more than one of them into your skin as this will result in duplicate CSS.
98 'mediawiki.skinning.elements' => [
101 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
104 'mediawiki.skinning.content' => [
107 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
108 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
111 // Used in the web installer. Test it after modifying this definition!
112 'mediawiki.skinning.interface' => [
114 'class' => 'ResourceLoaderSkinModule',
116 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
117 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
118 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
122 'mediawiki.skinning.content.parsoid' => [
124 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
125 // with the interface.css styles; skinStyles should be used if your
126 // skin over-rides common content styling.
128 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
130 'targets' => [ 'desktop', 'mobile' ],
133 'mediawiki.skinning.content.externallinks' => [
134 'position' => 'bottom',
136 'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
144 'resources/lib/jquery/jquery.js',
147 'targets' => [ 'desktop', 'mobile' ],
152 'jquery.accessKeyLabel' => [
153 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
158 'messages' => [ 'brackets', 'word-separator' ],
159 'targets' => [ 'mobile', 'desktop' ],
162 'scripts' => 'resources/lib/jquery/jquery.appear.js',
164 'jquery.arrowSteps' => [
165 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
166 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
169 'scripts' => 'resources/lib/jquery/jquery.async.js',
171 'jquery.autoEllipsis' => [
172 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
173 'dependencies' => 'jquery.highlightText',
174 'targets' => [ 'desktop', 'mobile' ],
177 'scripts' => 'resources/src/jquery/jquery.badge.js',
178 'styles' => 'resources/src/jquery/jquery.badge.css',
179 'dependencies' => 'mediawiki.language',
181 'jquery.byteLength' => [
182 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
183 'targets' => [ 'desktop', 'mobile' ],
185 'jquery.byteLimit' => [
186 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
187 'dependencies' => 'jquery.byteLength',
188 'targets' => [ 'desktop', 'mobile' ],
190 'jquery.checkboxShiftClick' => [
191 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
192 'targets' => [ 'desktop', 'mobile' ],
195 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
196 'styles' => 'resources/lib/jquery.chosen/chosen.css',
199 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
200 'targets' => [ 'desktop', 'mobile' ],
203 'scripts' => 'resources/src/jquery/jquery.color.js',
204 'dependencies' => 'jquery.colorUtil',
206 'jquery.colorUtil' => [
207 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
209 'jquery.confirmable' => [
211 'resources/src/jquery/jquery.confirmable.js',
212 'resources/src/jquery/jquery.confirmable.mediawiki.js',
215 'confirmable-confirm',
220 'styles' => 'resources/src/jquery/jquery.confirmable.css',
221 'dependencies' => 'mediawiki.jqueryMsg',
224 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
225 'targets' => [ 'desktop', 'mobile' ],
227 'jquery.expandableField' => [
228 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
230 'jquery.farbtastic' => [
231 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
232 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
233 'dependencies' => 'jquery.colorUtil',
235 'jquery.footHovzer' => [
236 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
237 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
240 'scripts' => 'resources/lib/jquery/jquery.form.js',
242 'jquery.fullscreen' => [
243 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
245 'jquery.getAttrs' => [
246 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
247 'targets' => [ 'desktop', 'mobile' ],
250 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
251 'targets' => [ 'desktop', 'mobile' ],
253 'jquery.highlightText' => [
254 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
259 'targets' => [ 'desktop', 'mobile' ],
261 'jquery.hoverIntent' => [
262 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.js',
267 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
268 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
269 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
270 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
271 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
272 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
274 'dependencies' => 'mediawiki.libs.pluralruleparser',
275 'languageScripts' => [
276 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
277 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
278 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
279 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
280 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
281 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
282 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
283 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
284 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
285 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
286 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
287 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
288 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
289 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
291 'targets' => [ 'desktop', 'mobile' ],
293 'jquery.localize' => [
294 'scripts' => 'resources/src/jquery/jquery.localize.js',
296 'jquery.makeCollapsible' => [
297 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
298 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
299 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
300 'targets' => [ 'desktop', 'mobile' ],
302 'jquery.mockjax' => [
303 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
305 'jquery.mw-jump' => [
306 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
307 'targets' => [ 'desktop', 'mobile' ],
309 'jquery.mwExtension' => [
310 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
311 'targets' => [ 'desktop', 'mobile' ],
313 'jquery.placeholder' => [
314 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
315 'targets' => [ 'desktop', 'mobile' ],
318 'scripts' => 'resources/lib/qunitjs/qunit.js',
319 'styles' => 'resources/lib/qunitjs/qunit.css',
321 'targets' => [ 'desktop', 'mobile' ],
323 'jquery.qunit.completenessTest' => [
324 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
325 'dependencies' => 'jquery.qunit',
326 'targets' => [ 'desktop', 'mobile' ],
328 'jquery.spinner' => [
329 'scripts' => 'resources/src/jquery/jquery.spinner.js',
330 'styles' => 'resources/src/jquery/jquery.spinner.css',
332 'jquery.jStorage' => [
333 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
334 'dependencies' => 'json',
336 'jquery.suggestions' => [
337 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
338 'styles' => 'resources/src/jquery/jquery.suggestions.css',
339 'dependencies' => 'jquery.highlightText',
341 'jquery.tabIndex' => [
342 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
344 'jquery.tablesorter' => [
345 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
346 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
347 'messages' => [ 'sort-descending', 'sort-ascending' ],
351 'mediawiki.language.months',
354 'jquery.textSelection' => [
355 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
356 'dependencies' => 'jquery.client',
357 'targets' => [ 'mobile', 'desktop' ],
359 'jquery.throttle-debounce' => [
360 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
361 'targets' => [ 'desktop', 'mobile' ],
364 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
370 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
371 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
376 'jquery.ui.core' => [
377 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
379 'jquery.ui.core.styles',
381 'group' => 'jquery.ui',
383 'jquery.ui.core.styles' => [
387 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
388 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
391 'group' => 'jquery.ui',
393 'jquery.ui.accordion' => [
394 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
400 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
402 'group' => 'jquery.ui',
404 'jquery.ui.autocomplete' => [
405 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
409 'jquery.ui.position',
413 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
415 'group' => 'jquery.ui',
417 'jquery.ui.button' => [
418 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
424 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
426 'group' => 'jquery.ui',
428 'jquery.ui.datepicker' => [
429 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
430 'dependencies' => 'jquery.ui.core',
432 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
434 'languageScripts' => [
435 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
436 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
437 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
438 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
439 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
440 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
441 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
442 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
443 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
444 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
445 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
446 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
447 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
448 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
449 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
450 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
451 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
452 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
453 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
454 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
455 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
456 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
457 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
458 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
459 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
460 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
461 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
462 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
463 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
464 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
465 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
466 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
467 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
468 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
469 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
470 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
471 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
472 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
473 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
474 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
475 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
476 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
477 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
478 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
479 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
480 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
481 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
482 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
483 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
484 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
485 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
486 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
487 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
488 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
489 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
490 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
491 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
492 'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
493 'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
494 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
495 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
496 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
497 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
498 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
499 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
500 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
501 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
502 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
503 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
505 'group' => 'jquery.ui',
507 'jquery.ui.dialog' => [
508 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
513 'jquery.ui.draggable',
515 'jquery.ui.position',
516 'jquery.ui.resizable',
519 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
521 'group' => 'jquery.ui',
523 'jquery.ui.draggable' => [
524 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
530 'group' => 'jquery.ui',
532 'jquery.ui.droppable' => [
533 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
538 'jquery.ui.draggable',
540 'group' => 'jquery.ui',
542 'jquery.ui.menu' => [
543 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
547 'jquery.ui.position',
550 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
552 'group' => 'jquery.ui',
554 'jquery.ui.mouse' => [
555 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
556 'dependencies' => 'jquery.ui.widget',
557 'group' => 'jquery.ui',
559 'jquery.ui.position' => [
560 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
561 'group' => 'jquery.ui',
563 'jquery.ui.progressbar' => [
564 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
570 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
572 'group' => 'jquery.ui',
574 'jquery.ui.resizable' => [
575 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
582 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
584 'group' => 'jquery.ui',
586 'jquery.ui.selectable' => [
587 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
594 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
596 'group' => 'jquery.ui',
598 'jquery.ui.slider' => [
599 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
606 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
608 'group' => 'jquery.ui',
610 'jquery.ui.sortable' => [
611 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
617 'group' => 'jquery.ui',
619 'jquery.ui.spinner' => [
620 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
627 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
629 'group' => 'jquery.ui',
631 'jquery.ui.tabs' => [
632 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
638 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
640 'group' => 'jquery.ui',
642 'jquery.ui.tooltip' => [
643 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
647 'jquery.ui.position',
650 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
652 'group' => 'jquery.ui',
654 'jquery.ui.widget' => [
655 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
656 'group' => 'jquery.ui',
659 'jquery.effects.core' => [
660 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
661 'group' => 'jquery.ui',
663 'jquery.effects.blind' => [
664 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
665 'dependencies' => 'jquery.effects.core',
666 'group' => 'jquery.ui',
668 'jquery.effects.bounce' => [
669 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
670 'dependencies' => 'jquery.effects.core',
671 'group' => 'jquery.ui',
673 'jquery.effects.clip' => [
674 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
675 'dependencies' => 'jquery.effects.core',
676 'group' => 'jquery.ui',
678 'jquery.effects.drop' => [
679 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
680 'dependencies' => 'jquery.effects.core',
681 'group' => 'jquery.ui',
683 'jquery.effects.explode' => [
684 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
685 'dependencies' => 'jquery.effects.core',
686 'group' => 'jquery.ui',
688 'jquery.effects.fade' => [
689 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
690 'dependencies' => 'jquery.effects.core',
691 'group' => 'jquery.ui',
693 'jquery.effects.fold' => [
694 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
695 'dependencies' => 'jquery.effects.core',
696 'group' => 'jquery.ui',
698 'jquery.effects.highlight' => [
699 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
700 'dependencies' => 'jquery.effects.core',
701 'group' => 'jquery.ui',
703 'jquery.effects.pulsate' => [
704 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
705 'dependencies' => 'jquery.effects.core',
706 'group' => 'jquery.ui',
708 'jquery.effects.scale' => [
709 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
710 'dependencies' => 'jquery.effects.core',
711 'group' => 'jquery.ui',
713 'jquery.effects.shake' => [
714 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
715 'dependencies' => 'jquery.effects.core',
716 'group' => 'jquery.ui',
718 'jquery.effects.slide' => [
719 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
720 'dependencies' => 'jquery.effects.core',
721 'group' => 'jquery.ui',
723 'jquery.effects.transfer' => [
724 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
725 'dependencies' => 'jquery.effects.core',
726 'group' => 'jquery.ui',
732 'scripts' => 'resources/lib/json2/json2.js',
733 'targets' => [ 'desktop', 'mobile' ],
734 'skipFunction' => 'resources/src/json-skip.js',
741 'resources/lib/moment/moment.js',
742 'resources/src/moment-global.js',
744 'languageScripts' => [
745 'af' => 'resources/lib/moment/locale/af.js',
746 'ar' => 'resources/lib/moment/locale/ar.js',
747 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
748 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
749 'az' => 'resources/lib/moment/locale/az.js',
750 'be' => 'resources/lib/moment/locale/be.js',
751 'bg' => 'resources/lib/moment/locale/bg.js',
752 'bn' => 'resources/lib/moment/locale/bn.js',
753 'bo' => 'resources/lib/moment/locale/bo.js',
754 'br' => 'resources/lib/moment/locale/br.js',
755 'bs' => 'resources/lib/moment/locale/bs.js',
756 'ca' => 'resources/lib/moment/locale/ca.js',
757 'cs' => 'resources/lib/moment/locale/cs.js',
758 'cv' => 'resources/lib/moment/locale/cv.js',
759 'cy' => 'resources/lib/moment/locale/cy.js',
760 'da' => 'resources/lib/moment/locale/da.js',
761 'de' => 'resources/lib/moment/locale/de.js',
762 'de-at' => 'resources/lib/moment/locale/de-at.js',
763 'el' => 'resources/lib/moment/locale/el.js',
764 'en' => 'resources/src/moment-dmy.js',
765 'en-au' => 'resources/lib/moment/locale/en-au.js',
766 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
767 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
768 'eo' => 'resources/lib/moment/locale/eo.js',
769 'es' => 'resources/lib/moment/locale/es.js',
770 'et' => 'resources/lib/moment/locale/et.js',
771 'eu' => 'resources/lib/moment/locale/eu.js',
772 'fa' => 'resources/lib/moment/locale/fa.js',
773 'fi' => 'resources/lib/moment/locale/fi.js',
774 'fo' => 'resources/lib/moment/locale/fo.js',
775 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
776 'fr' => 'resources/lib/moment/locale/fr.js',
777 'gl' => 'resources/lib/moment/locale/gl.js',
778 'he' => 'resources/lib/moment/locale/he.js',
779 'hi' => 'resources/lib/moment/locale/hi.js',
780 'hr' => 'resources/lib/moment/locale/hr.js',
781 'hu' => 'resources/lib/moment/locale/hu.js',
782 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
783 'id' => 'resources/lib/moment/locale/id.js',
784 'is' => 'resources/lib/moment/locale/is.js',
785 'it' => 'resources/lib/moment/locale/it.js',
786 'ja' => 'resources/lib/moment/locale/ja.js',
787 'ka' => 'resources/lib/moment/locale/ka.js',
788 'ko' => 'resources/lib/moment/locale/ko.js',
789 'lt' => 'resources/lib/moment/locale/lt.js',
790 'lv' => 'resources/lib/moment/locale/lv.js',
791 'mk' => 'resources/lib/moment/locale/mk.js',
792 'ml' => 'resources/lib/moment/locale/ml.js',
793 'mr' => 'resources/lib/moment/locale/mr.js',
794 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
795 'my' => 'resources/lib/moment/locale/my.js',
796 'nb' => 'resources/lib/moment/locale/nb.js',
797 'ne' => 'resources/lib/moment/locale/ne.js',
798 'nl' => 'resources/lib/moment/locale/nl.js',
799 'nn' => 'resources/lib/moment/locale/nn.js',
800 'pl' => 'resources/lib/moment/locale/pl.js',
801 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
802 'pt' => 'resources/lib/moment/locale/pt.js',
803 'ro' => 'resources/lib/moment/locale/ro.js',
804 'ru' => 'resources/lib/moment/locale/ru.js',
805 'sk' => 'resources/lib/moment/locale/sk.js',
806 'sl' => 'resources/lib/moment/locale/sl.js',
807 'sq' => 'resources/lib/moment/locale/sq.js',
808 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
809 'sr-el' => 'resources/lib/moment/locale/sr.js',
810 'sv' => 'resources/lib/moment/locale/sv.js',
811 'ta' => 'resources/lib/moment/locale/ta.js',
812 'th' => 'resources/lib/moment/locale/th.js',
813 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
814 'tr' => 'resources/lib/moment/locale/tr.js',
815 'tzm' => 'resources/lib/moment/locale/tzm.js',
816 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
817 'uk' => 'resources/lib/moment/locale/uk.js',
818 'uz' => 'resources/lib/moment/locale/uz.js',
819 'vi' => 'resources/lib/moment/locale/vi.js',
820 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
821 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
822 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
823 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
825 // HACK: skinScripts come after languageScripts, and we need locale overrides to come
826 // after locale definitions
829 'resources/src/moment-locale-overrides.js',
833 'mediawiki.language',
835 'targets' => [ 'desktop', 'mobile' ],
841 'class' => 'ResourceLoaderRawFileModule',
842 // Keep in sync with maintenance/jsduck/eg-iframe.html
844 'resources/src/mediawiki/mediawiki.js',
845 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
846 'resources/src/mediawiki/mediawiki.errorLogger.js',
848 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
849 'targets' => [ 'desktop', 'mobile' ],
851 'mediawiki.apihelp' => [
852 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
853 'targets' => [ 'desktop' ],
856 'mediawiki.template' => [
857 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
858 'targets' => [ 'desktop', 'mobile' ],
860 'mediawiki.template.mustache' => [
862 'resources/lib/mustache/mustache.js',
863 'resources/src/mediawiki/mediawiki.template.mustache.js',
865 'targets' => [ 'desktop', 'mobile' ],
866 'dependencies' => 'mediawiki.template',
868 'mediawiki.template.regexp' => [
869 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
870 'targets' => [ 'desktop', 'mobile' ],
871 'dependencies' => 'mediawiki.template',
873 'mediawiki.apipretty' => [
874 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
875 'targets' => [ 'desktop', 'mobile' ],
879 'scripts' => 'resources/src/mediawiki/api.js',
884 'targets' => [ 'desktop', 'mobile' ],
886 'mediawiki.api.category' => [
887 'scripts' => 'resources/src/mediawiki/api/category.js',
893 'mediawiki.api.edit' => [
894 'scripts' => 'resources/src/mediawiki/api/edit.js',
899 'targets' => [ 'desktop', 'mobile' ],
901 'mediawiki.api.login' => [
902 'scripts' => 'resources/src/mediawiki/api/login.js',
903 'dependencies' => 'mediawiki.api',
905 'mediawiki.api.options' => [
906 'scripts' => 'resources/src/mediawiki/api/options.js',
907 'dependencies' => 'mediawiki.api',
908 'targets' => [ 'desktop', 'mobile' ],
910 'mediawiki.api.parse' => [
911 'scripts' => 'resources/src/mediawiki/api/parse.js',
912 'dependencies' => 'mediawiki.api',
913 'targets' => [ 'desktop', 'mobile' ],
915 'mediawiki.api.upload' => [
916 'scripts' => 'resources/src/mediawiki/api/upload.js',
920 'mediawiki.api.edit',
924 'mediawiki.api.user' => [
925 'scripts' => 'resources/src/mediawiki/api/user.js',
929 'targets' => [ 'desktop', 'mobile' ],
931 'mediawiki.api.watch' => [
932 'scripts' => 'resources/src/mediawiki/api/watch.js',
937 'mediawiki.api.messages' => [
938 'scripts' => 'resources/src/mediawiki/api/messages.js',
943 'mediawiki.api.rollback' => [
944 'scripts' => 'resources/src/mediawiki/api/rollback.js',
949 'mediawiki.content.json' => [
951 'styles' => 'resources/src/mediawiki/mediawiki.content.json.less',
953 'mediawiki.confirmCloseWindow' => [
955 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
957 'targets' => [ 'desktop', 'mobile' ],
959 'mediawiki.debug' => [
961 'resources/src/mediawiki/mediawiki.debug.js',
964 'resources/src/mediawiki/mediawiki.debug.less',
970 'position' => 'bottom',
972 'mediawiki.debug.init' => [
973 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
974 'dependencies' => 'mediawiki.debug',
975 // Uses a custom mw.config variable that is set in debughtml,
976 // must be loaded on the bottom
977 'position' => 'bottom',
979 'mediawiki.feedback' => [
980 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
981 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
983 'mediawiki.messagePoster',
992 'feedback-dialog-intro',
993 'feedback-external-bug-report-button',
995 'feedback-bugornote',
998 'feedback-dialog-title',
999 'feedback-error-title',
1008 'feedback-termsofuse',
1010 'feedback-thanks-title',
1011 'feedback-useragent'
1014 'mediawiki.feedlink' => [
1015 'position' => 'top',
1016 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1018 'mediawiki.filewarning' => [
1019 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1020 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1025 'mediawiki.ForeignApi' => [
1026 'targets' => [ 'desktop', 'mobile' ],
1027 'class' => 'ResourceLoaderForeignApiModule',
1028 // Additional dependencies generated dynamically
1029 'dependencies' => 'mediawiki.ForeignApi.core',
1031 'mediawiki.ForeignApi.core' => [
1032 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1037 'targets' => [ 'desktop', 'mobile' ],
1039 'mediawiki.helplink' => [
1040 'position' => 'top',
1042 'resources/src/mediawiki/mediawiki.helplink.less',
1044 'targets' => [ 'desktop', 'mobile' ],
1046 'mediawiki.hidpi' => [
1047 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1048 'dependencies' => 'jquery.hidpi',
1049 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1050 'targets' => [ 'desktop', 'mobile' ],
1052 'mediawiki.hlist' => [
1053 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1055 'mediawiki.htmlform' => [
1056 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
1062 'htmlform-chosen-placeholder',
1063 // @todo Load this message in content language
1066 'targets' => [ 'desktop', 'mobile' ],
1068 'mediawiki.htmlform.styles' => [
1069 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.css',
1070 'position' => 'top',
1071 'targets' => [ 'desktop', 'mobile' ],
1073 'mediawiki.htmlform.ooui.styles' => [
1074 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.css',
1075 'position' => 'top',
1076 'targets' => [ 'desktop', 'mobile' ],
1078 'mediawiki.icon' => [
1079 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1081 'mediawiki.inspect' => [
1082 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1084 'jquery.byteLength',
1088 'targets' => [ 'desktop', 'mobile' ],
1090 'mediawiki.messagePoster' => [
1092 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1093 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1098 'mediawiki.ForeignApi',
1100 'targets' => [ 'desktop', 'mobile' ],
1102 'mediawiki.messagePoster.wikitext' => [
1104 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1107 'mediawiki.api.edit',
1108 'mediawiki.messagePoster',
1110 'targets' => [ 'desktop', 'mobile' ],
1112 'mediawiki.notification' => [
1114 'resources/src/mediawiki/mediawiki.notification.common.css',
1115 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
1116 => [ 'media' => 'print' ],
1119 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1121 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1122 'dependencies' => 'mediawiki.page.startup',
1123 'targets' => [ 'desktop', 'mobile' ],
1125 'mediawiki.notify' => [
1126 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1127 'targets' => [ 'desktop', 'mobile' ],
1129 'mediawiki.RegExp' => [
1130 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1131 'targets' => [ 'desktop', 'mobile' ],
1133 'mediawiki.pager.tablePager' => [
1134 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1135 'position' => 'top',
1137 'mediawiki.searchSuggest' => [
1138 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1139 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1141 'searchsuggest-search',
1142 'searchsuggest-containing',
1146 'jquery.placeholder',
1147 'jquery.suggestions',
1152 'mediawiki.sectionAnchor' => [
1153 'position' => 'top',
1154 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1155 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1156 'targets' => [ 'desktop', 'mobile' ],
1158 'mediawiki.storage' => [
1159 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1160 'targets' => [ 'desktop', 'mobile' ],
1162 'mediawiki.Title' => [
1163 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1165 'jquery.byteLength',
1168 'targets' => [ 'desktop', 'mobile' ],
1170 'mediawiki.Upload' => [
1171 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1174 'mediawiki.api.upload',
1177 'mediawiki.ForeignUpload' => [
1178 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1180 'mediawiki.ForeignApi',
1185 'uploaddisabledtext',
1186 'upload-dialog-disabled',
1187 'upload-foreign-cant-upload',
1190 'mediawiki.ForeignStructuredUpload.config' => [
1191 'class' => 'ResourceLoaderUploadDialogModule',
1193 'mediawiki.ForeignStructuredUpload' => [
1194 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1196 'mediawiki.ForeignUpload',
1197 'mediawiki.ForeignStructuredUpload.config',
1200 'upload-foreign-cant-load-config',
1203 'mediawiki.Upload.Dialog' => [
1205 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1208 'mediawiki.Upload.BookletLayout',
1211 'upload-dialog-title',
1212 'upload-dialog-button-cancel',
1213 'upload-dialog-button-done',
1214 'upload-dialog-button-save',
1215 'upload-dialog-button-upload',
1218 'mediawiki.Upload.BookletLayout' => [
1220 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1223 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1228 'oojs-ui.styles.icons-content',
1229 'oojs-ui.styles.icons-editing-advanced',
1234 'mediawiki.jqueryMsg',
1235 'mediawiki.widgets.StashedFileWidget'
1238 'upload-form-label-infoform-title',
1239 'upload-form-label-infoform-name',
1240 'upload-form-label-infoform-name-tooltip',
1241 'upload-form-label-infoform-description',
1242 'upload-form-label-infoform-description-tooltip',
1243 'upload-form-label-usage-title',
1244 'upload-form-label-usage-filename',
1245 'api-error-unknownerror',
1246 'api-error-unknown-warning',
1247 'api-error-autoblocked',
1248 'api-error-blocked',
1249 'api-error-badaccess-groups',
1250 'api-error-badtoken',
1251 'api-error-copyuploaddisabled',
1252 'api-error-duplicate',
1253 'api-error-duplicate-archive',
1254 'api-error-empty-file',
1255 'api-error-emptypage',
1256 'api-error-fetchfileerror',
1257 'api-error-fileexists-forbidden',
1258 'api-error-fileexists-shared-forbidden',
1259 'api-error-file-too-large',
1260 'api-error-filename-tooshort',
1261 'api-error-filetype-banned',
1262 'api-error-filetype-banned-type',
1263 'api-error-filetype-missing',
1264 'api-error-hookaborted',
1266 'api-error-illegal-filename',
1267 'api-error-internal-error',
1268 'api-error-invalid-file-key',
1269 'api-error-missingparam',
1270 'api-error-missingresult',
1271 'api-error-mustbeloggedin',
1272 'api-error-mustbeposted',
1273 'api-error-noimageinfo',
1274 'api-error-nomodule',
1275 'api-error-ok-but-empty',
1276 'api-error-overwrite',
1277 'api-error-stashfailed',
1278 'api-error-publishfailed',
1279 'api-error-stasherror',
1280 'api-error-stashedfilenotfound',
1281 'api-error-stashpathinvalid',
1282 'api-error-stashfilestorage',
1283 'api-error-stashzerolength',
1284 'api-error-stashnotloggedin',
1285 'api-error-stashwrongowner',
1286 'api-error-stashnosuchfilekey',
1287 'api-error-timeout',
1288 'api-error-unclassified',
1289 'api-error-unknown-code',
1290 'api-error-unknown-error',
1291 'api-error-uploaddisabled',
1292 'api-error-verification-error',
1293 'api-error-was-deleted',
1296 'filename-bad-prefix',
1297 'filename-thumb-name',
1299 'protectedpagetext',
1302 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1303 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1304 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1306 'mediawiki.ForeignStructuredUpload',
1307 'mediawiki.Upload.BookletLayout',
1308 'mediawiki.widgets.CategorySelector',
1309 'mediawiki.widgets.DateInputWidget',
1310 'mediawiki.jqueryMsg',
1311 'mediawiki.api.messages',
1313 'mediawiki.libs.jpegmeta',
1316 'upload-form-label-own-work',
1317 'upload-form-label-infoform-categories',
1318 'upload-form-label-infoform-date',
1319 'upload-form-label-own-work-message-generic-local',
1320 'upload-form-label-not-own-work-message-generic-local',
1321 'upload-form-label-not-own-work-local-generic-local',
1322 'upload-form-label-own-work-message-generic-foreign',
1323 'upload-form-label-not-own-work-message-generic-foreign',
1324 'upload-form-label-not-own-work-local-generic-foreign',
1327 'mediawiki.toc' => [
1328 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1330 'resources/src/mediawiki/mediawiki.toc.css'
1331 => [ 'media' => 'screen' ],
1332 'resources/src/mediawiki/mediawiki.toc.print.css'
1333 => [ 'media' => 'print' ],
1335 'dependencies' => 'mediawiki.cookie',
1336 'messages' => [ 'showtoc', 'hidetoc' ],
1337 'targets' => [ 'desktop', 'mobile' ],
1339 'mediawiki.Uri' => [
1340 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1342 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1343 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1345 'dependencies' => 'mediawiki.util',
1346 'targets' => [ 'desktop', 'mobile' ],
1348 'mediawiki.user' => [
1349 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1353 'mediawiki.api.user',
1357 'targets' => [ 'desktop', 'mobile' ],
1359 'mediawiki.userSuggest' => [
1360 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1362 'jquery.suggestions',
1366 'mediawiki.util' => [
1367 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1369 'jquery.accessKeyLabel',
1373 'targets' => [ 'desktop', 'mobile' ],
1375 'mediawiki.viewport' => [
1376 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1377 'position' => 'top',
1378 'targets' => [ 'desktop', 'mobile' ],
1380 'mediawiki.checkboxtoggle' => [
1381 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1383 'mediawiki.checkboxtoggle.styles' => [
1384 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1386 'mediawiki.cookie' => [
1387 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1388 'dependencies' => 'jquery.cookie',
1389 'targets' => [ 'desktop', 'mobile' ],
1391 'mediawiki.toolbar' => [
1392 'class' => 'ResourceLoaderEditToolbarModule',
1393 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1394 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1395 'position' => 'top',
1397 'mediawiki.experiments' => [
1398 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1399 'targets' => [ 'desktop', 'mobile' ],
1401 'mediawiki.raggett' => [
1402 'styles' => 'resources/src/mediawiki/mediawiki.raggett.css',
1403 'targets' => [ 'desktop', 'mobile' ],
1406 /* MediaWiki Action */
1408 'mediawiki.action.edit' => [
1410 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1411 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1413 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1415 'mediawiki.action.edit.styles',
1416 'jquery.textSelection',
1420 'position' => 'top',
1422 'mediawiki.action.edit.styles' => [
1423 'position' => 'top',
1424 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1426 'mediawiki.action.edit.collapsibleFooter' => [
1427 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1428 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1430 'jquery.makeCollapsible',
1435 'mediawiki.action.edit.preview' => [
1436 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1440 'jquery.textSelection',
1442 'mediawiki.action.history.diff',
1444 'mediawiki.jqueryMsg',
1447 // Keep the uses message keys in sync with EditPage#setHeaders
1461 'mediawiki.action.history' => [
1462 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1463 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1465 'mediawiki.action.history.styles' => [
1466 'position' => 'top',
1467 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1469 'mediawiki.action.history.diff' => [
1470 'position' => 'top',
1472 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1473 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => [
1477 'targets' => [ 'desktop', 'mobile' ],
1479 'mediawiki.action.view.dblClickEdit' => [
1480 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1483 'mediawiki.page.startup',
1487 'mediawiki.action.view.metadata' => [
1488 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1489 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1492 'metadata-collapse',
1495 'mediawiki.action.view.categoryPage.styles' => [
1496 'position' => 'top',
1497 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1498 'targets' => [ 'desktop', 'mobile' ]
1500 'mediawiki.action.view.postEdit' => [
1502 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1504 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1505 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1508 'mediawiki.jqueryMsg'
1511 'postedit-confirmation-created',
1512 'postedit-confirmation-restored',
1513 'postedit-confirmation-saved',
1516 'mediawiki.action.view.redirect' => [
1517 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1518 'dependencies' => 'jquery.client',
1519 'position' => 'top',
1520 'targets' => [ 'desktop', 'mobile' ],
1522 'mediawiki.action.view.redirectPage' => [
1523 'position' => 'top',
1524 'targets' => [ 'desktop', 'mobile' ],
1525 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1527 'mediawiki.action.view.rightClickEdit' => [
1528 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1530 'mediawiki.action.edit.editWarning' => [
1531 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1533 'jquery.textSelection',
1534 'mediawiki.jqueryMsg',
1535 'mediawiki.confirmCloseWindow',
1539 'editwarning-warning',
1540 // editwarning-warning uses {{int:prefs-editing}}
1544 'mediawiki.action.view.filepage' => [
1546 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1547 [ 'media' => 'print' ],
1548 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1550 'position' => 'top',
1553 /* MediaWiki Language */
1555 'mediawiki.language' => [
1557 'resources/src/mediawiki.language/mediawiki.language.js',
1558 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1559 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1561 'languageScripts' => [
1562 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1563 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1564 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1565 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1566 'he' => 'resources/src/mediawiki.language/languages/he.js',
1567 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1568 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1569 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1570 'la' => 'resources/src/mediawiki.language/languages/la.js',
1571 'os' => 'resources/src/mediawiki.language/languages/os.js',
1572 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1573 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1574 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1577 'mediawiki.language.data',
1580 'targets' => [ 'desktop', 'mobile' ],
1588 'mediawiki.cldr' => [
1589 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1591 'mediawiki.libs.pluralruleparser',
1593 'targets' => [ 'desktop', 'mobile' ],
1596 'mediawiki.libs.pluralruleparser' => [
1597 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1598 'targets' => [ 'desktop', 'mobile' ],
1601 'mediawiki.language.init' => [
1602 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1603 'targets' => [ 'desktop', 'mobile' ],
1606 'mediawiki.jqueryMsg' => [
1607 // Add data for mediawiki.jqueryMsg, such as allowed tags
1608 'class' => 'ResourceLoaderJqueryMsgModule',
1609 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1612 'mediawiki.language',
1616 'targets' => [ 'desktop', 'mobile' ],
1619 'mediawiki.language.months' => [
1620 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1621 'dependencies' => 'mediawiki.language',
1622 'messages' => array_merge(
1623 Language
::$mMonthMsgs,
1624 Language
::$mMonthGenMsgs,
1625 Language
::$mMonthAbbrevMsgs
1629 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1631 'mediawiki.language.specialCharacters' => [
1632 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1635 /* MediaWiki Libs */
1637 'mediawiki.libs.jpegmeta' => [
1638 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1641 /* MediaWiki Page */
1643 'mediawiki.page.gallery' => [
1644 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1646 'mediawiki.page.gallery.styles',
1647 'jquery.throttle-debounce',
1650 'mediawiki.page.gallery.styles' => [
1652 'resources/src/mediawiki/page/gallery-print.css' => [ 'media' => 'print' ],
1653 'resources/src/mediawiki/page/gallery.css',
1655 'position' => 'top',
1656 'targets' => [ 'desktop', 'mobile' ],
1658 'mediawiki.page.gallery.slideshow' => [
1659 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1660 'position' => 'top',
1667 'oojs-ui.styles.icons-media'
1670 'mediawiki.page.ready' => [
1671 'scripts' => 'resources/src/mediawiki/page/ready.js',
1673 'jquery.accessKeyLabel',
1674 'jquery.checkboxShiftClick',
1675 'jquery.makeCollapsible',
1676 'jquery.placeholder',
1679 'targets' => [ 'desktop', 'mobile' ],
1681 'mediawiki.page.startup' => [
1682 'scripts' => 'resources/src/mediawiki/page/startup.js',
1683 'dependencies' => 'mediawiki.util',
1684 'position' => 'top',
1685 'targets' => [ 'desktop', 'mobile' ],
1687 'mediawiki.page.patrol.ajax' => [
1688 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1690 'mediawiki.page.startup',
1699 'markedaspatrollednotify',
1700 'markedaspatrollederrornotify',
1701 'markedaspatrollederror-noautopatrol'
1704 'mediawiki.page.watch.ajax' => [
1705 'scripts' => 'resources/src/mediawiki/page/watch.js',
1707 'mediawiki.page.startup',
1708 'mediawiki.api.watch',
1711 'jquery.accessKeyLabel',
1720 'tooltip-ca-unwatch',
1724 'mediawiki.page.rollback' => [
1725 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1727 'mediawiki.api.rollback',
1736 'mediawiki.page.image.pagination' => [
1737 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1744 /* MediaWiki Special pages */
1746 'mediawiki.special' => [
1747 'position' => 'top',
1748 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1749 'targets' => [ 'desktop', 'mobile' ],
1751 'mediawiki.special.apisandbox.styles' => [
1752 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1754 'mediawiki.special.apisandbox' => [
1755 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1756 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1759 'mediawiki.jqueryMsg',
1761 'mediawiki.widgets.datetime',
1765 'apisandbox-submit',
1767 'apisandbox-fullscreen',
1768 'apisandbox-fullscreen-tooltip',
1769 'apisandbox-unfullscreen',
1770 'apisandbox-unfullscreen-tooltip',
1772 'apisandbox-loading',
1773 'apisandbox-load-error',
1774 'apisandbox-fetch-token',
1775 'apisandbox-helpurls',
1776 'apisandbox-examples',
1777 'apisandbox-dynamic-parameters',
1778 'apisandbox-dynamic-parameters-add-label',
1779 'apisandbox-dynamic-parameters-add-placeholder',
1780 'apisandbox-dynamic-error-exists',
1781 'apisandbox-deprecated-parameters',
1782 'apisandbox-no-parameters',
1783 'api-help-param-limit',
1784 'api-help-param-limit2',
1785 'api-help-param-integer-min',
1786 'api-help-param-integer-max',
1787 'api-help-param-integer-minmax',
1788 'api-help-param-multi-separate',
1789 'api-help-param-multi-max',
1790 'apisandbox-submit-invalid-fields-title',
1791 'apisandbox-submit-invalid-fields-message',
1792 'apisandbox-results',
1793 'apisandbox-sending-request',
1794 'apisandbox-loading-results',
1795 'apisandbox-results-error',
1796 'apisandbox-request-url-label',
1797 'apisandbox-request-time',
1798 'apisandbox-results-fixtoken',
1799 'apisandbox-results-fixtoken-fail',
1800 'apisandbox-alert-page',
1801 'apisandbox-alert-field',
1805 'mediawiki.special.block' => [
1806 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1807 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1808 'dependencies' => 'mediawiki.util',
1810 'mediawiki.special.changeslist' => [
1811 'position' => 'top',
1812 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1814 'mediawiki.special.changeslist.legend' => [
1815 'position' => 'top',
1816 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1818 'mediawiki.special.changeslist.legend.js' => [
1819 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1821 'jquery.makeCollapsible',
1825 'mediawiki.special.changeslist.enhanced' => [
1826 'position' => 'top',
1827 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1829 'mediawiki.special.changeslist.visitedstatus' => [
1830 'position' => 'top',
1831 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1833 'mediawiki.special.comparepages.styles' => [
1834 'position' => 'top',
1835 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1837 'mediawiki.special.edittags' => [
1838 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1843 'tags-edit-chosen-placeholder',
1844 'tags-edit-chosen-no-results',
1847 'mediawiki.special.edittags.styles' => [
1848 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1849 'position' => 'top',
1851 'mediawiki.special.import' => [
1852 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1854 'mediawiki.special.movePage' => [
1855 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1858 'mediawiki.widgets',
1861 'mediawiki.special.movePage.styles' => [
1862 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1863 'position' => 'top',
1865 'mediawiki.special.pageLanguage' => [
1866 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1871 'mediawiki.special.pagesWithProp' => [
1872 'position' => 'top',
1873 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1875 'mediawiki.special.preferences' => [
1876 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1877 'position' => 'top',
1879 'prefs-tabs-navigation-hint',
1880 'prefswarning-warning',
1885 'mediawiki.language',
1886 'mediawiki.confirmCloseWindow',
1887 'mediawiki.notification',
1890 'mediawiki.special.preferences.styles' => [
1891 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1892 'position' => 'top',
1894 'mediawiki.special.recentchanges' => [
1895 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1896 'position' => 'top',
1898 'mediawiki.special.search' => [
1899 'position' => 'top',
1900 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1901 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1902 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
1904 'powersearch-togglelabel',
1905 'powersearch-toggleall',
1906 'powersearch-togglenone',
1909 'mediawiki.special.search.styles' => [
1910 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
1911 'targets' => [ 'desktop', 'mobile' ],
1913 'mediawiki.special.undelete' => [
1914 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1916 'mediawiki.special.upload' => [
1918 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1920 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1928 'editwarning-warning',
1929 // editwarning-warning uses {{int:prefs-editing}}
1933 'mediawiki.special.upload.styles',
1935 'mediawiki.jqueryMsg',
1937 'mediawiki.libs.jpegmeta',
1940 'mediawiki.confirmCloseWindow',
1944 'mediawiki.special.upload.styles' => [
1945 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
1947 'mediawiki.special.userlogin.common.styles' => [
1949 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1951 'position' => 'top',
1953 'mediawiki.special.userlogin.signup.styles' => [
1954 'position' => 'top',
1956 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1959 'mediawiki.special.userlogin.login.styles' => [
1960 'position' => 'top',
1962 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1965 'mediawiki.special.userlogin.signup.js' => [
1966 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1969 'createacct-emailrequired',
1975 'mediawiki.jqueryMsg',
1976 'jquery.throttle-debounce',
1979 'mediawiki.special.unwatchedPages' => [
1980 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1981 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1983 'addedwatchtext-short',
1984 'removedwatchtext-short',
1993 'mediawiki.api.watch',
1999 'mediawiki.special.watchlist' => [
2000 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2002 'mediawiki.special.version' => [
2003 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2006 /* MediaWiki Installer */
2008 // Used in the web installer. Test it after modifying this definition!
2009 'mediawiki.legacy.config' => [
2010 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2011 'scripts' => 'mw-config/config.js',
2012 'styles' => 'mw-config/config.css',
2015 /* MediaWiki Legacy */
2017 'mediawiki.legacy.commonPrint' => [
2018 'position' => 'top',
2020 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2023 'mediawiki.legacy.protect' => [
2024 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2025 'dependencies' => 'jquery.byteLimit',
2026 'messages' => [ 'protect-unchain-permissions' ]
2028 // Used in the web installer. Test it after modifying this definition!
2029 'mediawiki.legacy.shared' => [
2030 'position' => 'top',
2032 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2035 'mediawiki.legacy.oldshared' => [
2036 'position' => 'top',
2038 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2041 'mediawiki.legacy.wikibits' => [
2042 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2043 'dependencies' => 'mediawiki.util',
2044 'position' => 'top',
2045 'targets' => [ 'desktop', 'mobile' ],
2051 'position' => 'top',
2054 'resources/src/mediawiki.ui/default.less',
2057 'targets' => [ 'desktop', 'mobile' ],
2059 'mediawiki.ui.checkbox' => [
2060 'position' => 'top',
2063 'resources/src/mediawiki.ui/components/checkbox.less',
2066 'targets' => [ 'desktop', 'mobile' ],
2068 'mediawiki.ui.radio' => [
2069 'position' => 'top',
2072 'resources/src/mediawiki.ui/components/radio.less',
2075 'targets' => [ 'desktop', 'mobile' ],
2077 // Lightweight module for anchor styles
2078 'mediawiki.ui.anchor' => [
2079 'position' => 'top',
2082 'resources/src/mediawiki.ui/components/anchors.less',
2085 'targets' => [ 'desktop', 'mobile' ],
2087 // Lightweight module for button styles
2088 'mediawiki.ui.button' => [
2089 'position' => 'top',
2092 'resources/src/mediawiki.ui/components/buttons.less',
2095 'targets' => [ 'desktop', 'mobile' ],
2097 'mediawiki.ui.input' => [
2098 'position' => 'top',
2101 'resources/src/mediawiki.ui/components/inputs.less',
2104 'targets' => [ 'desktop', 'mobile' ],
2106 'mediawiki.ui.icon' => [
2107 'position' => 'top',
2110 'resources/src/mediawiki.ui/components/icons.less',
2113 'targets' => [ 'desktop', 'mobile' ],
2115 // Lightweight module for text styles
2116 'mediawiki.ui.text' => [
2117 'position' => 'top',
2120 'resources/src/mediawiki.ui/components/text.less',
2123 'targets' => [ 'desktop', 'mobile' ],
2126 'mediawiki.widgets' => [
2128 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2129 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2130 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2131 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2132 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2133 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2134 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2138 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2143 'mediawiki.widgets.styles',
2148 // TitleOptionWidget
2149 'jquery.autoEllipsis',
2152 // NamespaceInputWidget
2156 'mw-widgets-titleinput-description-new-page',
2157 'mw-widgets-titleinput-description-redirect',
2159 'targets' => [ 'desktop', 'mobile' ],
2161 'mediawiki.widgets.styles' => [
2164 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2165 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2168 'position' => 'top',
2169 'targets' => [ 'desktop', 'mobile' ],
2171 'mediawiki.widgets.DateInputWidget' => [
2173 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2174 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2178 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2179 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2183 'mw-widgets-dateinput-no-date',
2184 'mw-widgets-dateinput-placeholder-day',
2185 'mw-widgets-dateinput-placeholder-month',
2191 'targets' => [ 'desktop', 'mobile' ],
2193 'mediawiki.widgets.datetime' => [
2195 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2196 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2197 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2198 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2199 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2203 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2204 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2254 'targets' => [ 'desktop', 'mobile' ],
2256 'mediawiki.widgets.CategorySelector' => [
2258 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2259 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2264 'mediawiki.ForeignApi',
2270 'targets' => [ 'desktop', 'mobile' ],
2272 'mediawiki.widgets.UserInputWidget' => [
2274 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2279 'targets' => [ 'desktop', 'mobile' ],
2281 'mediawiki.widgets.SearchInputWidget' => [
2283 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2286 'mediawiki.searchSuggest',
2287 // FIXME: Needs TitleInputWidget only
2288 'mediawiki.widgets',
2291 'mediawiki.widgets.SearchInputWidget.styles' => [
2294 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2297 'position' => 'top',
2298 'targets' => [ 'desktop', 'mobile' ],
2300 'mediawiki.widgets.StashedFileWidget' => [
2302 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2306 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2316 'resources/lib/es5-shim/es5-shim.js',
2317 'resources/src/polyfill-object-create.js',
2319 'targets' => [ 'desktop', 'mobile' ],
2320 'skipFunction' => 'resources/src/es5-skip.js',
2323 /* dom-level2-shim */
2325 'dom-level2-shim' => [
2326 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2327 'targets' => [ 'desktop', 'mobile' ],
2328 'skipFunction' => 'resources/src/dom-level2-skip.js',
2334 'resources/lib/oojs/oojs.jquery.js',
2335 'resources/src/oojs-global.js',
2337 'targets' => [ 'desktop', 'mobile' ],
2344 'mediawiki.router' => [
2346 'resources/src/mediawiki.router/index.js',
2348 'targets' => [ 'desktop', 'mobile' ],
2356 'resources/lib/oojs-router/oojs-router.js',
2358 'targets' => [ 'desktop', 'mobile' ],
2365 // @see ResourcesOOUI.php