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',
43 'class' => 'ResourceLoaderWikiModule',
44 'styles' => [ 'MediaWiki:Filepage.css' ],
47 // Merged into 'user' since MediaWiki 1.28 - kept for back-compat
48 'dependencies' => 'user',
49 'targets' => [ 'desktop', 'mobile' ],
52 // Scripts managed by the current user (stored in their user space)
53 'user' => [ 'class' => 'ResourceLoaderUserModule' ],
54 'user.styles' => [ 'class' => 'ResourceLoaderUserStylesModule' ],
56 // Populate mediawiki.user placeholders with information about the current user
57 'user.defaults' => [ 'class' => 'ResourceLoaderUserDefaultsModule' ],
58 'user.options' => [ 'class' => 'ResourceLoaderUserOptionsModule' ],
59 'user.tokens' => [ 'class' => 'ResourceLoaderUserTokensModule' ],
61 // Scripts for the dynamic language specific data, like grammar forms.
62 'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
64 /* MediaWiki base skinning modules */
67 * Common skin styles, grouped into three graded levels.
70 * The base level that only contains the most basic of common skin styles.
71 * Only styles for single elements are included, no styling for complex structures like the
72 * TOC is present. This level is for skins that want to implement the entire style of even
73 * content area structures like the TOC themselves.
76 * The most commonly used level for skins implemented from scratch. This level includes all
77 * the single element styles from "elements" as well as styles for complex structures such
78 * as the TOC that are output in the content area by MediaWiki rather than the skin.
79 * Essentially this is the common level that lets skins leave the style of the content area
80 * as it is normally styled, while leaving the rest of the skin up to the skin
83 * Level 3 "interface":
84 * The highest level, this stylesheet contains extra common styles for classes like
85 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
86 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
87 * common to MonoBook clones. And since practically every skin that currently exists within
88 * core is a MonoBook clone, all our core skins currently use this level.
90 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
91 * dependency management. As a result they contain duplicate stylesheet references instead of
92 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
93 * including more than one of them into your skin as this will result in duplicate CSS.
95 'mediawiki.skinning.elements' => [
97 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
100 'mediawiki.skinning.content' => [
102 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
103 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
106 // Used in the web installer. Test it after modifying this definition!
107 'mediawiki.skinning.interface' => [
108 'class' => 'ResourceLoaderSkinModule',
110 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
111 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
112 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
116 'mediawiki.skinning.content.parsoid' => [
117 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
118 // with the interface.css styles; skinStyles should be used if your
119 // skin over-rides common content styling.
121 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
123 'targets' => [ 'desktop', 'mobile' ],
126 'mediawiki.skinning.content.externallinks' => [
128 'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
136 'resources/lib/jquery/jquery.js',
139 'targets' => [ 'desktop', 'mobile' ],
144 'jquery.accessKeyLabel' => [
145 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
150 'messages' => [ 'brackets', 'word-separator' ],
151 'targets' => [ 'mobile', 'desktop' ],
155 'message' => 'Please use "mediawiki.viewport" instead.',
157 'scripts' => 'resources/lib/jquery/jquery.appear.js',
159 'jquery.arrowSteps' => [
160 'deprecated' => true,
161 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
162 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
163 'targets' => [ 'desktop', 'mobile' ],
166 'scripts' => 'resources/lib/jquery/jquery.async.js',
168 'jquery.autoEllipsis' => [
169 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
170 'dependencies' => 'jquery.highlightText',
171 'targets' => [ 'desktop', 'mobile' ],
174 'scripts' => 'resources/src/jquery/jquery.badge.js',
175 'styles' => 'resources/src/jquery/jquery.badge.css',
176 'dependencies' => 'mediawiki.language',
178 'jquery.byteLength' => [
179 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
180 'targets' => [ 'desktop', 'mobile' ],
182 'jquery.byteLimit' => [
183 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
184 'dependencies' => 'jquery.byteLength',
185 'targets' => [ 'desktop', 'mobile' ],
187 'jquery.checkboxShiftClick' => [
188 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
189 'targets' => [ 'desktop', 'mobile' ],
192 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
193 'styles' => 'resources/lib/jquery.chosen/chosen.css',
196 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
197 'targets' => [ 'desktop', 'mobile' ],
200 'scripts' => 'resources/src/jquery/jquery.color.js',
201 'dependencies' => 'jquery.colorUtil',
203 'jquery.colorUtil' => [
204 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
206 'jquery.confirmable' => [
208 'resources/src/jquery/jquery.confirmable.js',
209 'resources/src/jquery/jquery.confirmable.mediawiki.js',
212 'confirmable-confirm',
217 'styles' => 'resources/src/jquery/jquery.confirmable.css',
218 'dependencies' => 'mediawiki.jqueryMsg',
221 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
222 'targets' => [ 'desktop', 'mobile' ],
224 'jquery.expandableField' => [
225 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
227 'jquery.farbtastic' => [
228 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
229 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
230 'dependencies' => 'jquery.colorUtil',
232 'jquery.footHovzer' => [
233 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
234 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
237 'scripts' => 'resources/lib/jquery/jquery.form.js',
239 'jquery.fullscreen' => [
240 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
242 'jquery.getAttrs' => [
243 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
244 'targets' => [ 'desktop', 'mobile' ],
247 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
248 'targets' => [ 'desktop', 'mobile' ],
250 'jquery.highlightText' => [
251 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
255 'targets' => [ 'desktop', 'mobile' ],
257 'jquery.hoverIntent' => [
258 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
262 'resources/lib/jquery.i18n/src/jquery.i18n.js',
263 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
264 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
265 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
267 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
268 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
270 'dependencies' => 'mediawiki.libs.pluralruleparser',
271 'languageScripts' => [
272 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
273 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
274 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
275 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
276 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
277 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
278 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
279 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
280 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
281 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
282 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
283 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
284 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
285 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
287 'targets' => [ 'desktop', 'mobile' ],
289 'jquery.localize' => [
290 'scripts' => 'resources/src/jquery/jquery.localize.js',
292 'jquery.makeCollapsible' => [
293 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
294 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
295 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
296 'targets' => [ 'desktop', 'mobile' ],
298 'jquery.mockjax' => [
299 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
301 'jquery.mw-jump' => [
302 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
303 'targets' => [ 'desktop', 'mobile' ],
305 'jquery.mwExtension' => [
306 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
307 'targets' => [ 'desktop', 'mobile' ],
309 'jquery.placeholder' => [
310 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
311 'targets' => [ 'desktop', 'mobile' ],
314 'scripts' => 'resources/lib/qunitjs/qunit.js',
315 'styles' => 'resources/lib/qunitjs/qunit.css',
316 'targets' => [ 'desktop', 'mobile' ],
318 'jquery.qunit.completenessTest' => [
319 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
320 'dependencies' => 'jquery.qunit',
321 'targets' => [ 'desktop', 'mobile' ],
323 'jquery.spinner' => [
324 'scripts' => 'resources/src/jquery/jquery.spinner.js',
325 'styles' => 'resources/src/jquery/jquery.spinner.css',
326 'targets' => [ 'desktop', 'mobile' ],
328 'jquery.jStorage' => [
330 'message' => 'Please use "mediawiki.storage" instead.',
332 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
334 'jquery.suggestions' => [
335 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
336 'styles' => 'resources/src/jquery/jquery.suggestions.css',
337 'dependencies' => 'jquery.highlightText',
339 'jquery.tabIndex' => [
340 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
342 'jquery.tablesorter' => [
343 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
344 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
345 'messages' => [ 'sort-descending', 'sort-ascending' ],
348 'mediawiki.language.months',
351 'jquery.textSelection' => [
352 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
353 'dependencies' => 'jquery.client',
354 'targets' => [ 'mobile', 'desktop' ],
356 'jquery.throttle-debounce' => [
357 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
358 'targets' => [ 'desktop', 'mobile' ],
361 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
367 'deprecated' => true,
368 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
369 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
374 'jquery.ui.core' => [
376 'message' => 'Please use "mediawiki.ui.button" or "oojs-ui" instead.',
378 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
380 'jquery.ui.core.styles',
382 'group' => 'jquery.ui',
384 '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 'deprecated' => true,
561 'targets' => [ 'mobile', 'desktop' ],
562 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
563 'group' => 'jquery.ui',
565 'jquery.ui.progressbar' => [
566 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
572 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
574 'group' => 'jquery.ui',
576 'jquery.ui.resizable' => [
577 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
584 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
586 'group' => 'jquery.ui',
588 'jquery.ui.selectable' => [
589 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
596 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
598 'group' => 'jquery.ui',
600 'jquery.ui.slider' => [
601 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
608 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
610 'group' => 'jquery.ui',
612 'jquery.ui.sortable' => [
613 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
619 'group' => 'jquery.ui',
621 'jquery.ui.spinner' => [
622 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
629 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
631 'group' => 'jquery.ui',
633 'jquery.ui.tabs' => [
634 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
640 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
642 'group' => 'jquery.ui',
644 'jquery.ui.tooltip' => [
645 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
649 'jquery.ui.position',
652 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
654 'group' => 'jquery.ui',
656 'jquery.ui.widget' => [
657 'deprecated' => true,
658 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
659 'group' => 'jquery.ui',
662 'jquery.effects.core' => [
663 'deprecated' => true,
664 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
665 'group' => 'jquery.ui',
667 'jquery.effects.blind' => [
668 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
669 'dependencies' => 'jquery.effects.core',
670 'group' => 'jquery.ui',
672 'jquery.effects.bounce' => [
673 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
674 'dependencies' => 'jquery.effects.core',
675 'group' => 'jquery.ui',
677 'jquery.effects.clip' => [
678 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
679 'dependencies' => 'jquery.effects.core',
680 'group' => 'jquery.ui',
682 'jquery.effects.drop' => [
683 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
684 'dependencies' => 'jquery.effects.core',
685 'group' => 'jquery.ui',
687 'jquery.effects.explode' => [
688 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
689 'dependencies' => 'jquery.effects.core',
690 'group' => 'jquery.ui',
692 'jquery.effects.fade' => [
693 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
694 'dependencies' => 'jquery.effects.core',
695 'group' => 'jquery.ui',
697 'jquery.effects.fold' => [
698 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
699 'dependencies' => 'jquery.effects.core',
700 'group' => 'jquery.ui',
702 'jquery.effects.highlight' => [
703 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
704 'dependencies' => 'jquery.effects.core',
705 'group' => 'jquery.ui',
707 'jquery.effects.pulsate' => [
708 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
709 'dependencies' => 'jquery.effects.core',
710 'group' => 'jquery.ui',
712 'jquery.effects.scale' => [
713 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
714 'dependencies' => 'jquery.effects.core',
715 'group' => 'jquery.ui',
717 'jquery.effects.shake' => [
718 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
719 'dependencies' => 'jquery.effects.core',
720 'group' => 'jquery.ui',
722 'jquery.effects.slide' => [
723 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
724 'dependencies' => 'jquery.effects.core',
725 'group' => 'jquery.ui',
727 'jquery.effects.transfer' => [
728 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
729 'dependencies' => 'jquery.effects.core',
730 'group' => 'jquery.ui',
735 // Deprecated since MediaWiki 1.29.0
737 'deprecated' => 'Use of the "json" module is deprecated since MediaWiki 1.29.0',
738 'targets' => [ 'desktop', 'mobile' ],
745 // HACK: For some reason if you don't define window.moment first, loading moment fatals
746 'resources/src/moment-global.js',
747 'resources/lib/moment/moment.js',
749 'languageScripts' => [
750 'aeb-arab' => 'resources/lib/moment/locale/ar-tn.js',
751 'af' => 'resources/lib/moment/locale/af.js',
752 'ar' => 'resources/lib/moment/locale/ar.js',
753 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
754 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
755 'az' => 'resources/lib/moment/locale/az.js',
756 'be' => 'resources/lib/moment/locale/be.js',
757 'bg' => 'resources/lib/moment/locale/bg.js',
758 'bn' => 'resources/lib/moment/locale/bn.js',
759 'bo' => 'resources/lib/moment/locale/bo.js',
760 'br' => 'resources/lib/moment/locale/br.js',
761 'bs' => 'resources/lib/moment/locale/bs.js',
762 'ca' => 'resources/lib/moment/locale/ca.js',
763 'cs' => 'resources/lib/moment/locale/cs.js',
764 'cv' => 'resources/lib/moment/locale/cv.js',
765 'cy' => 'resources/lib/moment/locale/cy.js',
766 'da' => 'resources/lib/moment/locale/da.js',
767 'de' => 'resources/lib/moment/locale/de.js',
768 'de-at' => 'resources/lib/moment/locale/de-at.js',
769 'dv' => 'resources/lib/moment/locale/dv.js',
770 'el' => 'resources/lib/moment/locale/el.js',
771 'en' => 'resources/src/moment-dmy.js',
772 'en-au' => 'resources/lib/moment/locale/en-au.js',
773 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
774 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
775 'eo' => 'resources/lib/moment/locale/eo.js',
776 'es' => 'resources/lib/moment/locale/es.js',
777 'et' => 'resources/lib/moment/locale/et.js',
778 'eu' => 'resources/lib/moment/locale/eu.js',
779 'fa' => 'resources/lib/moment/locale/fa.js',
780 'fi' => 'resources/lib/moment/locale/fi.js',
781 'fo' => 'resources/lib/moment/locale/fo.js',
782 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
783 'fr' => 'resources/lib/moment/locale/fr.js',
784 'fy' => 'resources/lib/moment/locale/fy.js',
785 'gd' => 'resources/lib/moment/locale/gd.js',
786 'gl' => 'resources/lib/moment/locale/gl.js',
787 'he' => 'resources/lib/moment/locale/he.js',
788 'hi' => 'resources/lib/moment/locale/hi.js',
789 'hr' => 'resources/lib/moment/locale/hr.js',
790 'hu' => 'resources/lib/moment/locale/hu.js',
791 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
792 'id' => 'resources/lib/moment/locale/id.js',
793 'is' => 'resources/lib/moment/locale/is.js',
794 'it' => 'resources/lib/moment/locale/it.js',
795 'ja' => 'resources/lib/moment/locale/ja.js',
796 'jv' => 'resources/lib/moment/locale/jv.js',
797 'ka' => 'resources/lib/moment/locale/ka.js',
798 'kk-cyrl' => 'resources/lib/moment/locale/kk.js',
799 'ko' => 'resources/lib/moment/locale/ko.js',
800 'ky' => 'resources/lib/moment/locale/ky.js',
801 'lo' => 'resources/lib/moment/locale/lo.js',
802 'lt' => 'resources/lib/moment/locale/lt.js',
803 'lv' => 'resources/lib/moment/locale/lv.js',
804 'mi' => 'resources/lib/moment/locale/mi.js',
805 'mk' => 'resources/lib/moment/locale/mk.js',
806 'ml' => 'resources/lib/moment/locale/ml.js',
807 'mr' => 'resources/lib/moment/locale/mr.js',
808 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
809 'ms' => 'resources/lib/moment/locale/ms.js',
810 'my' => 'resources/lib/moment/locale/my.js',
811 'nb' => 'resources/lib/moment/locale/nb.js',
812 'ne' => 'resources/lib/moment/locale/ne.js',
813 'nl' => 'resources/lib/moment/locale/nl.js',
814 'nn' => 'resources/lib/moment/locale/nn.js',
815 'pa' => 'resources/lib/moment/locale/pa-in.js',
816 'pl' => 'resources/lib/moment/locale/pl.js',
817 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
818 'pt' => 'resources/lib/moment/locale/pt.js',
819 'ro' => 'resources/lib/moment/locale/ro.js',
820 'ru' => 'resources/lib/moment/locale/ru.js',
821 'se' => 'resources/lib/moment/locale/se.js',
822 'si' => 'resources/lib/moment/locale/si.js',
823 'sk' => 'resources/lib/moment/locale/sk.js',
824 'sl' => 'resources/lib/moment/locale/sl.js',
825 'sq' => 'resources/lib/moment/locale/sq.js',
826 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
827 'sr-el' => 'resources/lib/moment/locale/sr.js',
828 'ss' => 'resources/lib/moment/locale/ss.js',
829 'sv' => 'resources/lib/moment/locale/sv.js',
830 'sw' => 'resources/lib/moment/locale/sw.js',
831 'ta' => 'resources/lib/moment/locale/ta.js',
832 'te' => 'resources/lib/moment/locale/te.js',
833 'th' => 'resources/lib/moment/locale/th.js',
834 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
835 'tr' => 'resources/lib/moment/locale/tr.js',
836 'tzm' => 'resources/lib/moment/locale/tzm.js',
837 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
838 'uk' => 'resources/lib/moment/locale/uk.js',
839 'uz' => 'resources/lib/moment/locale/uz.js',
840 'vi' => 'resources/lib/moment/locale/vi.js',
841 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
842 'zh-hk' => 'resources/lib/moment/locale/zh-hk.js',
843 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
844 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
845 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
847 // HACK: skinScripts come after languageScripts, and we need locale overrides to come
848 // after locale definitions
851 'resources/src/moment-locale-overrides.js',
855 'mediawiki.language',
857 'targets' => [ 'desktop', 'mobile' ],
863 'class' => 'ResourceLoaderRawFileModule',
864 // Keep in sync with maintenance/jsduck/eg-iframe.html
866 'resources/src/mediawiki/mediawiki.js',
867 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
868 'resources/src/mediawiki/mediawiki.errorLogger.js',
870 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
871 'targets' => [ 'desktop', 'mobile' ],
873 'mediawiki.apihelp' => [
874 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
875 'targets' => [ 'desktop' ],
877 'mediawiki.template' => [
878 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
879 'targets' => [ 'desktop', 'mobile' ],
881 'mediawiki.template.mustache' => [
883 'resources/lib/mustache/mustache.js',
884 'resources/src/mediawiki/mediawiki.template.mustache.js',
886 'targets' => [ 'desktop', 'mobile' ],
887 'dependencies' => 'mediawiki.template',
889 'mediawiki.template.regexp' => [
890 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
891 'targets' => [ 'desktop', 'mobile' ],
892 'dependencies' => 'mediawiki.template',
894 'mediawiki.apipretty' => [
895 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
896 'targets' => [ 'desktop', 'mobile' ],
899 'scripts' => 'resources/src/mediawiki/api.js',
904 'targets' => [ 'desktop', 'mobile' ],
906 'mediawiki.api.category' => [
907 'scripts' => 'resources/src/mediawiki/api/category.js',
913 'mediawiki.api.edit' => [
914 'scripts' => 'resources/src/mediawiki/api/edit.js',
919 'targets' => [ 'desktop', 'mobile' ],
921 'mediawiki.api.login' => [
922 'scripts' => 'resources/src/mediawiki/api/login.js',
923 'dependencies' => 'mediawiki.api',
925 'mediawiki.api.options' => [
926 'scripts' => 'resources/src/mediawiki/api/options.js',
927 'dependencies' => 'mediawiki.api',
928 'targets' => [ 'desktop', 'mobile' ],
930 'mediawiki.api.parse' => [
931 'scripts' => 'resources/src/mediawiki/api/parse.js',
932 'dependencies' => 'mediawiki.api',
933 'targets' => [ 'desktop', 'mobile' ],
935 'mediawiki.api.upload' => [
936 'scripts' => 'resources/src/mediawiki/api/upload.js',
939 'mediawiki.api.edit',
941 'targets' => [ 'desktop', 'mobile' ],
943 'mediawiki.api.user' => [
944 'scripts' => 'resources/src/mediawiki/api/user.js',
948 'targets' => [ 'desktop', 'mobile' ],
950 'mediawiki.api.watch' => [
951 'scripts' => 'resources/src/mediawiki/api/watch.js',
956 'mediawiki.api.messages' => [
957 'scripts' => 'resources/src/mediawiki/api/messages.js',
961 'targets' => [ 'desktop', 'mobile' ],
963 'mediawiki.api.rollback' => [
964 'scripts' => 'resources/src/mediawiki/api/rollback.js',
969 'mediawiki.content.json' => [
970 'styles' => 'resources/src/mediawiki/mediawiki.content.json.less',
972 'mediawiki.confirmCloseWindow' => [
974 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
976 'targets' => [ 'desktop', 'mobile' ],
978 'mediawiki.debug' => [
980 'resources/src/mediawiki/mediawiki.debug.js',
983 'resources/src/mediawiki/mediawiki.debug.less',
989 'mediawiki.diff.styles' => [
991 'resources/src/mediawiki/mediawiki.diff.styles.css',
992 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
996 'targets' => [ 'desktop', 'mobile' ],
998 'mediawiki.feedback' => [
999 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
1000 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
1002 'mediawiki.messagePoster',
1010 'feedback-bugcheck',
1011 'feedback-dialog-intro',
1012 'feedback-external-bug-report-button',
1014 'feedback-bugornote',
1017 'feedback-dialog-title',
1026 'feedback-termsofuse',
1028 'feedback-thanks-title',
1029 'feedback-useragent'
1031 'targets' => [ 'desktop', 'mobile' ],
1033 'mediawiki.feedlink' => [
1034 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1036 'mediawiki.filewarning' => [
1037 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1038 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1043 'mediawiki.ForeignApi' => [
1044 'targets' => [ 'desktop', 'mobile' ],
1045 'class' => 'ResourceLoaderForeignApiModule',
1046 // Additional dependencies generated dynamically
1047 'dependencies' => 'mediawiki.ForeignApi.core',
1049 'mediawiki.ForeignApi.core' => [
1050 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1055 'targets' => [ 'desktop', 'mobile' ],
1057 'mediawiki.helplink' => [
1059 'resources/src/mediawiki/mediawiki.helplink.less',
1061 'targets' => [ 'desktop', 'mobile' ],
1063 'mediawiki.hidpi' => [
1064 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1065 'dependencies' => 'jquery.hidpi',
1066 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1067 'targets' => [ 'desktop', 'mobile' ],
1069 'mediawiki.hlist' => [
1070 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1072 'mediawiki.htmlform' => [
1074 'resources/src/mediawiki/htmlform/htmlform.js',
1075 'resources/src/mediawiki/htmlform/autocomplete.js',
1076 'resources/src/mediawiki/htmlform/autoinfuse.js',
1077 'resources/src/mediawiki/htmlform/checkmatrix.js',
1078 'resources/src/mediawiki/htmlform/cloner.js',
1079 'resources/src/mediawiki/htmlform/hide-if.js',
1080 'resources/src/mediawiki/htmlform/multiselect.js',
1081 'resources/src/mediawiki/htmlform/selectandother.js',
1082 'resources/src/mediawiki/htmlform/selectorother.js',
1089 'htmlform-chosen-placeholder',
1090 // @todo Load this message in content language
1093 'targets' => [ 'desktop', 'mobile' ],
1095 'mediawiki.htmlform.ooui' => [
1097 'resources/src/mediawiki/htmlform/htmlform.Element.js',
1102 'targets' => [ 'desktop', 'mobile' ],
1104 'mediawiki.htmlform.styles' => [
1105 'styles' => 'resources/src/mediawiki/htmlform/styles.css',
1106 'targets' => [ 'desktop', 'mobile' ],
1108 'mediawiki.htmlform.ooui.styles' => [
1109 'styles' => 'resources/src/mediawiki/htmlform/ooui.styles.css',
1110 'targets' => [ 'desktop', 'mobile' ],
1112 'mediawiki.icon' => [
1113 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1114 'targets' => [ 'desktop', 'mobile' ],
1116 'mediawiki.inspect' => [
1117 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1119 'jquery.byteLength',
1122 'targets' => [ 'desktop', 'mobile' ],
1124 'mediawiki.messagePoster' => [
1126 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1127 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1132 'mediawiki.ForeignApi',
1134 'targets' => [ 'desktop', 'mobile' ],
1136 'mediawiki.messagePoster.wikitext' => [
1138 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1141 'mediawiki.api.edit',
1142 'mediawiki.messagePoster',
1144 'targets' => [ 'desktop', 'mobile' ],
1146 'mediawiki.notification' => [
1148 'resources/src/mediawiki/mediawiki.notification.common.css',
1149 'resources/src/mediawiki/mediawiki.notification.print.css'
1150 => [ 'media' => 'print' ],
1153 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1155 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1156 'dependencies' => 'mediawiki.page.startup',
1157 'targets' => [ 'desktop', 'mobile' ],
1159 'mediawiki.notify' => [
1160 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1161 'targets' => [ 'desktop', 'mobile' ],
1163 'mediawiki.notification.convertmessagebox' => [
1165 'mediawiki.notification',
1167 'scripts' => 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.js',
1168 'targets' => [ 'desktop', 'mobile' ],
1170 'mediawiki.notification.convertmessagebox.styles' => [
1172 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.styles.less',
1174 'targets' => [ 'desktop', 'mobile' ],
1176 'mediawiki.RegExp' => [
1177 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1178 'targets' => [ 'desktop', 'mobile' ],
1180 'mediawiki.pager.tablePager' => [
1181 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1183 'mediawiki.searchSuggest' => [
1184 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1185 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1187 'searchsuggest-search',
1188 'searchsuggest-containing',
1191 'jquery.placeholder',
1192 'jquery.suggestions',
1197 'mediawiki.sectionAnchor' => [
1198 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1199 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1200 'targets' => [ 'desktop', 'mobile' ],
1202 'mediawiki.storage' => [
1203 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1204 'targets' => [ 'desktop', 'mobile' ],
1206 'mediawiki.Title' => [
1208 'resources/src/mediawiki/mediawiki.Title.js',
1209 'resources/src/mediawiki/mediawiki.Title.phpCharToUpper.js',
1212 'jquery.byteLength',
1215 'targets' => [ 'desktop', 'mobile' ],
1217 'mediawiki.Upload' => [
1218 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1220 'mediawiki.api.upload',
1223 'mediawiki.ForeignUpload' => [
1224 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1226 'mediawiki.ForeignApi',
1231 'uploaddisabledtext',
1232 'upload-dialog-disabled',
1233 'upload-foreign-cant-upload',
1236 'mediawiki.ForeignStructuredUpload.config' => [
1237 'class' => 'ResourceLoaderUploadDialogModule',
1239 'mediawiki.ForeignStructuredUpload' => [
1240 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1242 'mediawiki.ForeignUpload',
1243 'mediawiki.ForeignStructuredUpload.config',
1246 'upload-foreign-cant-load-config',
1249 'mediawiki.Upload.Dialog' => [
1251 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1254 'mediawiki.Upload.BookletLayout',
1257 'upload-dialog-title',
1258 'upload-dialog-button-cancel',
1259 'upload-dialog-button-back',
1260 'upload-dialog-button-done',
1261 'upload-dialog-button-save',
1262 'upload-dialog-button-upload',
1265 'mediawiki.Upload.BookletLayout' => [
1267 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1270 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1276 'oojs-ui.styles.icons-content',
1277 'oojs-ui.styles.icons-editing-advanced',
1282 'mediawiki.jqueryMsg',
1283 'mediawiki.widgets.StashedFileWidget'
1286 'upload-form-label-infoform-title',
1287 'upload-form-label-infoform-name',
1288 'upload-form-label-infoform-name-tooltip',
1289 'upload-form-label-infoform-description',
1290 'upload-form-label-infoform-description-tooltip',
1291 'upload-form-label-usage-title',
1292 'upload-form-label-usage-filename',
1294 'apierror-mustbeloggedin',
1296 'apierror-unknownerror',
1297 'api-error-unknown-warning',
1300 'file-exists-duplicate',
1301 'file-deleted-duplicate',
1302 'filename-bad-prefix',
1303 'filename-thumb-name',
1306 'protectedpagetext',
1309 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1310 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1311 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1313 'mediawiki.ForeignStructuredUpload',
1314 'mediawiki.Upload.BookletLayout',
1315 'mediawiki.widgets.CategorySelector',
1316 'mediawiki.widgets.DateInputWidget',
1317 'mediawiki.jqueryMsg',
1318 'mediawiki.api.messages',
1320 'mediawiki.libs.jpegmeta',
1323 'upload-form-label-own-work',
1324 'upload-form-label-infoform-categories',
1325 'upload-form-label-infoform-date',
1326 'upload-form-label-own-work-message-generic-local',
1327 'upload-form-label-not-own-work-message-generic-local',
1328 'upload-form-label-not-own-work-local-generic-local',
1329 'upload-form-label-own-work-message-generic-foreign',
1330 'upload-form-label-not-own-work-message-generic-foreign',
1331 'upload-form-label-not-own-work-local-generic-foreign',
1334 'mediawiki.toc' => [
1335 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1337 'resources/src/mediawiki/mediawiki.toc.css'
1338 => [ 'media' => 'screen' ],
1339 'resources/src/mediawiki/mediawiki.toc.print.css'
1340 => [ 'media' => 'print' ],
1342 'dependencies' => 'mediawiki.cookie',
1343 'messages' => [ 'showtoc', 'hidetoc' ],
1344 'targets' => [ 'desktop', 'mobile' ],
1346 'mediawiki.Uri' => [
1347 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1349 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1350 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1352 'dependencies' => 'mediawiki.util',
1353 'targets' => [ 'desktop', 'mobile' ],
1355 'mediawiki.user.blockcookie' => [
1356 'scripts' => 'resources/src/mediawiki/mediawiki.user.blockcookie.js',
1357 'dependencies' => [ 'mediawiki.cookie', 'mediawiki.storage' ],
1358 'targets' => [ 'desktop', 'mobile' ],
1360 'mediawiki.user' => [
1361 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1364 'mediawiki.api.user',
1366 'mediawiki.storage',
1370 'targets' => [ 'desktop', 'mobile' ],
1372 'mediawiki.userSuggest' => [
1373 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1375 'jquery.suggestions',
1379 'mediawiki.util' => [
1380 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1382 'jquery.accessKeyLabel',
1386 'targets' => [ 'desktop', 'mobile' ],
1388 'mediawiki.viewport' => [
1389 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1390 'targets' => [ 'desktop', 'mobile' ],
1392 'mediawiki.checkboxtoggle' => [
1393 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1395 'mediawiki.checkboxtoggle.styles' => [
1396 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1398 'mediawiki.cookie' => [
1399 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1400 'dependencies' => 'jquery.cookie',
1401 'targets' => [ 'desktop', 'mobile' ],
1403 'mediawiki.toolbar' => [
1404 'class' => 'ResourceLoaderEditToolbarModule',
1405 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1406 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1407 'dependencies' => 'jquery.textSelection',
1409 'mediawiki.experiments' => [
1410 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1411 'targets' => [ 'desktop', 'mobile' ],
1414 /* MediaWiki Action */
1416 'mediawiki.action.edit' => [
1418 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1419 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1421 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1423 'mediawiki.action.edit.styles',
1424 'jquery.textSelection',
1429 'mediawiki.action.edit.styles' => [
1430 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1432 'mediawiki.action.edit.collapsibleFooter' => [
1433 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1434 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1436 'jquery.makeCollapsible',
1437 'mediawiki.storage',
1441 'mediawiki.action.edit.preview' => [
1442 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1446 'jquery.textSelection',
1448 'mediawiki.diff.styles',
1450 'mediawiki.jqueryMsg',
1453 // Keep the uses message keys in sync with EditPage#setHeaders
1467 'mediawiki.action.history' => [
1468 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1469 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1471 'mediawiki.action.history.styles' => [
1472 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1474 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1475 'mediawiki.action.history.diff' => [
1477 'resources/src/mediawiki/mediawiki.diff.styles.css',
1478 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1482 'targets' => [ 'desktop', 'mobile' ],
1484 'mediawiki.action.view.dblClickEdit' => [
1485 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1488 'mediawiki.page.startup',
1492 'mediawiki.action.view.metadata' => [
1493 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1494 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1497 'metadata-collapse',
1500 'mediawiki.action.view.categoryPage.styles' => [
1501 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1502 'targets' => [ 'desktop', 'mobile' ]
1504 'mediawiki.action.view.postEdit' => [
1506 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1508 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1509 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1512 'mediawiki.jqueryMsg'
1515 'postedit-confirmation-created',
1516 'postedit-confirmation-restored',
1517 'postedit-confirmation-saved',
1520 'mediawiki.action.view.redirect' => [
1521 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1522 'dependencies' => 'jquery.client',
1523 'targets' => [ 'desktop', 'mobile' ],
1525 'mediawiki.action.view.redirectPage' => [
1526 'targets' => [ 'desktop', 'mobile' ],
1527 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1529 'mediawiki.action.view.rightClickEdit' => [
1530 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1532 'mediawiki.action.edit.editWarning' => [
1533 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1535 'jquery.textSelection',
1536 'mediawiki.jqueryMsg',
1537 'mediawiki.confirmCloseWindow',
1541 'editwarning-warning',
1542 // editwarning-warning uses {{int:prefs-editing}}
1546 'mediawiki.action.view.filepage' => [
1548 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1549 [ 'media' => 'print' ],
1550 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1554 /* MediaWiki Language */
1556 'mediawiki.language' => [
1558 'resources/src/mediawiki.language/mediawiki.language.js',
1559 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1560 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1562 'languageScripts' => [
1563 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1564 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1565 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1566 'ga' => 'resources/src/mediawiki.language/languages/ga.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 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1575 'mediawiki.language.data',
1578 'targets' => [ 'desktop', 'mobile' ],
1586 'mediawiki.cldr' => [
1587 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1589 'mediawiki.libs.pluralruleparser',
1591 'targets' => [ 'desktop', 'mobile' ],
1594 'mediawiki.libs.pluralruleparser' => [
1595 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1596 'targets' => [ 'desktop', 'mobile' ],
1599 'mediawiki.language.init' => [
1600 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1601 'targets' => [ 'desktop', 'mobile' ],
1604 'mediawiki.jqueryMsg' => [
1605 // Add data for mediawiki.jqueryMsg, such as allowed tags
1606 'class' => 'ResourceLoaderJqueryMsgModule',
1607 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1610 'mediawiki.language',
1613 'targets' => [ 'desktop', 'mobile' ],
1616 'mediawiki.language.months' => [
1617 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1618 'dependencies' => 'mediawiki.language',
1619 'messages' => array_merge(
1620 Language
::$mMonthMsgs,
1621 Language
::$mMonthGenMsgs,
1622 Language
::$mMonthAbbrevMsgs
1626 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1628 'mediawiki.language.specialCharacters' => [
1629 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1632 /* MediaWiki Libs */
1634 'mediawiki.libs.jpegmeta' => [
1635 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1636 'targets' => [ 'desktop', 'mobile' ],
1639 /* MediaWiki Page */
1641 'mediawiki.page.gallery' => [
1642 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1644 'mediawiki.page.gallery.styles',
1645 'jquery.throttle-debounce',
1648 'mediawiki.page.gallery.styles' => [
1650 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1651 'resources/src/mediawiki/page/gallery.css',
1653 'targets' => [ 'desktop', 'mobile' ],
1655 'mediawiki.page.gallery.slideshow' => [
1656 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1663 'oojs-ui.styles.icons-media'
1666 'gallery-slideshow-toggle'
1669 'mediawiki.page.ready' => [
1670 'scripts' => 'resources/src/mediawiki/page/ready.js',
1672 'jquery.accessKeyLabel',
1673 'jquery.checkboxShiftClick',
1674 'jquery.makeCollapsible',
1675 'jquery.placeholder',
1678 'targets' => [ 'desktop', 'mobile' ],
1680 'mediawiki.page.startup' => [
1681 'scripts' => 'resources/src/mediawiki/page/startup.js',
1682 'dependencies' => 'mediawiki.util',
1683 'targets' => [ 'desktop', 'mobile' ],
1685 'mediawiki.page.patrol.ajax' => [
1686 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1688 'mediawiki.page.startup',
1697 'markedaspatrollednotify',
1698 'markedaspatrollederrornotify',
1699 'markedaspatrollederror-noautopatrol'
1702 'mediawiki.page.watch.ajax' => [
1703 'scripts' => 'resources/src/mediawiki/page/watch.js',
1705 'mediawiki.page.startup',
1706 'mediawiki.api.watch',
1710 'mediawiki.jqueryMsg',
1711 'jquery.accessKeyLabel',
1720 'tooltip-ca-unwatch',
1723 'addedwatchtext-talk',
1725 'removedwatchtext-talk',
1728 'mediawiki.page.rollback' => [
1729 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1731 'mediawiki.api.rollback',
1740 'mediawiki.page.image.pagination' => [
1741 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1748 /* MediaWiki Special pages */
1750 'mediawiki.rcfilters.filters.base.styles' => [
1752 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.less',
1755 'mediawiki.rcfilters.filters.dm' => [
1757 'resources/src/mediawiki.rcfilters/mw.rcfilters.js',
1758 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterItem.js',
1759 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterGroup.js',
1760 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FiltersViewModel.js',
1761 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.ChangesListViewModel.js',
1762 'resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js',
1769 'mediawiki.rcfilters.filters.ui' => [
1771 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.CheckboxInputWidget.js',
1772 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FiltersListWidget.js',
1773 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterGroupWidget.js',
1774 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemWidget.js',
1775 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.CapsuleItemWidget.js',
1776 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterCapsuleMultiselectWidget.js',
1777 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js',
1778 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js',
1779 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FormWrapperWidget.js',
1780 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemHighlightButton.js',
1781 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.HighlightColorPickerWidget.js',
1782 'resources/src/mediawiki.rcfilters/mw.rcfilters.HighlightColors.js',
1783 'resources/src/mediawiki.rcfilters/mw.rcfilters.init.js',
1786 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.mixins.less',
1787 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.variables.less',
1788 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.less',
1789 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.Overlay.less',
1790 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterItemWidget.less',
1791 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.CapsuleItemWidget.less',
1792 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterGroupWidget.less',
1793 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FiltersListWidget.less',
1794 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less',
1795 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterCapsuleMultiselectWidget.less',
1796 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ChangesListWrapperWidget.less',
1797 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.HighlightColorPickerWidget.less',
1798 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterItemHighlightButton.less',
1801 'rcfilters-activefilters',
1802 'rcfilters-restore-default-filters',
1803 'rcfilters-clear-all-filters',
1804 'rcfilters-search-placeholder',
1805 'rcfilters-invalid-filter',
1806 'rcfilters-empty-filter',
1807 'rcfilters-filterlist-title',
1808 'rcfilters-filterlist-feedbacklink',
1809 'rcfilters-filterlist-noresults',
1810 'rcfilters-filtergroup-registration',
1811 'rcfilters-filter-registered-label',
1812 'rcfilters-filter-registered-description',
1813 'rcfilters-filter-unregistered-label',
1814 'rcfilters-filter-unregistered-description',
1815 'rcfilters-filtergroup-authorship',
1816 'rcfilters-filter-editsbyself-label',
1817 'rcfilters-filter-editsbyself-description',
1818 'rcfilters-filter-editsbyother-label',
1819 'rcfilters-filter-editsbyother-description',
1820 'rcfilters-filtergroup-userExpLevel',
1821 'rcfilters-filter-userExpLevel-newcomer-label',
1822 'rcfilters-filter-userExpLevel-newcomer-description',
1823 'rcfilters-filter-userExpLevel-learner-label',
1824 'rcfilters-filter-userExpLevel-learner-description',
1825 'rcfilters-filter-userExpLevel-experienced-label',
1826 'rcfilters-filter-userExpLevel-experienced-description',
1827 'rcfilters-filtergroup-automated',
1828 'rcfilters-filter-bots-label',
1829 'rcfilters-filter-bots-description',
1830 'rcfilters-filter-humans-label',
1831 'rcfilters-filter-humans-description',
1832 'rcfilters-filtergroup-significance',
1833 'rcfilters-filter-minor-label',
1834 'rcfilters-filter-minor-description',
1835 'rcfilters-filter-major-label',
1836 'rcfilters-filter-major-description',
1837 'rcfilters-filtergroup-changetype',
1838 'rcfilters-filter-pageedits-label',
1839 'rcfilters-filter-pageedits-description',
1840 'rcfilters-filter-newpages-label',
1841 'rcfilters-filter-newpages-description',
1842 'rcfilters-filter-categorization-label',
1843 'rcfilters-filter-categorization-description',
1844 'rcfilters-filter-logactions-label',
1845 'rcfilters-filter-logactions-description',
1846 'rcfilters-highlightbutton-title',
1847 'rcfilters-highlightmenu-title',
1848 'rcfilters-highlightmenu-help',
1849 'recentchanges-noresult',
1853 'mediawiki.rcfilters.filters.dm',
1854 'oojs-ui.styles.icons-moderation',
1855 'oojs-ui.styles.icons-editing-core',
1856 'oojs-ui.styles.icons-editing-styling',
1857 'oojs-ui.styles.icons-interactions',
1860 'mediawiki.special' => [
1861 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1862 'targets' => [ 'desktop', 'mobile' ],
1864 'mediawiki.special.apisandbox.styles' => [
1865 'targets' => [ 'desktop', 'mobile' ],
1866 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1868 'mediawiki.special.apisandbox' => [
1869 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1870 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1871 'targets' => [ 'desktop', 'mobile' ],
1874 'mediawiki.jqueryMsg',
1876 'mediawiki.widgets.datetime',
1880 'apisandbox-submit',
1882 'apisandbox-fullscreen',
1883 'apisandbox-fullscreen-tooltip',
1884 'apisandbox-unfullscreen',
1885 'apisandbox-unfullscreen-tooltip',
1887 'apisandbox-loading',
1888 'apisandbox-load-error',
1889 'apisandbox-fetch-token',
1890 'apisandbox-helpurls',
1891 'apisandbox-examples',
1892 'apisandbox-dynamic-parameters',
1893 'apisandbox-dynamic-parameters-add-label',
1894 'apisandbox-dynamic-parameters-add-placeholder',
1895 'apisandbox-dynamic-error-exists',
1896 'apisandbox-deprecated-parameters',
1897 'apisandbox-no-parameters',
1898 'api-help-param-limit',
1899 'api-help-param-limit2',
1900 'api-help-param-integer-min',
1901 'api-help-param-integer-max',
1902 'api-help-param-integer-minmax',
1903 'api-help-param-multi-separate',
1904 'api-help-param-multi-max',
1905 'apisandbox-submit-invalid-fields-title',
1906 'apisandbox-submit-invalid-fields-message',
1907 'apisandbox-results',
1908 'apisandbox-sending-request',
1909 'apisandbox-loading-results',
1910 'apisandbox-results-error',
1911 'apisandbox-request-selectformat-label',
1912 'apisandbox-request-format-url-label',
1913 'apisandbox-request-url-label',
1914 'apisandbox-request-format-json-label',
1915 'apisandbox-request-json-label',
1916 'apisandbox-request-time',
1917 'apisandbox-results-fixtoken',
1918 'apisandbox-results-fixtoken-fail',
1919 'apisandbox-alert-page',
1920 'apisandbox-alert-field',
1921 'apisandbox-continue',
1922 'apisandbox-continue-clear',
1923 'apisandbox-continue-help',
1924 'apisandbox-param-limit',
1925 'apisandbox-multivalue-all-namespaces',
1926 'apisandbox-multivalue-all-values',
1927 'api-format-prettyprint-status',
1931 'mediawiki.special.block' => [
1932 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1933 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1936 'mediawiki.htmlform',
1939 'mediawiki.special.changeslist' => [
1940 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1941 'targets' => [ 'desktop', 'mobile' ],
1943 'mediawiki.special.changeslist.legend' => [
1944 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1945 'targets' => [ 'desktop', 'mobile' ],
1947 'mediawiki.special.changeslist.legend.js' => [
1948 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1950 'jquery.makeCollapsible',
1953 'targets' => [ 'desktop', 'mobile' ],
1955 'mediawiki.special.changeslist.enhanced' => [
1956 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1958 'mediawiki.special.changeslist.visitedstatus' => [
1959 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1961 'mediawiki.special.comparepages.styles' => [
1962 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1964 'mediawiki.special.edittags' => [
1965 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1970 'tags-edit-chosen-placeholder',
1971 'tags-edit-chosen-no-results',
1974 'mediawiki.special.edittags.styles' => [
1975 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1977 'mediawiki.special.import' => [
1978 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1980 'mediawiki.special.movePage' => [
1981 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1984 'mediawiki.widgets',
1987 'mediawiki.special.movePage.styles' => [
1988 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1990 'mediawiki.special.pageLanguage' => [
1991 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1996 'mediawiki.special.pagesWithProp' => [
1997 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1999 'mediawiki.special.preferences' => [
2000 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
2002 'prefs-tabs-navigation-hint',
2003 'prefswarning-warning',
2008 'mediawiki.language',
2009 'mediawiki.confirmCloseWindow',
2010 'mediawiki.notification.convertmessagebox',
2013 'mediawiki.special.userrights' => [
2014 'styles' => 'resources/src/mediawiki.special/mediawiki.special.userrights.css',
2015 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
2017 'mediawiki.notification.convertmessagebox',
2020 'mediawiki.special.preferences.styles' => [
2021 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
2023 'mediawiki.special.recentchanges' => [
2024 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
2025 'targets' => [ 'desktop', 'mobile' ],
2027 'mediawiki.special.search' => [
2028 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
2029 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
2030 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
2032 'powersearch-togglelabel',
2033 'powersearch-toggleall',
2034 'powersearch-togglenone',
2037 'mediawiki.special.search.styles' => [
2038 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
2039 'targets' => [ 'desktop', 'mobile' ],
2041 'mediawiki.special.search.interwikiwidget.styles' => [
2042 'styles' => 'resources/src/mediawiki.special/'
2043 . 'mediawiki.special.search.interwikiwidget.styles.less',
2044 'targets' => [ 'desktop', 'mobile' ]
2046 'mediawiki.special.search.commonsInterwikiWidget' => [
2047 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.commonsInterwikiWidget.js',
2050 'mediawiki.jqueryMsg'
2052 'targets' => [ 'desktop', 'mobile' ],
2054 'search-interwiki-more',
2055 'searchprofile-images'
2058 'mediawiki.special.undelete' => [
2059 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
2061 'mediawiki.special.upload' => [
2063 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
2065 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
2073 'editwarning-warning',
2074 // editwarning-warning uses {{int:prefs-editing}}
2078 'mediawiki.special.upload.styles',
2080 'mediawiki.jqueryMsg',
2082 'mediawiki.libs.jpegmeta',
2085 'mediawiki.confirmCloseWindow',
2089 'mediawiki.special.upload.styles' => [
2090 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2092 'mediawiki.special.userlogin.common.styles' => [
2094 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2097 'mediawiki.special.userlogin.signup.styles' => [
2099 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2102 'mediawiki.special.userlogin.login.styles' => [
2104 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2107 'mediawiki.special.userlogin.signup.js' => [
2108 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2111 'createacct-emailrequired',
2117 'mediawiki.jqueryMsg',
2118 'jquery.throttle-debounce',
2121 'mediawiki.special.unwatchedPages' => [
2122 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2123 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2125 'addedwatchtext-short',
2126 'removedwatchtext-short',
2135 'mediawiki.api.watch',
2141 'mediawiki.special.watchlist' => [
2142 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2149 'mediawiki.special.version' => [
2150 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2153 /* MediaWiki Installer */
2155 // Used in the web installer. Test it after modifying this definition!
2156 'mediawiki.legacy.config' => [
2157 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2158 'scripts' => 'mw-config/config.js',
2159 'styles' => 'mw-config/config.css',
2162 /* MediaWiki Legacy */
2164 'mediawiki.legacy.commonPrint' => [
2166 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2169 'mediawiki.legacy.protect' => [
2170 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2171 'dependencies' => 'jquery.byteLimit',
2172 'messages' => [ 'protect-unchain-permissions' ]
2174 // Used in the web installer. Test it after modifying this definition!
2175 'mediawiki.legacy.shared' => [
2177 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2180 'mediawiki.legacy.oldshared' => [
2182 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2185 'mediawiki.legacy.wikibits' => [
2186 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2187 'dependencies' => 'mediawiki.util',
2188 'targets' => [ 'desktop', 'mobile' ],
2196 'resources/src/mediawiki.ui/default.less',
2199 'targets' => [ 'desktop', 'mobile' ],
2201 'mediawiki.ui.checkbox' => [
2204 'resources/src/mediawiki.ui/components/checkbox.less',
2207 'targets' => [ 'desktop', 'mobile' ],
2209 'mediawiki.ui.radio' => [
2212 'resources/src/mediawiki.ui/components/radio.less',
2215 'targets' => [ 'desktop', 'mobile' ],
2217 // Lightweight module for anchor styles
2218 'mediawiki.ui.anchor' => [
2221 'resources/src/mediawiki.ui/components/anchors.less',
2224 'targets' => [ 'desktop', 'mobile' ],
2226 // Lightweight module for button styles
2227 'mediawiki.ui.button' => [
2230 'resources/src/mediawiki.ui/components/buttons.less',
2233 'targets' => [ 'desktop', 'mobile' ],
2235 'mediawiki.ui.input' => [
2238 'resources/src/mediawiki.ui/components/inputs.less',
2241 'targets' => [ 'desktop', 'mobile' ],
2243 'mediawiki.ui.icon' => [
2246 'resources/src/mediawiki.ui/components/icons.less',
2249 'targets' => [ 'desktop', 'mobile' ],
2251 // Lightweight module for text styles
2252 'mediawiki.ui.text' => [
2255 'resources/src/mediawiki.ui/components/text.less',
2258 'targets' => [ 'desktop', 'mobile' ],
2261 'mediawiki.widgets' => [
2263 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2264 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2265 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2266 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2267 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2268 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2269 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2273 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2278 'mediawiki.widgets.styles',
2283 // TitleOptionWidget
2284 'jquery.autoEllipsis',
2287 // NamespaceInputWidget
2291 'mw-widgets-titleinput-description-new-page',
2292 'mw-widgets-titleinput-description-redirect',
2294 'targets' => [ 'desktop', 'mobile' ],
2296 'mediawiki.widgets.styles' => [
2299 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2300 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2303 'targets' => [ 'desktop', 'mobile' ],
2305 'mediawiki.widgets.DateInputWidget' => [
2307 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2308 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2312 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2313 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2317 'mw-widgets-dateinput-no-date',
2318 'mw-widgets-dateinput-placeholder-day',
2319 'mw-widgets-dateinput-placeholder-month',
2325 'targets' => [ 'desktop', 'mobile' ],
2327 'mediawiki.widgets.datetime' => [
2329 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2330 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2331 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2332 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2333 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2337 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2338 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2388 'targets' => [ 'desktop', 'mobile' ],
2390 'mediawiki.widgets.CategorySelector' => [
2392 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2393 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2398 'mediawiki.ForeignApi',
2403 'mw-widgets-categoryselector-add-category-placeholder'
2405 'targets' => [ 'desktop', 'mobile' ],
2407 'mediawiki.widgets.MediaSearch' => [
2409 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsProvider.js',
2410 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsQueue.js',
2411 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceProvider.js',
2412 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchProvider.js',
2413 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceQueue.js',
2414 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchQueue.js',
2415 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.js',
2416 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js',
2419 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.css',
2420 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.css',
2424 'mediawiki.ForeignApi',
2428 'mw-widgets-mediasearch-noresults',
2429 'mw-widgets-mediasearch-input-placeholder',
2431 'targets' => [ 'desktop', 'mobile' ],
2433 'mediawiki.widgets.UserInputWidget' => [
2435 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2440 'targets' => [ 'desktop', 'mobile' ],
2442 'mediawiki.widgets.UsersMultiselectWidget' => [
2444 'resources/src/mediawiki.widgets/mw.widgets.UsersMultiselectWidget.js',
2449 'targets' => [ 'desktop', 'mobile' ],
2451 'mediawiki.widgets.SearchInputWidget' => [
2453 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2456 'mediawiki.searchSuggest',
2457 // FIXME: Needs TitleInputWidget only
2458 'mediawiki.widgets',
2461 'mediawiki.widgets.SearchInputWidget.styles' => [
2464 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2467 'targets' => [ 'desktop', 'mobile' ],
2469 'mediawiki.widgets.StashedFileWidget' => [
2471 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2475 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2485 'resources/lib/es5-shim/es5-shim.js',
2486 'resources/src/polyfill-object-create.js',
2488 'targets' => [ 'desktop', 'mobile' ],
2489 'skipFunction' => 'resources/src/es5-skip.js',
2492 /* dom-level2-shim */
2493 // Deprecated since MediaWiki 1.29.0
2494 'dom-level2-shim' => [
2495 'deprecated' => 'Use of the "dom-level2-shim" module is deprecated since MediaWiki 1.29.0',
2496 'targets' => [ 'desktop', 'mobile' ],
2502 'resources/lib/oojs/oojs.jquery.js',
2503 'resources/src/oojs-global.js',
2505 'targets' => [ 'desktop', 'mobile' ],
2511 'mediawiki.router' => [
2513 'resources/src/mediawiki.router/index.js',
2515 'targets' => [ 'desktop', 'mobile' ],
2523 'resources/lib/oojs-router/oojs-router.js',
2525 'targets' => [ 'desktop', 'mobile' ],
2532 // @see ResourcesOOUI.php