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' ],
135 'scripts' => ( $GLOBALS['wgUsejQueryThree'] ?
137 'resources/lib/jquery/jquery3.js',
138 'resources/lib/jquery/jquery.migrate.js',
140 'resources/lib/jquery/jquery.js',
144 'targets' => [ 'desktop', 'mobile' ],
149 'jquery.accessKeyLabel' => [
150 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
155 'messages' => [ 'brackets', 'word-separator' ],
156 'targets' => [ 'mobile', 'desktop' ],
159 'deprecated' => 'Please use "mediawiki.viewport" instead.',
160 'scripts' => 'resources/lib/jquery/jquery.appear.js',
163 'scripts' => 'resources/lib/jquery/jquery.async.js',
165 'jquery.autoEllipsis' => [
166 'deprecated' => 'Use CSS text-overflow instead.',
167 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
168 'dependencies' => 'jquery.highlightText',
169 'targets' => [ 'desktop', 'mobile' ],
172 'scripts' => 'resources/src/jquery/jquery.badge.js',
173 'styles' => 'resources/src/jquery/jquery.badge.css',
174 'dependencies' => 'mediawiki.language',
176 'jquery.byteLength' => [
177 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
178 'targets' => [ 'desktop', 'mobile' ],
180 'jquery.byteLimit' => [
181 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
182 'dependencies' => 'jquery.byteLength',
183 'targets' => [ 'desktop', 'mobile' ],
185 'jquery.checkboxShiftClick' => [
186 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
187 'targets' => [ 'desktop', 'mobile' ],
190 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
191 'styles' => 'resources/lib/jquery.chosen/chosen.css',
194 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
195 'targets' => [ 'desktop', 'mobile' ],
198 'scripts' => 'resources/src/jquery/jquery.color.js',
199 'dependencies' => 'jquery.colorUtil',
201 'jquery.colorUtil' => [
202 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
204 'jquery.confirmable' => [
206 'resources/src/jquery/jquery.confirmable.js',
207 'resources/src/jquery/jquery.confirmable.mediawiki.js',
210 'confirmable-confirm',
215 'styles' => 'resources/src/jquery/jquery.confirmable.css',
216 'dependencies' => 'mediawiki.jqueryMsg',
219 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
220 'targets' => [ 'desktop', 'mobile' ],
222 'jquery.expandableField' => [
223 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
225 'jquery.farbtastic' => [
226 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
227 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
228 'dependencies' => 'jquery.colorUtil',
230 'jquery.footHovzer' => [
231 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
232 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
235 'scripts' => 'resources/lib/jquery/jquery.form.js',
237 'jquery.fullscreen' => [
238 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
240 'jquery.getAttrs' => [
241 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
242 'targets' => [ 'desktop', 'mobile' ],
245 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
246 'targets' => [ 'desktop', 'mobile' ],
248 'jquery.highlightText' => [
249 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
253 'targets' => [ 'desktop', 'mobile' ],
255 'jquery.hoverIntent' => [
256 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
260 'resources/lib/jquery.i18n/src/jquery.i18n.js',
261 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
262 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
263 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
264 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
265 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
268 'dependencies' => 'mediawiki.libs.pluralruleparser',
269 'languageScripts' => [
270 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
271 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
272 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
273 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
274 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
275 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
276 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
277 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
278 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
279 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
280 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
281 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
282 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
283 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
285 'targets' => [ 'desktop', 'mobile' ],
287 'jquery.localize' => [
288 'scripts' => 'resources/src/jquery/jquery.localize.js',
290 'jquery.makeCollapsible' => [
291 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
292 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
293 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
294 'targets' => [ 'desktop', 'mobile' ],
296 'jquery.mockjax' => [
297 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
299 'jquery.mw-jump' => [
300 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
301 'targets' => [ 'desktop', 'mobile' ],
303 'jquery.mwExtension' => [
304 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
305 'targets' => [ 'desktop', 'mobile' ],
307 'jquery.placeholder' => [
308 'deprecated' => 'Use of "jquery.placeholder" is deprecated since MediaWiki 1.29.0',
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.spinner' => [
319 'scripts' => 'resources/src/jquery/jquery.spinner.js',
320 'styles' => 'resources/src/jquery/jquery.spinner.css',
321 'targets' => [ 'desktop', 'mobile' ],
323 'jquery.jStorage' => [
324 'deprecated' => 'Please use "mediawiki.storage" instead.',
325 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
327 'jquery.suggestions' => [
328 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
329 'styles' => 'resources/src/jquery/jquery.suggestions.css',
330 'dependencies' => 'jquery.highlightText',
332 'jquery.tabIndex' => [
333 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
335 'jquery.tablesorter' => [
336 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
337 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
338 'messages' => [ 'sort-descending', 'sort-ascending' ],
341 'mediawiki.language.months',
344 'jquery.textSelection' => [
345 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
346 'dependencies' => 'jquery.client',
347 'targets' => [ 'mobile', 'desktop' ],
349 'jquery.throttle-debounce' => [
350 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
351 'targets' => [ 'desktop', 'mobile' ],
354 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
360 'deprecated' => true,
361 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
362 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
367 'jquery.ui.core' => [
368 'deprecated' => 'Please use "mediawiki.ui.button" or "oojs-ui" instead.',
369 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
371 'jquery.ui.core.styles',
373 'group' => 'jquery.ui',
375 'jquery.ui.core.styles' => [
378 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
379 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
382 'group' => 'jquery.ui',
384 'jquery.ui.accordion' => [
385 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
391 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
393 'group' => 'jquery.ui',
395 'jquery.ui.autocomplete' => [
396 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
400 'jquery.ui.position',
404 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
406 'group' => 'jquery.ui',
408 'jquery.ui.button' => [
409 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
415 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
417 'group' => 'jquery.ui',
419 'jquery.ui.datepicker' => [
420 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
421 'dependencies' => 'jquery.ui.core',
423 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
425 'languageScripts' => [
426 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
427 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
428 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
429 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
430 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
431 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
432 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
433 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
434 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
435 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
436 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
437 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
438 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
439 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
440 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
441 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
442 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
443 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
444 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
445 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
446 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
447 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
448 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
449 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
450 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
451 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
452 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
453 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
454 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
455 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
456 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
457 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
458 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
459 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
460 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
461 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
462 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
463 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
464 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
465 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
466 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
467 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
468 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
469 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
470 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
471 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
472 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
473 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
474 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
475 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
476 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
477 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
478 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
479 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
480 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
481 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
482 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
483 'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
484 'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
485 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
486 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
487 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
488 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
489 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
490 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
491 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
492 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
493 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
494 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
496 'group' => 'jquery.ui',
498 'jquery.ui.dialog' => [
499 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
504 'jquery.ui.draggable',
506 'jquery.ui.position',
507 'jquery.ui.resizable',
510 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
512 'group' => 'jquery.ui',
514 'jquery.ui.draggable' => [
515 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
521 'group' => 'jquery.ui',
523 'jquery.ui.droppable' => [
524 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
529 'jquery.ui.draggable',
531 'group' => 'jquery.ui',
533 'jquery.ui.menu' => [
534 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
538 'jquery.ui.position',
541 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
543 'group' => 'jquery.ui',
545 'jquery.ui.mouse' => [
546 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
547 'dependencies' => 'jquery.ui.widget',
548 'group' => 'jquery.ui',
550 'jquery.ui.position' => [
551 'deprecated' => true,
552 'targets' => [ 'mobile', 'desktop' ],
553 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
554 'group' => 'jquery.ui',
556 'jquery.ui.progressbar' => [
557 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
563 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
565 'group' => 'jquery.ui',
567 'jquery.ui.resizable' => [
568 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
575 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
577 'group' => 'jquery.ui',
579 'jquery.ui.selectable' => [
580 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
587 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
589 'group' => 'jquery.ui',
591 'jquery.ui.slider' => [
592 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
599 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
601 'group' => 'jquery.ui',
603 'jquery.ui.sortable' => [
604 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
610 'group' => 'jquery.ui',
612 'jquery.ui.spinner' => [
613 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
620 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
622 'group' => 'jquery.ui',
624 'jquery.ui.tabs' => [
625 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
631 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
633 'group' => 'jquery.ui',
635 'jquery.ui.tooltip' => [
636 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
640 'jquery.ui.position',
643 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
645 'group' => 'jquery.ui',
647 'jquery.ui.widget' => [
648 'deprecated' => true,
649 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
650 'group' => 'jquery.ui',
653 'jquery.effects.core' => [
654 'deprecated' => true,
655 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
656 'group' => 'jquery.ui',
658 'jquery.effects.blind' => [
659 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
660 'dependencies' => 'jquery.effects.core',
661 'group' => 'jquery.ui',
663 'jquery.effects.bounce' => [
664 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
665 'dependencies' => 'jquery.effects.core',
666 'group' => 'jquery.ui',
668 'jquery.effects.clip' => [
669 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
670 'dependencies' => 'jquery.effects.core',
671 'group' => 'jquery.ui',
673 'jquery.effects.drop' => [
674 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
675 'dependencies' => 'jquery.effects.core',
676 'group' => 'jquery.ui',
678 'jquery.effects.explode' => [
679 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
680 'dependencies' => 'jquery.effects.core',
681 'group' => 'jquery.ui',
683 'jquery.effects.fade' => [
684 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
685 'dependencies' => 'jquery.effects.core',
686 'group' => 'jquery.ui',
688 'jquery.effects.fold' => [
689 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
690 'dependencies' => 'jquery.effects.core',
691 'group' => 'jquery.ui',
693 'jquery.effects.highlight' => [
694 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
695 'dependencies' => 'jquery.effects.core',
696 'group' => 'jquery.ui',
698 'jquery.effects.pulsate' => [
699 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
700 'dependencies' => 'jquery.effects.core',
701 'group' => 'jquery.ui',
703 'jquery.effects.scale' => [
704 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
705 'dependencies' => 'jquery.effects.core',
706 'group' => 'jquery.ui',
708 'jquery.effects.shake' => [
709 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
710 'dependencies' => 'jquery.effects.core',
711 'group' => 'jquery.ui',
713 'jquery.effects.slide' => [
714 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
715 'dependencies' => 'jquery.effects.core',
716 'group' => 'jquery.ui',
718 'jquery.effects.transfer' => [
719 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
720 'dependencies' => 'jquery.effects.core',
721 'group' => 'jquery.ui',
726 'deprecated' => 'Use of the "json" module is deprecated since MediaWiki 1.29.0',
727 'targets' => [ 'desktop', 'mobile' ],
734 // HACK: For some reason if you don't define window.moment first, loading moment fatals
735 'resources/src/moment-global.js',
736 'resources/lib/moment/moment.js',
738 'languageScripts' => [
739 'aeb-arab' => 'resources/lib/moment/locale/ar-tn.js',
740 'af' => 'resources/lib/moment/locale/af.js',
741 'ar' => 'resources/lib/moment/locale/ar.js',
742 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
743 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
744 'az' => 'resources/lib/moment/locale/az.js',
745 'be' => 'resources/lib/moment/locale/be.js',
746 'bg' => 'resources/lib/moment/locale/bg.js',
747 'bn' => 'resources/lib/moment/locale/bn.js',
748 'bo' => 'resources/lib/moment/locale/bo.js',
749 'br' => 'resources/lib/moment/locale/br.js',
750 'bs' => 'resources/lib/moment/locale/bs.js',
751 'ca' => 'resources/lib/moment/locale/ca.js',
752 'cs' => 'resources/lib/moment/locale/cs.js',
753 'cv' => 'resources/lib/moment/locale/cv.js',
754 'cy' => 'resources/lib/moment/locale/cy.js',
755 'da' => 'resources/lib/moment/locale/da.js',
756 'de' => 'resources/lib/moment/locale/de.js',
757 'de-at' => 'resources/lib/moment/locale/de-at.js',
758 'dv' => 'resources/lib/moment/locale/dv.js',
759 'el' => 'resources/lib/moment/locale/el.js',
760 'en' => 'resources/src/moment-dmy.js',
761 'en-au' => 'resources/lib/moment/locale/en-au.js',
762 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
763 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
764 'eo' => 'resources/lib/moment/locale/eo.js',
765 'es' => 'resources/lib/moment/locale/es.js',
766 'et' => 'resources/lib/moment/locale/et.js',
767 'eu' => 'resources/lib/moment/locale/eu.js',
768 'fa' => 'resources/lib/moment/locale/fa.js',
769 'fi' => 'resources/lib/moment/locale/fi.js',
770 'fo' => 'resources/lib/moment/locale/fo.js',
771 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
772 'fr' => 'resources/lib/moment/locale/fr.js',
773 'fy' => 'resources/lib/moment/locale/fy.js',
774 'gd' => 'resources/lib/moment/locale/gd.js',
775 'gl' => 'resources/lib/moment/locale/gl.js',
776 'he' => 'resources/lib/moment/locale/he.js',
777 'hi' => 'resources/lib/moment/locale/hi.js',
778 'hr' => 'resources/lib/moment/locale/hr.js',
779 'hu' => 'resources/lib/moment/locale/hu.js',
780 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
781 'id' => 'resources/lib/moment/locale/id.js',
782 'is' => 'resources/lib/moment/locale/is.js',
783 'it' => 'resources/lib/moment/locale/it.js',
784 'ja' => 'resources/lib/moment/locale/ja.js',
785 'jv' => 'resources/lib/moment/locale/jv.js',
786 'ka' => 'resources/lib/moment/locale/ka.js',
787 'kk-cyrl' => 'resources/lib/moment/locale/kk.js',
788 'ko' => 'resources/lib/moment/locale/ko.js',
789 'ky' => 'resources/lib/moment/locale/ky.js',
790 'lo' => 'resources/lib/moment/locale/lo.js',
791 'lt' => 'resources/lib/moment/locale/lt.js',
792 'lv' => 'resources/lib/moment/locale/lv.js',
793 'mi' => 'resources/lib/moment/locale/mi.js',
794 'mk' => 'resources/lib/moment/locale/mk.js',
795 'ml' => 'resources/lib/moment/locale/ml.js',
796 'mr' => 'resources/lib/moment/locale/mr.js',
797 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
798 'ms' => 'resources/lib/moment/locale/ms.js',
799 'my' => 'resources/lib/moment/locale/my.js',
800 'nb' => 'resources/lib/moment/locale/nb.js',
801 'ne' => 'resources/lib/moment/locale/ne.js',
802 'nl' => 'resources/lib/moment/locale/nl.js',
803 'nn' => 'resources/lib/moment/locale/nn.js',
804 'pa' => 'resources/lib/moment/locale/pa-in.js',
805 'pl' => 'resources/lib/moment/locale/pl.js',
806 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
807 'pt' => 'resources/lib/moment/locale/pt.js',
808 'ro' => 'resources/lib/moment/locale/ro.js',
809 'ru' => 'resources/lib/moment/locale/ru.js',
810 'se' => 'resources/lib/moment/locale/se.js',
811 'si' => 'resources/lib/moment/locale/si.js',
812 'sk' => 'resources/lib/moment/locale/sk.js',
813 'sl' => 'resources/lib/moment/locale/sl.js',
814 'sq' => 'resources/lib/moment/locale/sq.js',
815 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
816 'sr-el' => 'resources/lib/moment/locale/sr.js',
817 'ss' => 'resources/lib/moment/locale/ss.js',
818 'sv' => 'resources/lib/moment/locale/sv.js',
819 'sw' => 'resources/lib/moment/locale/sw.js',
820 'ta' => 'resources/lib/moment/locale/ta.js',
821 'te' => 'resources/lib/moment/locale/te.js',
822 'th' => 'resources/lib/moment/locale/th.js',
823 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
824 'tr' => 'resources/lib/moment/locale/tr.js',
825 'tzm' => 'resources/lib/moment/locale/tzm.js',
826 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
827 'uk' => 'resources/lib/moment/locale/uk.js',
828 'uz' => 'resources/lib/moment/locale/uz.js',
829 'vi' => 'resources/lib/moment/locale/vi.js',
830 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
831 'zh-hk' => 'resources/lib/moment/locale/zh-hk.js',
832 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
833 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
834 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
836 // HACK: skinScripts come after languageScripts, and we need locale overrides to come
837 // after locale definitions
840 'resources/src/moment-locale-overrides.js',
844 'mediawiki.language',
846 'targets' => [ 'desktop', 'mobile' ],
852 'class' => 'ResourceLoaderRawFileModule',
853 // Keep in sync with maintenance/jsduck/eg-iframe.html
855 'resources/src/mediawiki/mediawiki.js',
856 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
857 'resources/src/mediawiki/mediawiki.errorLogger.js',
859 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
860 'targets' => [ 'desktop', 'mobile' ],
862 'mediawiki.apihelp' => [
863 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
864 'targets' => [ 'desktop' ],
866 'mediawiki.template' => [
867 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
868 'targets' => [ 'desktop', 'mobile' ],
870 'mediawiki.template.mustache' => [
872 'resources/lib/mustache/mustache.js',
873 'resources/src/mediawiki/mediawiki.template.mustache.js',
875 'targets' => [ 'desktop', 'mobile' ],
876 'dependencies' => 'mediawiki.template',
878 'mediawiki.template.regexp' => [
879 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
880 'targets' => [ 'desktop', 'mobile' ],
881 'dependencies' => 'mediawiki.template',
883 'mediawiki.apipretty' => [
884 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
885 'targets' => [ 'desktop', 'mobile' ],
888 'scripts' => 'resources/src/mediawiki/api.js',
893 'targets' => [ 'desktop', 'mobile' ],
895 'mediawiki.api.category' => [
896 'scripts' => 'resources/src/mediawiki/api/category.js',
902 'mediawiki.api.edit' => [
903 'scripts' => 'resources/src/mediawiki/api/edit.js',
909 'targets' => [ 'desktop', 'mobile' ],
911 'mediawiki.api.login' => [
912 'scripts' => 'resources/src/mediawiki/api/login.js',
913 'dependencies' => 'mediawiki.api',
915 'mediawiki.api.options' => [
916 'scripts' => 'resources/src/mediawiki/api/options.js',
917 'dependencies' => 'mediawiki.api',
918 'targets' => [ 'desktop', 'mobile' ],
920 'mediawiki.api.parse' => [
921 'scripts' => 'resources/src/mediawiki/api/parse.js',
922 'dependencies' => 'mediawiki.api',
923 'targets' => [ 'desktop', 'mobile' ],
925 'mediawiki.api.upload' => [
926 'scripts' => 'resources/src/mediawiki/api/upload.js',
929 'mediawiki.api.edit',
931 'targets' => [ 'desktop', 'mobile' ],
933 'mediawiki.api.user' => [
934 'scripts' => 'resources/src/mediawiki/api/user.js',
938 'targets' => [ 'desktop', 'mobile' ],
940 'mediawiki.api.watch' => [
941 'scripts' => 'resources/src/mediawiki/api/watch.js',
946 'mediawiki.api.messages' => [
947 'scripts' => 'resources/src/mediawiki/api/messages.js',
951 'targets' => [ 'desktop', 'mobile' ],
953 'mediawiki.api.rollback' => [
954 'scripts' => 'resources/src/mediawiki/api/rollback.js',
959 'mediawiki.content.json' => [
960 'styles' => 'resources/src/mediawiki/mediawiki.content.json.less',
962 'mediawiki.confirmCloseWindow' => [
964 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
966 'targets' => [ 'desktop', 'mobile' ],
968 'mediawiki.debug' => [
970 'resources/src/mediawiki/mediawiki.debug.js',
973 'resources/src/mediawiki/mediawiki.debug.less',
979 'mediawiki.diff.styles' => [
981 'resources/src/mediawiki/mediawiki.diff.styles.css',
982 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
986 'targets' => [ 'desktop', 'mobile' ],
988 'mediawiki.feedback' => [
989 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
990 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
992 'mediawiki.messagePoster',
1000 'feedback-bugcheck',
1001 'feedback-dialog-intro',
1002 'feedback-external-bug-report-button',
1004 'feedback-bugornote',
1007 'feedback-dialog-title',
1016 'feedback-termsofuse',
1018 'feedback-thanks-title',
1019 'feedback-useragent'
1021 'targets' => [ 'desktop', 'mobile' ],
1023 'mediawiki.feedlink' => [
1024 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1026 'mediawiki.filewarning' => [
1027 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1028 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1033 'mediawiki.ForeignApi' => [
1034 'targets' => [ 'desktop', 'mobile' ],
1035 'class' => 'ResourceLoaderForeignApiModule',
1036 // Additional dependencies generated dynamically
1037 'dependencies' => 'mediawiki.ForeignApi.core',
1039 'mediawiki.ForeignApi.core' => [
1040 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1045 'targets' => [ 'desktop', 'mobile' ],
1047 'mediawiki.helplink' => [
1049 'resources/src/mediawiki/mediawiki.helplink.less',
1051 'targets' => [ 'desktop', 'mobile' ],
1053 'mediawiki.hidpi' => [
1054 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1055 'dependencies' => 'jquery.hidpi',
1056 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1057 'targets' => [ 'desktop', 'mobile' ],
1059 'mediawiki.hlist' => [
1060 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1062 'mediawiki.htmlform' => [
1064 'resources/src/mediawiki/htmlform/htmlform.js',
1065 'resources/src/mediawiki/htmlform/autocomplete.js',
1066 'resources/src/mediawiki/htmlform/autoinfuse.js',
1067 'resources/src/mediawiki/htmlform/checkmatrix.js',
1068 'resources/src/mediawiki/htmlform/cloner.js',
1069 'resources/src/mediawiki/htmlform/hide-if.js',
1070 'resources/src/mediawiki/htmlform/multiselect.js',
1071 'resources/src/mediawiki/htmlform/selectandother.js',
1072 'resources/src/mediawiki/htmlform/selectorother.js',
1079 'htmlform-chosen-placeholder',
1080 // @todo Load this message in content language
1083 'targets' => [ 'desktop', 'mobile' ],
1085 'mediawiki.htmlform.checker' => [
1087 'resources/src/mediawiki/htmlform/htmlform.Checker.js',
1089 'targets' => [ 'desktop', 'mobile' ],
1091 'mediawiki.htmlform.ooui' => [
1093 'resources/src/mediawiki/htmlform/htmlform.Element.js',
1098 'targets' => [ 'desktop', 'mobile' ],
1100 'mediawiki.htmlform.styles' => [
1101 'styles' => 'resources/src/mediawiki/htmlform/styles.css',
1102 'targets' => [ 'desktop', 'mobile' ],
1104 'mediawiki.htmlform.ooui.styles' => [
1105 'styles' => 'resources/src/mediawiki/htmlform/ooui.styles.css',
1106 'targets' => [ 'desktop', 'mobile' ],
1108 'mediawiki.icon' => [
1109 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1110 'targets' => [ 'desktop', 'mobile' ],
1112 'mediawiki.inspect' => [
1113 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1115 'jquery.byteLength',
1118 'targets' => [ 'desktop', 'mobile' ],
1120 'mediawiki.messagePoster' => [
1122 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1123 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1128 'mediawiki.ForeignApi',
1130 'targets' => [ 'desktop', 'mobile' ],
1132 'mediawiki.messagePoster.wikitext' => [
1134 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1137 'mediawiki.api.edit',
1138 'mediawiki.messagePoster',
1140 'targets' => [ 'desktop', 'mobile' ],
1142 'mediawiki.notification' => [
1144 'resources/src/mediawiki/mediawiki.notification.common.css',
1145 'resources/src/mediawiki/mediawiki.notification.print.css'
1146 => [ 'media' => 'print' ],
1149 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1151 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1155 'targets' => [ 'desktop', 'mobile' ],
1157 'mediawiki.notify' => [
1158 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1159 'targets' => [ 'desktop', 'mobile' ],
1161 'mediawiki.notification.convertmessagebox' => [
1163 'mediawiki.notification',
1165 'scripts' => 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.js',
1166 'targets' => [ 'desktop', 'mobile' ],
1168 'mediawiki.notification.convertmessagebox.styles' => [
1170 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.styles.less',
1172 'targets' => [ 'desktop', 'mobile' ],
1174 'mediawiki.RegExp' => [
1175 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1176 'targets' => [ 'desktop', 'mobile' ],
1178 'mediawiki.pager.tablePager' => [
1179 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1181 'mediawiki.searchSuggest' => [
1182 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1183 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1185 'searchsuggest-search',
1186 'searchsuggest-containing',
1189 'jquery.suggestions',
1194 'mediawiki.sectionAnchor' => [
1195 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1196 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1197 'targets' => [ 'desktop', 'mobile' ],
1199 'mediawiki.storage' => [
1200 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1201 'targets' => [ 'desktop', 'mobile' ],
1203 'mediawiki.Title' => [
1205 'resources/src/mediawiki/mediawiki.Title.js',
1206 'resources/src/mediawiki/mediawiki.Title.phpCharToUpper.js',
1209 'jquery.byteLength',
1212 'targets' => [ 'desktop', 'mobile' ],
1214 'mediawiki.Upload' => [
1215 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1217 'mediawiki.api.upload',
1220 'mediawiki.ForeignUpload' => [
1221 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1223 'mediawiki.ForeignApi',
1228 'uploaddisabledtext',
1229 'upload-dialog-disabled',
1230 'upload-foreign-cant-upload',
1233 'mediawiki.ForeignStructuredUpload.config' => [
1234 'class' => 'ResourceLoaderUploadDialogModule',
1236 'mediawiki.ForeignStructuredUpload' => [
1237 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1239 'mediawiki.ForeignUpload',
1240 'mediawiki.ForeignStructuredUpload.config',
1243 'upload-foreign-cant-load-config',
1246 'mediawiki.Upload.Dialog' => [
1248 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1251 'mediawiki.Upload.BookletLayout',
1254 'upload-dialog-title',
1255 'upload-dialog-button-cancel',
1256 'upload-dialog-button-back',
1257 'upload-dialog-button-done',
1258 'upload-dialog-button-save',
1259 'upload-dialog-button-upload',
1262 'mediawiki.Upload.BookletLayout' => [
1264 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1267 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1273 'oojs-ui.styles.icons-content',
1274 'oojs-ui.styles.icons-editing-advanced',
1279 'mediawiki.jqueryMsg',
1280 'mediawiki.widgets.StashedFileWidget'
1283 'upload-form-label-infoform-title',
1284 'upload-form-label-infoform-name',
1285 'upload-form-label-infoform-name-tooltip',
1286 'upload-form-label-infoform-description',
1287 'upload-form-label-infoform-description-tooltip',
1288 'upload-form-label-usage-title',
1289 'upload-form-label-usage-filename',
1291 'apierror-mustbeloggedin',
1293 'apierror-unknownerror',
1294 'api-error-unknown-warning',
1297 'file-exists-duplicate',
1298 'file-deleted-duplicate',
1299 'filename-bad-prefix',
1300 'filename-thumb-name',
1303 'protectedpagetext',
1306 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1307 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1308 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1310 'mediawiki.ForeignStructuredUpload',
1311 'mediawiki.Upload.BookletLayout',
1312 'mediawiki.widgets.CategoryMultiselectWidget',
1313 'mediawiki.widgets.DateInputWidget',
1314 'mediawiki.jqueryMsg',
1315 'mediawiki.api.messages',
1317 'mediawiki.libs.jpegmeta',
1320 'upload-form-label-own-work',
1321 'upload-form-label-infoform-categories',
1322 'upload-form-label-infoform-date',
1323 'upload-form-label-own-work-message-generic-local',
1324 'upload-form-label-not-own-work-message-generic-local',
1325 'upload-form-label-not-own-work-local-generic-local',
1326 'upload-form-label-own-work-message-generic-foreign',
1327 'upload-form-label-not-own-work-message-generic-foreign',
1328 'upload-form-label-not-own-work-local-generic-foreign',
1331 'mediawiki.toc' => [
1332 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1334 'resources/src/mediawiki/mediawiki.toc.css'
1335 => [ 'media' => 'screen' ],
1336 'resources/src/mediawiki/mediawiki.toc.print.css'
1337 => [ 'media' => 'print' ],
1339 'dependencies' => 'mediawiki.cookie',
1340 'messages' => [ 'showtoc', 'hidetoc' ],
1341 'targets' => [ 'desktop', 'mobile' ],
1343 'mediawiki.Uri' => [
1344 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1346 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1347 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1349 'dependencies' => 'mediawiki.util',
1350 'targets' => [ 'desktop', 'mobile' ],
1352 'mediawiki.user' => [
1353 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1356 'mediawiki.api.user',
1357 'mediawiki.storage',
1361 'targets' => [ 'desktop', 'mobile' ],
1363 'mediawiki.userSuggest' => [
1364 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1366 'jquery.suggestions',
1370 'mediawiki.util' => [
1371 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1373 'jquery.accessKeyLabel',
1377 'targets' => [ 'desktop', 'mobile' ],
1379 'mediawiki.viewport' => [
1380 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1381 'targets' => [ 'desktop', 'mobile' ],
1383 'mediawiki.checkboxtoggle' => [
1384 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1386 'mediawiki.checkboxtoggle.styles' => [
1387 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1389 'mediawiki.cookie' => [
1390 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1391 'dependencies' => 'jquery.cookie',
1392 'targets' => [ 'desktop', 'mobile' ],
1394 'mediawiki.toolbar' => [
1395 'class' => 'ResourceLoaderEditToolbarModule',
1396 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1397 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1398 'dependencies' => 'jquery.textSelection',
1400 'mediawiki.experiments' => [
1401 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1402 'targets' => [ 'desktop', 'mobile' ],
1405 /* MediaWiki Action */
1407 'mediawiki.action.edit' => [
1409 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1410 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1412 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1414 'mediawiki.action.edit.styles',
1415 'jquery.textSelection',
1420 'mediawiki.action.edit.styles' => [
1421 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1423 'mediawiki.action.edit.collapsibleFooter' => [
1424 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1425 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1427 'jquery.makeCollapsible',
1428 'mediawiki.storage',
1432 'mediawiki.action.edit.preview' => [
1433 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1437 'jquery.textSelection',
1439 'mediawiki.diff.styles',
1441 'mediawiki.jqueryMsg',
1444 // Keep the uses message keys in sync with EditPage#setHeaders
1458 'mediawiki.action.history' => [
1459 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1460 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1462 'mediawiki.action.history.styles' => [
1463 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1465 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1466 'mediawiki.action.history.diff' => [
1468 'resources/src/mediawiki/mediawiki.diff.styles.css',
1469 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1473 'targets' => [ 'desktop', 'mobile' ],
1475 'mediawiki.action.view.dblClickEdit' => [
1476 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1482 'mediawiki.action.view.metadata' => [
1483 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1484 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1487 'metadata-collapse',
1490 'mediawiki.action.view.categoryPage.styles' => [
1491 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1492 'targets' => [ 'desktop', 'mobile' ]
1494 'mediawiki.action.view.postEdit' => [
1495 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1496 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.less',
1498 'mediawiki.jqueryMsg',
1499 'mediawiki.notification'
1502 'postedit-confirmation-created',
1503 'postedit-confirmation-restored',
1504 'postedit-confirmation-saved',
1507 'mediawiki.action.view.redirect' => [
1508 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1509 'dependencies' => 'jquery.client',
1510 'targets' => [ 'desktop', 'mobile' ],
1512 'mediawiki.action.view.redirectPage' => [
1513 'targets' => [ 'desktop', 'mobile' ],
1514 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1516 'mediawiki.action.view.rightClickEdit' => [
1517 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1519 'mediawiki.action.edit.editWarning' => [
1520 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1522 'jquery.textSelection',
1523 'mediawiki.jqueryMsg',
1524 'mediawiki.confirmCloseWindow',
1528 'editwarning-warning',
1529 // editwarning-warning uses {{int:prefs-editing}}
1533 'mediawiki.action.view.filepage' => [
1535 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1536 [ 'media' => 'print' ],
1537 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1541 /* MediaWiki Language */
1543 'mediawiki.language' => [
1545 'resources/src/mediawiki.language/mediawiki.language.js',
1546 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1547 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1549 'languageScripts' => [
1550 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1551 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1552 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1553 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1554 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1555 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1556 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1557 'la' => 'resources/src/mediawiki.language/languages/la.js',
1558 'os' => 'resources/src/mediawiki.language/languages/os.js',
1559 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1562 'mediawiki.language.data',
1565 'targets' => [ 'desktop', 'mobile' ],
1573 'mediawiki.cldr' => [
1574 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1576 'mediawiki.libs.pluralruleparser',
1578 'targets' => [ 'desktop', 'mobile' ],
1581 'mediawiki.libs.pluralruleparser' => [
1582 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1583 'targets' => [ 'desktop', 'mobile' ],
1586 'mediawiki.language.init' => [
1587 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1588 'targets' => [ 'desktop', 'mobile' ],
1591 'mediawiki.jqueryMsg' => [
1592 // Add data for mediawiki.jqueryMsg, such as allowed tags
1593 'class' => 'ResourceLoaderJqueryMsgModule',
1594 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1597 'mediawiki.language',
1600 'targets' => [ 'desktop', 'mobile' ],
1603 'mediawiki.language.months' => [
1604 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1605 'dependencies' => 'mediawiki.language',
1606 'messages' => array_merge(
1607 Language
::$mMonthMsgs,
1608 Language
::$mMonthGenMsgs,
1609 Language
::$mMonthAbbrevMsgs
1613 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1615 'mediawiki.language.specialCharacters' => [
1616 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1619 /* MediaWiki Libs */
1621 'mediawiki.libs.jpegmeta' => [
1622 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1623 'targets' => [ 'desktop', 'mobile' ],
1626 /* MediaWiki Page */
1628 'mediawiki.page.gallery' => [
1629 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1631 'mediawiki.page.gallery.styles',
1632 'jquery.throttle-debounce',
1635 'mediawiki.page.gallery.styles' => [
1637 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1638 'resources/src/mediawiki/page/gallery.css',
1640 'targets' => [ 'desktop', 'mobile' ],
1642 'mediawiki.page.gallery.slideshow' => [
1643 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1650 'oojs-ui.styles.icons-media'
1653 'gallery-slideshow-toggle'
1656 'mediawiki.page.ready' => [
1657 'scripts' => 'resources/src/mediawiki/page/ready.js',
1659 'jquery.accessKeyLabel',
1660 'jquery.checkboxShiftClick',
1663 'targets' => [ 'desktop', 'mobile' ],
1665 'mediawiki.page.startup' => [
1666 'scripts' => 'resources/src/mediawiki/page/startup.js',
1667 'targets' => [ 'desktop', 'mobile' ],
1669 'mediawiki.page.patrol.ajax' => [
1670 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1680 'markedaspatrollednotify',
1681 'markedaspatrollederrornotify',
1682 'markedaspatrollederror-noautopatrol'
1685 'mediawiki.page.watch.ajax' => [
1686 'scripts' => 'resources/src/mediawiki/page/watch.js',
1688 'mediawiki.page.startup',
1689 'mediawiki.api.watch',
1693 'mediawiki.jqueryMsg',
1694 'jquery.accessKeyLabel',
1703 'tooltip-ca-unwatch',
1706 'addedwatchtext-talk',
1708 'removedwatchtext-talk',
1711 'mediawiki.page.rollback' => [
1712 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1714 'mediawiki.api.rollback',
1724 'mediawiki.page.image.pagination' => [
1725 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1732 /* MediaWiki Special pages */
1734 'mediawiki.rcfilters.filters.base.styles' => [
1736 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.less',
1739 'mediawiki.rcfilters.filters.dm' => [
1741 'resources/src/mediawiki.rcfilters/mw.rcfilters.js',
1742 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.ItemModel.js',
1743 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterItem.js',
1744 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterGroup.js',
1745 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FiltersViewModel.js',
1746 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.SavedQueryItemModel.js',
1747 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.SavedQueriesModel.js',
1748 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.ChangesListViewModel.js',
1749 'resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js',
1757 'mediawiki.rcfilters.filters.ui' => [
1759 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.CheckboxInputWidget.js',
1760 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterTagMultiselectWidget.js',
1761 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ItemMenuOptionWidget.js',
1762 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuOptionWidget.js',
1763 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuSectionOptionWidget.js',
1764 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.TagItemWidget.js',
1765 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterTagItemWidget.js',
1766 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuHeaderWidget.js',
1767 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.MenuSelectWidget.js',
1768 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js',
1769 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js',
1770 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.SavedLinksListWidget.js',
1771 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.SavedLinksListItemWidget.js',
1772 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.SaveFiltersPopupButtonWidget.js',
1773 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FormWrapperWidget.js',
1774 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemHighlightButton.js',
1775 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.HighlightColorPickerWidget.js',
1776 'resources/src/mediawiki.rcfilters/mw.rcfilters.HighlightColors.js',
1777 'resources/src/mediawiki.rcfilters/mw.rcfilters.init.js',
1780 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.mixins.less',
1781 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.variables.less',
1782 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.less',
1783 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.Overlay.less',
1784 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterTagMultiselectWidget.less',
1785 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ItemMenuOptionWidget.less',
1786 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuOptionWidget.less',
1787 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuSectionOptionWidget.less',
1788 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.TagItemWidget.less',
1789 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuHeaderWidget.less',
1790 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.MenuSelectWidget.less',
1791 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less',
1792 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ChangesListWrapperWidget.less',
1793 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.HighlightColorPickerWidget.less',
1794 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterItemHighlightButton.less',
1795 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SavedLinksListWidget.less',
1796 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SavedLinksListItemWidget.less',
1797 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.SaveFiltersPopupButtonWidget.less',
1801 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.Overlay.monobook.less',
1802 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.CapsuleItemWidget.monobook.less',
1803 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuOptionWidget.monobook.less',
1807 'rcfilters-activefilters',
1808 'rcfilters-quickfilters',
1809 'rcfilters-quickfilters-placeholder-title',
1810 'rcfilters-quickfilters-placeholder-description',
1811 'rcfilters-savedqueries-defaultlabel',
1812 'rcfilters-savedqueries-rename',
1813 'rcfilters-savedqueries-setdefault',
1814 'rcfilters-savedqueries-unsetdefault',
1815 'rcfilters-savedqueries-remove',
1816 'rcfilters-savedqueries-new-name-label',
1817 'rcfilters-savedqueries-add-new-title',
1818 'rcfilters-savedqueries-apply-label',
1819 'rcfilters-savedqueries-cancel-label',
1820 'rcfilters-restore-default-filters',
1821 'rcfilters-clear-all-filters',
1822 'rcfilters-search-placeholder',
1823 'rcfilters-invalid-filter',
1824 'rcfilters-empty-filter',
1825 'rcfilters-filterlist-title',
1826 'rcfilters-filterlist-feedbacklink',
1827 'rcfilters-filterlist-noresults',
1828 'rcfilters-filterlist-whatsthis',
1829 'rcfilters-highlightbutton-title',
1830 'rcfilters-highlightmenu-title',
1831 'rcfilters-highlightmenu-help',
1832 'rcfilters-noresults-conflict',
1833 'rcfilters-state-message-subset',
1834 'rcfilters-state-message-fullcoverage',
1835 'recentchanges-noresult',
1840 'mediawiki.language',
1842 'mediawiki.rcfilters.filters.dm',
1843 'oojs-ui.styles.icons-moderation',
1844 'oojs-ui.styles.icons-editing-core',
1845 'oojs-ui.styles.icons-editing-styling',
1846 'oojs-ui.styles.icons-interactions',
1849 'mediawiki.special' => [
1850 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1851 'targets' => [ 'desktop', 'mobile' ],
1853 'mediawiki.special.apisandbox.styles' => [
1854 'targets' => [ 'desktop', 'mobile' ],
1855 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1857 'mediawiki.special.apisandbox' => [
1858 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1859 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1860 'targets' => [ 'desktop', 'mobile' ],
1863 'mediawiki.jqueryMsg',
1866 'mediawiki.widgets.datetime',
1870 'apisandbox-submit',
1872 'apisandbox-fullscreen',
1873 'apisandbox-fullscreen-tooltip',
1874 'apisandbox-unfullscreen',
1875 'apisandbox-unfullscreen-tooltip',
1877 'apisandbox-loading',
1878 'apisandbox-load-error',
1879 'apisandbox-fetch-token',
1880 'apisandbox-helpurls',
1881 'apisandbox-examples',
1882 'apisandbox-dynamic-parameters',
1883 'apisandbox-dynamic-parameters-add-label',
1884 'apisandbox-dynamic-parameters-add-placeholder',
1885 'apisandbox-dynamic-error-exists',
1886 'apisandbox-deprecated-parameters',
1887 'apisandbox-no-parameters',
1888 'api-help-param-limit',
1889 'api-help-param-limit2',
1890 'api-help-param-integer-min',
1891 'api-help-param-integer-max',
1892 'api-help-param-integer-minmax',
1893 'api-help-param-multi-separate',
1894 'api-help-param-multi-max',
1895 'apisandbox-submit-invalid-fields-title',
1896 'apisandbox-submit-invalid-fields-message',
1897 'apisandbox-results',
1898 'apisandbox-sending-request',
1899 'apisandbox-loading-results',
1900 'apisandbox-results-error',
1901 'apisandbox-request-selectformat-label',
1902 'apisandbox-request-format-url-label',
1903 'apisandbox-request-url-label',
1904 'apisandbox-request-format-json-label',
1905 'apisandbox-request-json-label',
1906 'apisandbox-request-time',
1907 'apisandbox-results-fixtoken',
1908 'apisandbox-results-fixtoken-fail',
1909 'apisandbox-alert-page',
1910 'apisandbox-alert-field',
1911 'apisandbox-continue',
1912 'apisandbox-continue-clear',
1913 'apisandbox-continue-help',
1914 'apisandbox-param-limit',
1915 'apisandbox-multivalue-all-namespaces',
1916 'apisandbox-multivalue-all-values',
1917 'api-format-prettyprint-status',
1921 'mediawiki.special.block' => [
1922 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1925 'mediawiki.htmlform',
1928 'mediawiki.special.changecredentials.js' => [
1929 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changecredentials.js',
1932 'mediawiki.htmlform.ooui'
1934 'targets' => [ 'desktop', 'mobile' ],
1936 'mediawiki.special.changeslist' => [
1937 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1938 'targets' => [ 'desktop', 'mobile' ],
1940 'mediawiki.special.changeslist.legend' => [
1941 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1942 'targets' => [ 'desktop', 'mobile' ],
1944 'mediawiki.special.changeslist.legend.js' => [
1945 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1947 'jquery.makeCollapsible',
1950 'targets' => [ 'desktop', 'mobile' ],
1952 'mediawiki.special.changeslist.enhanced' => [
1953 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1955 'mediawiki.special.changeslist.visitedstatus' => [
1956 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1958 'mediawiki.special.comparepages.styles' => [
1959 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1961 'mediawiki.special.contributions' => [
1962 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.contributions.js',
1964 'mediawiki.widgets.DateInputWidget',
1965 'mediawiki.jqueryMsg',
1968 'mediawiki.special.edittags' => [
1969 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1974 'tags-edit-chosen-placeholder',
1975 'tags-edit-chosen-no-results',
1978 'mediawiki.special.edittags.styles' => [
1979 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1981 'mediawiki.special.import' => [
1982 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1984 'mediawiki.special.movePage' => [
1985 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1988 'mediawiki.widgets',
1991 'mediawiki.special.movePage.styles' => [
1992 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1994 'mediawiki.special.newFiles' => [
1995 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.newFiles.js',
1997 'mediawiki.widgets.datetime',
2000 'mediawiki.special.pageLanguage' => [
2001 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
2006 'mediawiki.special.pagesWithProp' => [
2007 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
2009 'mediawiki.special.preferences' => [
2010 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
2012 'prefs-tabs-navigation-hint',
2013 'prefswarning-warning',
2018 'mediawiki.language',
2019 'mediawiki.confirmCloseWindow',
2020 'mediawiki.notification.convertmessagebox',
2023 'mediawiki.special.userrights' => [
2024 'styles' => 'resources/src/mediawiki.special/mediawiki.special.userrights.css',
2025 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
2027 'mediawiki.notification.convertmessagebox',
2030 'mediawiki.special.preferences.styles' => [
2031 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
2033 'mediawiki.special.recentchanges' => [
2034 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
2035 'targets' => [ 'desktop', 'mobile' ],
2037 'mediawiki.special.search' => [
2038 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
2039 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
2040 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
2042 'powersearch-togglelabel',
2043 'powersearch-toggleall',
2044 'powersearch-togglenone',
2047 'mediawiki.special.search.styles' => [
2048 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
2049 'targets' => [ 'desktop', 'mobile' ],
2051 'mediawiki.special.search.interwikiwidget.styles' => [
2052 'styles' => 'resources/src/mediawiki.special/'
2053 . 'mediawiki.special.search.interwikiwidget.styles.less',
2054 'targets' => [ 'desktop', 'mobile' ]
2056 'mediawiki.special.search.commonsInterwikiWidget' => [
2057 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.commonsInterwikiWidget.js',
2060 'mediawiki.jqueryMsg'
2062 'targets' => [ 'desktop', 'mobile' ],
2064 'search-interwiki-more-results',
2065 'searchprofile-images'
2068 'mediawiki.special.undelete' => [
2069 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
2071 'mediawiki.special.upload' => [
2073 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
2075 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
2083 'editwarning-warning',
2084 // editwarning-warning uses {{int:prefs-editing}}
2088 'mediawiki.special.upload.styles',
2090 'mediawiki.jqueryMsg',
2092 'mediawiki.libs.jpegmeta',
2095 'mediawiki.confirmCloseWindow',
2099 'mediawiki.special.upload.styles' => [
2100 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2102 'mediawiki.special.userlogin.common.styles' => [
2104 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2107 'mediawiki.special.userlogin.signup.styles' => [
2109 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2112 'mediawiki.special.userlogin.login.styles' => [
2114 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2117 'mediawiki.special.userlogin.signup.js' => [
2118 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2120 'createacct-emailrequired',
2126 'mediawiki.jqueryMsg',
2127 'jquery.throttle-debounce',
2128 'mediawiki.htmlform.checker',
2131 'mediawiki.special.unwatchedPages' => [
2132 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2133 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2135 'addedwatchtext-short',
2136 'removedwatchtext-short',
2145 'mediawiki.api.watch',
2151 'mediawiki.special.watchlist' => [
2152 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2159 'mediawiki.special.version' => [
2160 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2163 /* MediaWiki Installer */
2165 // Used in the web installer. Test it after modifying this definition!
2166 'mediawiki.legacy.config' => [
2167 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2168 'scripts' => 'mw-config/config.js',
2169 'styles' => 'mw-config/config.css',
2172 /* MediaWiki Legacy */
2174 'mediawiki.legacy.commonPrint' => [
2176 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2179 'mediawiki.legacy.protect' => [
2180 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2181 'dependencies' => 'jquery.byteLimit',
2182 'messages' => [ 'protect-unchain-permissions' ]
2184 // Used in the web installer. Test it after modifying this definition!
2185 'mediawiki.legacy.shared' => [
2187 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2190 'mediawiki.legacy.oldshared' => [
2192 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2195 'mediawiki.legacy.wikibits' => [
2196 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2197 'targets' => [ 'desktop', 'mobile' ],
2205 'resources/src/mediawiki.ui/default.less',
2208 'targets' => [ 'desktop', 'mobile' ],
2210 'mediawiki.ui.checkbox' => [
2213 'resources/src/mediawiki.ui/components/checkbox.less',
2216 'targets' => [ 'desktop', 'mobile' ],
2218 'mediawiki.ui.radio' => [
2221 'resources/src/mediawiki.ui/components/radio.less',
2224 'targets' => [ 'desktop', 'mobile' ],
2226 // Lightweight module for anchor styles
2227 'mediawiki.ui.anchor' => [
2230 'resources/src/mediawiki.ui/components/anchors.less',
2233 'targets' => [ 'desktop', 'mobile' ],
2235 // Lightweight module for button styles
2236 'mediawiki.ui.button' => [
2239 'resources/src/mediawiki.ui/components/buttons.less',
2242 'targets' => [ 'desktop', 'mobile' ],
2244 'mediawiki.ui.input' => [
2247 'resources/src/mediawiki.ui/components/inputs.less',
2250 'targets' => [ 'desktop', 'mobile' ],
2252 'mediawiki.ui.icon' => [
2255 'resources/src/mediawiki.ui/components/icons.less',
2258 'targets' => [ 'desktop', 'mobile' ],
2260 // Lightweight module for text styles
2261 'mediawiki.ui.text' => [
2264 'resources/src/mediawiki.ui/components/text.less',
2267 'targets' => [ 'desktop', 'mobile' ],
2270 'mediawiki.widgets' => [
2272 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2273 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2274 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2275 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2276 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2277 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2278 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2282 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2287 'mediawiki.widgets.styles',
2292 // TitleOptionWidget
2293 'jquery.highlightText',
2296 // NamespaceInputWidget
2300 'mw-widgets-titleinput-description-new-page',
2301 'mw-widgets-titleinput-description-redirect',
2303 'targets' => [ 'desktop', 'mobile' ],
2305 'mediawiki.widgets.styles' => [
2308 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2309 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2312 'targets' => [ 'desktop', 'mobile' ],
2314 'mediawiki.widgets.DateInputWidget' => [
2316 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2317 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2321 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2322 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2326 'mw-widgets-dateinput-no-date',
2327 'mw-widgets-dateinput-placeholder-day',
2328 'mw-widgets-dateinput-placeholder-month',
2334 'targets' => [ 'desktop', 'mobile' ],
2336 'mediawiki.widgets.datetime' => [
2338 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2339 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2340 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2341 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2342 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2346 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2347 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2397 'targets' => [ 'desktop', 'mobile' ],
2399 'mediawiki.widgets.CategorySelector' => [
2400 'deprecated' => 'Use "mw.widgets.CategoryMultiselectWidget" instead. See T161285.',
2402 'mediawiki.widgets.CategoryMultiselectWidget',
2405 'mediawiki.widgets.CategoryMultiselectWidget' => [
2407 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2408 'resources/src/mediawiki.widgets/mw.widgets.CategoryMultiselectWidget.js',
2413 'mediawiki.ForeignApi',
2418 'mw-widgets-categoryselector-add-category-placeholder',
2420 'targets' => [ 'desktop', 'mobile' ],
2422 'mediawiki.widgets.SelectWithInputWidget' => [
2423 'scripts' => 'resources/src/mediawiki.widgets/mw.widgets.SelectWithInputWidget.js',
2425 'mediawiki.widgets.SelectWithInputWidget.styles',
2428 'targets' => [ 'desktop', 'mobile' ],
2430 'mediawiki.widgets.SelectWithInputWidget.styles' => [
2431 'styles' => 'resources/src/mediawiki.widgets/mw.widgets.SelectWithInputWidget.base.css',
2432 'targets' => [ 'desktop', 'mobile' ],
2434 'mediawiki.widgets.MediaSearch' => [
2436 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsProvider.js',
2437 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsQueue.js',
2438 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceProvider.js',
2439 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchProvider.js',
2440 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceQueue.js',
2441 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchQueue.js',
2442 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.js',
2443 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js',
2446 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.css',
2447 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.css',
2451 'mediawiki.ForeignApi',
2456 'mw-widgets-mediasearch-noresults',
2457 'mw-widgets-mediasearch-input-placeholder',
2459 'targets' => [ 'desktop', 'mobile' ],
2461 'mediawiki.widgets.UserInputWidget' => [
2463 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2468 'targets' => [ 'desktop', 'mobile' ],
2470 'mediawiki.widgets.UsersMultiselectWidget' => [
2472 'resources/src/mediawiki.widgets/mw.widgets.UsersMultiselectWidget.js',
2477 'targets' => [ 'desktop', 'mobile' ],
2479 'mediawiki.widgets.SearchInputWidget' => [
2481 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2484 'mediawiki.searchSuggest',
2485 // FIXME: Needs TitleInputWidget only
2486 'mediawiki.widgets',
2489 'mediawiki.widgets.SearchInputWidget.styles' => [
2492 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2495 'targets' => [ 'desktop', 'mobile' ],
2497 'mediawiki.widgets.StashedFileWidget' => [
2499 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2503 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2513 'deprecated' => 'Use of the "es5-shim" module is deprecated since MediaWiki 1.29.0',
2514 'targets' => [ 'desktop', 'mobile' ],
2517 /* dom-level2-shim */
2518 'dom-level2-shim' => [
2519 'deprecated' => 'Use of the "dom-level2-shim" module is deprecated since MediaWiki 1.29.0',
2520 'targets' => [ 'desktop', 'mobile' ],
2526 'resources/lib/oojs/oojs.jquery.js',
2527 'resources/src/oojs-global.js',
2529 'targets' => [ 'desktop', 'mobile' ],
2532 'mediawiki.router' => [
2534 'resources/src/mediawiki.router/index.js',
2536 'targets' => [ 'desktop', 'mobile' ],
2544 'resources/lib/oojs-router/oojs-router.js',
2546 'targets' => [ 'desktop', 'mobile' ],
2562 'targets' => [ 'desktop', 'mobile' ],
2565 // The core JavaScript library.
2567 'class' => 'ResourceLoaderOOUIFileModule',
2569 'resources/lib/oojs-ui/oojs-ui-core.js',
2570 'resources/src/oojs-ui-local.js',
2572 'themeScripts' => 'core',
2575 'oojs-ui-core.styles',
2576 'oojs-ui.styles.indicators',
2577 'oojs-ui.styles.textures',
2578 'mediawiki.language',
2580 'targets' => [ 'desktop', 'mobile' ],
2582 // This contains only the styles required by core widgets.
2583 'oojs-ui-core.styles' => [
2584 'class' => 'ResourceLoaderOOUIFileModule',
2585 'styles' => 'resources/src/oojs-ui-local.css', // HACK, see inside the file
2586 'themeStyles' => 'core',
2587 'targets' => [ 'desktop', 'mobile' ],
2589 // Additional widgets and layouts module.
2590 'oojs-ui-widgets' => [
2591 'class' => 'ResourceLoaderOOUIFileModule',
2592 'scripts' => 'resources/lib/oojs-ui/oojs-ui-widgets.js',
2593 'themeStyles' => 'widgets',
2594 'dependencies' => 'oojs-ui-core',
2596 'ooui-outline-control-move-down',
2597 'ooui-outline-control-move-up',
2598 'ooui-outline-control-remove',
2599 'ooui-selectfile-button-select',
2600 'ooui-selectfile-dragdrop-placeholder',
2601 'ooui-selectfile-not-supported',
2602 'ooui-selectfile-placeholder',
2604 'targets' => [ 'desktop', 'mobile' ],
2606 // Toolbar and tools module.
2607 'oojs-ui-toolbars' => [
2608 'class' => 'ResourceLoaderOOUIFileModule',
2609 'scripts' => 'resources/lib/oojs-ui/oojs-ui-toolbars.js',
2610 'themeStyles' => 'toolbars',
2611 'dependencies' => 'oojs-ui-core',
2613 'ooui-toolbar-more',
2614 'ooui-toolgroup-collapse',
2615 'ooui-toolgroup-expand',
2617 'targets' => [ 'desktop', 'mobile' ],
2619 // Windows and dialogs module.
2620 'oojs-ui-windows' => [
2621 'class' => 'ResourceLoaderOOUIFileModule',
2622 'scripts' => 'resources/lib/oojs-ui/oojs-ui-windows.js',
2623 'themeStyles' => 'windows',
2624 'dependencies' => 'oojs-ui-core',
2626 'ooui-dialog-message-accept',
2627 'ooui-dialog-message-reject',
2628 'ooui-dialog-process-continue',
2629 'ooui-dialog-process-dismiss',
2630 'ooui-dialog-process-error',
2631 'ooui-dialog-process-retry',
2633 'targets' => [ 'desktop', 'mobile' ],
2636 'oojs-ui.styles.indicators' => [
2637 'class' => 'ResourceLoaderOOUIImageModule',
2638 'themeImages' => 'indicators',
2640 'oojs-ui.styles.textures' => [
2641 'class' => 'ResourceLoaderOOUIImageModule',
2642 'themeImages' => 'textures',
2644 'oojs-ui.styles.icons-accessibility' => [
2645 'class' => 'ResourceLoaderOOUIImageModule',
2646 'themeImages' => 'icons-accessibility',
2648 'oojs-ui.styles.icons-alerts' => [
2649 'class' => 'ResourceLoaderOOUIImageModule',
2650 'themeImages' => 'icons-alerts',
2652 'oojs-ui.styles.icons-content' => [
2653 'class' => 'ResourceLoaderOOUIImageModule',
2654 'themeImages' => 'icons-content',
2656 'oojs-ui.styles.icons-editing-advanced' => [
2657 'class' => 'ResourceLoaderOOUIImageModule',
2658 'themeImages' => 'icons-editing-advanced',
2660 'oojs-ui.styles.icons-editing-core' => [
2661 'class' => 'ResourceLoaderOOUIImageModule',
2662 'themeImages' => 'icons-editing-core',
2664 'oojs-ui.styles.icons-editing-list' => [
2665 'class' => 'ResourceLoaderOOUIImageModule',
2666 'themeImages' => 'icons-editing-list',
2668 'oojs-ui.styles.icons-editing-styling' => [
2669 'class' => 'ResourceLoaderOOUIImageModule',
2670 'themeImages' => 'icons-editing-styling',
2672 'oojs-ui.styles.icons-interactions' => [
2673 'class' => 'ResourceLoaderOOUIImageModule',
2674 'themeImages' => 'icons-interactions',
2676 'oojs-ui.styles.icons-layout' => [
2677 'class' => 'ResourceLoaderOOUIImageModule',
2678 'themeImages' => 'icons-layout',
2680 'oojs-ui.styles.icons-location' => [
2681 'class' => 'ResourceLoaderOOUIImageModule',
2682 'themeImages' => 'icons-location',
2684 'oojs-ui.styles.icons-media' => [
2685 'class' => 'ResourceLoaderOOUIImageModule',
2686 'themeImages' => 'icons-media',
2688 'oojs-ui.styles.icons-moderation' => [
2689 'class' => 'ResourceLoaderOOUIImageModule',
2690 'themeImages' => 'icons-moderation',
2692 'oojs-ui.styles.icons-movement' => [
2693 'class' => 'ResourceLoaderOOUIImageModule',
2694 'themeImages' => 'icons-movement',
2696 'oojs-ui.styles.icons-user' => [
2697 'class' => 'ResourceLoaderOOUIImageModule',
2698 'themeImages' => 'icons-user',
2700 'oojs-ui.styles.icons-wikimedia' => [
2701 'class' => 'ResourceLoaderOOUIImageModule',
2702 'themeImages' => 'icons-wikimedia',