ea973375d334523d17053e53b50f9648c4cb47ac
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',
1365 'mediawiki.api.user',
1369 'targets' => [ 'desktop', 'mobile' ],
1371 'mediawiki.userSuggest' => [
1372 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1374 'jquery.suggestions',
1378 'mediawiki.util' => [
1379 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1381 'jquery.accessKeyLabel',
1385 'targets' => [ 'desktop', 'mobile' ],
1387 'mediawiki.viewport' => [
1388 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1389 'targets' => [ 'desktop', 'mobile' ],
1391 'mediawiki.checkboxtoggle' => [
1392 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1394 'mediawiki.checkboxtoggle.styles' => [
1395 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1397 'mediawiki.cookie' => [
1398 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1399 'dependencies' => 'jquery.cookie',
1400 'targets' => [ 'desktop', 'mobile' ],
1402 'mediawiki.toolbar' => [
1403 'class' => 'ResourceLoaderEditToolbarModule',
1404 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1405 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1406 'dependencies' => 'jquery.textSelection',
1408 'mediawiki.experiments' => [
1409 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1410 'targets' => [ 'desktop', 'mobile' ],
1413 /* MediaWiki Action */
1415 'mediawiki.action.edit' => [
1417 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1418 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1420 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1422 'mediawiki.action.edit.styles',
1423 'jquery.textSelection',
1428 'mediawiki.action.edit.styles' => [
1429 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1431 'mediawiki.action.edit.collapsibleFooter' => [
1432 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1433 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1435 'jquery.makeCollapsible',
1440 'mediawiki.action.edit.preview' => [
1441 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1445 'jquery.textSelection',
1447 'mediawiki.diff.styles',
1449 'mediawiki.jqueryMsg',
1452 // Keep the uses message keys in sync with EditPage#setHeaders
1466 'mediawiki.action.history' => [
1467 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1468 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1470 'mediawiki.action.history.styles' => [
1471 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1473 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1474 'mediawiki.action.history.diff' => [
1476 'resources/src/mediawiki/mediawiki.diff.styles.css',
1477 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1481 'targets' => [ 'desktop', 'mobile' ],
1483 'mediawiki.action.view.dblClickEdit' => [
1484 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1487 'mediawiki.page.startup',
1491 'mediawiki.action.view.metadata' => [
1492 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1493 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1496 'metadata-collapse',
1499 'mediawiki.action.view.categoryPage.styles' => [
1500 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1501 'targets' => [ 'desktop', 'mobile' ]
1503 'mediawiki.action.view.postEdit' => [
1505 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1507 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1508 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1511 'mediawiki.jqueryMsg'
1514 'postedit-confirmation-created',
1515 'postedit-confirmation-restored',
1516 'postedit-confirmation-saved',
1519 'mediawiki.action.view.redirect' => [
1520 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1521 'dependencies' => 'jquery.client',
1522 'targets' => [ 'desktop', 'mobile' ],
1524 'mediawiki.action.view.redirectPage' => [
1525 'targets' => [ 'desktop', 'mobile' ],
1526 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1528 'mediawiki.action.view.rightClickEdit' => [
1529 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1531 'mediawiki.action.edit.editWarning' => [
1532 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1534 'jquery.textSelection',
1535 'mediawiki.jqueryMsg',
1536 'mediawiki.confirmCloseWindow',
1540 'editwarning-warning',
1541 // editwarning-warning uses {{int:prefs-editing}}
1545 'mediawiki.action.view.filepage' => [
1547 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1548 [ 'media' => 'print' ],
1549 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
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 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1567 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1568 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1569 'la' => 'resources/src/mediawiki.language/languages/la.js',
1570 'os' => 'resources/src/mediawiki.language/languages/os.js',
1571 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1574 'mediawiki.language.data',
1577 'targets' => [ 'desktop', 'mobile' ],
1585 'mediawiki.cldr' => [
1586 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1588 'mediawiki.libs.pluralruleparser',
1590 'targets' => [ 'desktop', 'mobile' ],
1593 'mediawiki.libs.pluralruleparser' => [
1594 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1595 'targets' => [ 'desktop', 'mobile' ],
1598 'mediawiki.language.init' => [
1599 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1600 'targets' => [ 'desktop', 'mobile' ],
1603 'mediawiki.jqueryMsg' => [
1604 // Add data for mediawiki.jqueryMsg, such as allowed tags
1605 'class' => 'ResourceLoaderJqueryMsgModule',
1606 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1609 'mediawiki.language',
1612 'targets' => [ 'desktop', 'mobile' ],
1615 'mediawiki.language.months' => [
1616 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1617 'dependencies' => 'mediawiki.language',
1618 'messages' => array_merge(
1619 Language
::$mMonthMsgs,
1620 Language
::$mMonthGenMsgs,
1621 Language
::$mMonthAbbrevMsgs
1625 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1627 'mediawiki.language.specialCharacters' => [
1628 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1631 /* MediaWiki Libs */
1633 'mediawiki.libs.jpegmeta' => [
1634 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1635 'targets' => [ 'desktop', 'mobile' ],
1638 /* MediaWiki Page */
1640 'mediawiki.page.gallery' => [
1641 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1643 'mediawiki.page.gallery.styles',
1644 'jquery.throttle-debounce',
1647 'mediawiki.page.gallery.styles' => [
1649 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1650 'resources/src/mediawiki/page/gallery.css',
1652 'targets' => [ 'desktop', 'mobile' ],
1654 'mediawiki.page.gallery.slideshow' => [
1655 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1662 'oojs-ui.styles.icons-media'
1665 'gallery-slideshow-toggle'
1668 'mediawiki.page.ready' => [
1669 'scripts' => 'resources/src/mediawiki/page/ready.js',
1671 'jquery.accessKeyLabel',
1672 'jquery.checkboxShiftClick',
1673 'jquery.makeCollapsible',
1674 'jquery.placeholder',
1677 'targets' => [ 'desktop', 'mobile' ],
1679 'mediawiki.page.startup' => [
1680 'scripts' => 'resources/src/mediawiki/page/startup.js',
1681 'dependencies' => 'mediawiki.util',
1682 'targets' => [ 'desktop', 'mobile' ],
1684 'mediawiki.page.patrol.ajax' => [
1685 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1687 'mediawiki.page.startup',
1696 'markedaspatrollednotify',
1697 'markedaspatrollederrornotify',
1698 'markedaspatrollederror-noautopatrol'
1701 'mediawiki.page.watch.ajax' => [
1702 'scripts' => 'resources/src/mediawiki/page/watch.js',
1704 'mediawiki.page.startup',
1705 'mediawiki.api.watch',
1709 'mediawiki.jqueryMsg',
1710 'jquery.accessKeyLabel',
1719 'tooltip-ca-unwatch',
1722 'addedwatchtext-talk',
1724 'removedwatchtext-talk',
1727 'mediawiki.page.rollback' => [
1728 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1730 'mediawiki.api.rollback',
1739 'mediawiki.page.image.pagination' => [
1740 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1747 /* MediaWiki Special pages */
1749 'mediawiki.rcfilters.filters.base.styles' => [
1751 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.less',
1754 'mediawiki.rcfilters.filters.dm' => [
1756 'resources/src/mediawiki.rcfilters/mw.rcfilters.js',
1757 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterItem.js',
1758 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterGroup.js',
1759 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FiltersViewModel.js',
1760 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.ChangesListViewModel.js',
1761 'resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js',
1768 'mediawiki.rcfilters.filters.ui' => [
1770 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.CheckboxInputWidget.js',
1771 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FiltersListWidget.js',
1772 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterGroupWidget.js',
1773 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemWidget.js',
1774 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.CapsuleItemWidget.js',
1775 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterCapsuleMultiselectWidget.js',
1776 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js',
1777 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js',
1778 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FormWrapperWidget.js',
1779 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemHighlightButton.js',
1780 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.HighlightColorPickerWidget.js',
1781 'resources/src/mediawiki.rcfilters/mw.rcfilters.HighlightColors.js',
1782 'resources/src/mediawiki.rcfilters/mw.rcfilters.init.js',
1785 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.mixins.less',
1786 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.variables.less',
1787 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.less',
1788 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.Overlay.less',
1789 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.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 'recentchanges-noresult',
1852 'mediawiki.rcfilters.filters.dm',
1853 'oojs-ui.styles.icons-moderation',
1854 'oojs-ui.styles.icons-editing-core',
1855 'oojs-ui.styles.icons-interactions',
1858 'mediawiki.special' => [
1859 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1860 'targets' => [ 'desktop', 'mobile' ],
1862 'mediawiki.special.apisandbox.styles' => [
1863 'targets' => [ 'desktop', 'mobile' ],
1864 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1866 'mediawiki.special.apisandbox' => [
1867 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1868 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1869 'targets' => [ 'desktop', 'mobile' ],
1872 'mediawiki.jqueryMsg',
1874 'mediawiki.widgets.datetime',
1878 'apisandbox-submit',
1880 'apisandbox-fullscreen',
1881 'apisandbox-fullscreen-tooltip',
1882 'apisandbox-unfullscreen',
1883 'apisandbox-unfullscreen-tooltip',
1885 'apisandbox-loading',
1886 'apisandbox-load-error',
1887 'apisandbox-fetch-token',
1888 'apisandbox-helpurls',
1889 'apisandbox-examples',
1890 'apisandbox-dynamic-parameters',
1891 'apisandbox-dynamic-parameters-add-label',
1892 'apisandbox-dynamic-parameters-add-placeholder',
1893 'apisandbox-dynamic-error-exists',
1894 'apisandbox-deprecated-parameters',
1895 'apisandbox-no-parameters',
1896 'api-help-param-limit',
1897 'api-help-param-limit2',
1898 'api-help-param-integer-min',
1899 'api-help-param-integer-max',
1900 'api-help-param-integer-minmax',
1901 'api-help-param-multi-separate',
1902 'api-help-param-multi-max',
1903 'apisandbox-submit-invalid-fields-title',
1904 'apisandbox-submit-invalid-fields-message',
1905 'apisandbox-results',
1906 'apisandbox-sending-request',
1907 'apisandbox-loading-results',
1908 'apisandbox-results-error',
1909 'apisandbox-request-selectformat-label',
1910 'apisandbox-request-format-url-label',
1911 'apisandbox-request-url-label',
1912 'apisandbox-request-format-json-label',
1913 'apisandbox-request-json-label',
1914 'apisandbox-request-time',
1915 'apisandbox-results-fixtoken',
1916 'apisandbox-results-fixtoken-fail',
1917 'apisandbox-alert-page',
1918 'apisandbox-alert-field',
1919 'apisandbox-continue',
1920 'apisandbox-continue-clear',
1921 'apisandbox-continue-help',
1922 'apisandbox-param-limit',
1923 'apisandbox-multivalue-all-namespaces',
1924 'apisandbox-multivalue-all-values',
1925 'api-format-prettyprint-status',
1929 'mediawiki.special.block' => [
1930 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1931 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1932 'dependencies' => 'mediawiki.util',
1934 'mediawiki.special.changeslist' => [
1935 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1936 'targets' => [ 'desktop', 'mobile' ],
1938 'mediawiki.special.changeslist.legend' => [
1939 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1940 'targets' => [ 'desktop', 'mobile' ],
1942 'mediawiki.special.changeslist.legend.js' => [
1943 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1945 'jquery.makeCollapsible',
1948 'targets' => [ 'desktop', 'mobile' ],
1950 'mediawiki.special.changeslist.enhanced' => [
1951 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1953 'mediawiki.special.changeslist.visitedstatus' => [
1954 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1956 'mediawiki.special.comparepages.styles' => [
1957 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1959 'mediawiki.special.edittags' => [
1960 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1965 'tags-edit-chosen-placeholder',
1966 'tags-edit-chosen-no-results',
1969 'mediawiki.special.edittags.styles' => [
1970 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1972 'mediawiki.special.import' => [
1973 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1975 'mediawiki.special.movePage' => [
1976 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1979 'mediawiki.widgets',
1982 'mediawiki.special.movePage.styles' => [
1983 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1985 'mediawiki.special.pageLanguage' => [
1986 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1991 'mediawiki.special.pagesWithProp' => [
1992 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1994 'mediawiki.special.preferences' => [
1995 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1997 'prefs-tabs-navigation-hint',
1998 'prefswarning-warning',
2003 'mediawiki.language',
2004 'mediawiki.confirmCloseWindow',
2005 'mediawiki.notification.convertmessagebox',
2008 'mediawiki.special.userrights' => [
2009 'styles' => 'resources/src/mediawiki.special/mediawiki.special.userrights.css',
2010 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
2012 'mediawiki.notification.convertmessagebox',
2015 'mediawiki.special.preferences.styles' => [
2016 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
2018 'mediawiki.special.recentchanges' => [
2019 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
2020 'targets' => [ 'desktop', 'mobile' ],
2022 'mediawiki.special.search' => [
2023 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
2024 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
2025 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
2027 'powersearch-togglelabel',
2028 'powersearch-toggleall',
2029 'powersearch-togglenone',
2032 'mediawiki.special.search.styles' => [
2033 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
2034 'targets' => [ 'desktop', 'mobile' ],
2036 'mediawiki.special.search.interwikiwidget.styles' => [
2037 'styles' => 'resources/src/mediawiki.special/'
2038 . 'mediawiki.special.search.interwikiwidget.styles.less',
2039 'targets' => [ 'desktop', 'mobile' ]
2041 'mediawiki.special.search.commonsInterwikiWidget' => [
2042 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.commonsInterwikiWidget.js',
2045 'mediawiki.jqueryMsg'
2047 'targets' => [ 'desktop', 'mobile' ],
2049 'search-interwiki-more',
2050 'searchprofile-images'
2053 'mediawiki.special.undelete' => [
2054 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
2056 'mediawiki.special.upload' => [
2058 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
2060 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
2068 'editwarning-warning',
2069 // editwarning-warning uses {{int:prefs-editing}}
2073 'mediawiki.special.upload.styles',
2075 'mediawiki.jqueryMsg',
2077 'mediawiki.libs.jpegmeta',
2080 'mediawiki.confirmCloseWindow',
2084 'mediawiki.special.upload.styles' => [
2085 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2087 'mediawiki.special.userlogin.common.styles' => [
2089 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2092 'mediawiki.special.userlogin.signup.styles' => [
2094 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2097 'mediawiki.special.userlogin.login.styles' => [
2099 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2102 'mediawiki.special.userlogin.signup.js' => [
2103 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2106 'createacct-emailrequired',
2112 'mediawiki.jqueryMsg',
2113 'jquery.throttle-debounce',
2116 'mediawiki.special.unwatchedPages' => [
2117 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2118 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2120 'addedwatchtext-short',
2121 'removedwatchtext-short',
2130 'mediawiki.api.watch',
2136 'mediawiki.special.watchlist' => [
2137 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2144 'mediawiki.special.version' => [
2145 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2148 /* MediaWiki Installer */
2150 // Used in the web installer. Test it after modifying this definition!
2151 'mediawiki.legacy.config' => [
2152 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2153 'scripts' => 'mw-config/config.js',
2154 'styles' => 'mw-config/config.css',
2157 /* MediaWiki Legacy */
2159 'mediawiki.legacy.commonPrint' => [
2161 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2164 'mediawiki.legacy.protect' => [
2165 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2166 'dependencies' => 'jquery.byteLimit',
2167 'messages' => [ 'protect-unchain-permissions' ]
2169 // Used in the web installer. Test it after modifying this definition!
2170 'mediawiki.legacy.shared' => [
2172 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2175 'mediawiki.legacy.oldshared' => [
2177 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2180 'mediawiki.legacy.wikibits' => [
2181 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2182 'dependencies' => 'mediawiki.util',
2183 'targets' => [ 'desktop', 'mobile' ],
2191 'resources/src/mediawiki.ui/default.less',
2194 'targets' => [ 'desktop', 'mobile' ],
2196 'mediawiki.ui.checkbox' => [
2199 'resources/src/mediawiki.ui/components/checkbox.less',
2202 'targets' => [ 'desktop', 'mobile' ],
2204 'mediawiki.ui.radio' => [
2207 'resources/src/mediawiki.ui/components/radio.less',
2210 'targets' => [ 'desktop', 'mobile' ],
2212 // Lightweight module for anchor styles
2213 'mediawiki.ui.anchor' => [
2216 'resources/src/mediawiki.ui/components/anchors.less',
2219 'targets' => [ 'desktop', 'mobile' ],
2221 // Lightweight module for button styles
2222 'mediawiki.ui.button' => [
2225 'resources/src/mediawiki.ui/components/buttons.less',
2228 'targets' => [ 'desktop', 'mobile' ],
2230 'mediawiki.ui.input' => [
2233 'resources/src/mediawiki.ui/components/inputs.less',
2236 'targets' => [ 'desktop', 'mobile' ],
2238 'mediawiki.ui.icon' => [
2241 'resources/src/mediawiki.ui/components/icons.less',
2244 'targets' => [ 'desktop', 'mobile' ],
2246 // Lightweight module for text styles
2247 'mediawiki.ui.text' => [
2250 'resources/src/mediawiki.ui/components/text.less',
2253 'targets' => [ 'desktop', 'mobile' ],
2256 'mediawiki.widgets' => [
2258 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2259 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2260 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2261 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2262 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2263 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2264 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2268 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2273 'mediawiki.widgets.styles',
2278 // TitleOptionWidget
2279 'jquery.autoEllipsis',
2282 // NamespaceInputWidget
2286 'mw-widgets-titleinput-description-new-page',
2287 'mw-widgets-titleinput-description-redirect',
2289 'targets' => [ 'desktop', 'mobile' ],
2291 'mediawiki.widgets.styles' => [
2294 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2295 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2298 'targets' => [ 'desktop', 'mobile' ],
2300 'mediawiki.widgets.DateInputWidget' => [
2302 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2303 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2307 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2308 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2312 'mw-widgets-dateinput-no-date',
2313 'mw-widgets-dateinput-placeholder-day',
2314 'mw-widgets-dateinput-placeholder-month',
2320 'targets' => [ 'desktop', 'mobile' ],
2322 'mediawiki.widgets.datetime' => [
2324 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2325 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2326 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2327 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2328 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2332 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2333 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2383 'targets' => [ 'desktop', 'mobile' ],
2385 'mediawiki.widgets.CategorySelector' => [
2387 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2388 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2393 'mediawiki.ForeignApi',
2398 'mw-widgets-categoryselector-add-category-placeholder'
2400 'targets' => [ 'desktop', 'mobile' ],
2402 'mediawiki.widgets.MediaSearch' => [
2404 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsProvider.js',
2405 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsQueue.js',
2406 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceProvider.js',
2407 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchProvider.js',
2408 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceQueue.js',
2409 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchQueue.js',
2410 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.js',
2411 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js',
2414 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.css',
2415 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.css',
2419 'mediawiki.ForeignApi',
2423 'mw-widgets-mediasearch-noresults',
2424 'mw-widgets-mediasearch-input-placeholder',
2426 'targets' => [ 'desktop', 'mobile' ],
2428 'mediawiki.widgets.UserInputWidget' => [
2430 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2435 'targets' => [ 'desktop', 'mobile' ],
2437 'mediawiki.widgets.UsersMultiselectWidget' => [
2439 'resources/src/mediawiki.widgets/mw.widgets.UsersMultiselectWidget.js',
2444 'targets' => [ 'desktop', 'mobile' ],
2446 'mediawiki.widgets.SearchInputWidget' => [
2448 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2451 'mediawiki.searchSuggest',
2452 // FIXME: Needs TitleInputWidget only
2453 'mediawiki.widgets',
2456 'mediawiki.widgets.SearchInputWidget.styles' => [
2459 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2462 'targets' => [ 'desktop', 'mobile' ],
2464 'mediawiki.widgets.StashedFileWidget' => [
2466 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2470 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2480 'resources/lib/es5-shim/es5-shim.js',
2481 'resources/src/polyfill-object-create.js',
2483 'targets' => [ 'desktop', 'mobile' ],
2484 'skipFunction' => 'resources/src/es5-skip.js',
2487 /* dom-level2-shim */
2488 // Deprecated since MediaWiki 1.29.0
2489 'dom-level2-shim' => [
2490 'deprecated' => 'Use of the "dom-level2-shim" module is deprecated since MediaWiki 1.29.0',
2491 'targets' => [ 'desktop', 'mobile' ],
2497 'resources/lib/oojs/oojs.jquery.js',
2498 'resources/src/oojs-global.js',
2500 'targets' => [ 'desktop', 'mobile' ],
2506 'mediawiki.router' => [
2508 'resources/src/mediawiki.router/index.js',
2510 'targets' => [ 'desktop', 'mobile' ],
2518 'resources/lib/oojs-router/oojs-router.js',
2520 'targets' => [ 'desktop', 'mobile' ],
2527 // @see ResourcesOOUI.php