3 * Definition of core ResourceLoader modules.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * http://www.gnu.org/copyleft/gpl.html
23 if ( !defined( 'MEDIAWIKI' ) ) {
24 die( 'Not an entry point.' );
30 * Special modules who have their own classes
32 'startup' => [ 'class' => 'ResourceLoaderStartUpModule' ],
34 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
35 'site' => [ 'class' => 'ResourceLoaderSiteModule' ],
36 'site.styles' => [ 'class' => 'ResourceLoaderSiteStylesModule' ],
38 'class' => 'ResourceLoaderWikiModule',
39 'styles' => [ 'MediaWiki:Noscript.css' ],
40 'group' => 'noscript',
44 'class' => 'ResourceLoaderWikiModule',
45 'styles' => [ 'MediaWiki:Filepage.css' ],
48 // Merged into 'user' since MediaWiki 1.28 - kept for back-compat
49 'dependencies' => 'user',
50 'targets' => [ 'desktop', 'mobile' ],
53 // Scripts managed by the current user (stored in their user space)
54 'user' => [ 'class' => 'ResourceLoaderUserModule' ],
55 'user.styles' => [ 'class' => 'ResourceLoaderUserStylesModule' ],
57 // Scripts generated based on the current user's preferences
58 'user.cssprefs' => [ 'class' => 'ResourceLoaderUserCSSPrefsModule' ],
60 // Populate mediawiki.user placeholders with information about the current user
61 'user.defaults' => [ 'class' => 'ResourceLoaderUserDefaultsModule' ],
62 'user.options' => [ 'class' => 'ResourceLoaderUserOptionsModule' ],
63 'user.tokens' => [ 'class' => 'ResourceLoaderUserTokensModule' ],
65 // Scripts for the dynamic language specific data, like grammar forms.
66 'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
68 /* MediaWiki base skinning modules */
71 * Common skin styles, grouped into three graded levels.
74 * The base level that only contains the most basic of common skin styles.
75 * Only styles for single elements are included, no styling for complex structures like the
76 * TOC is present. This level is for skins that want to implement the entire style of even
77 * content area structures like the TOC themselves.
80 * The most commonly used level for skins implemented from scratch. This level includes all
81 * the single element styles from "elements" as well as styles for complex structures such
82 * as the TOC that are output in the content area by MediaWiki rather than the skin.
83 * Essentially this is the common level that lets skins leave the style of the content area
84 * as it is normally styled, while leaving the rest of the skin up to the skin
87 * Level 3 "interface":
88 * The highest level, this stylesheet contains extra common styles for classes like
89 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
90 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
91 * common to MonoBook clones. And since practically every skin that currently exists within
92 * core is a MonoBook clone, all our core skins currently use this level.
94 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
95 * dependency management. As a result they contain duplicate stylesheet references instead of
96 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
97 * including more than one of them into your skin as this will result in duplicate CSS.
99 'mediawiki.skinning.elements' => [
102 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
105 'mediawiki.skinning.content' => [
108 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
109 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
112 // Used in the web installer. Test it after modifying this definition!
113 'mediawiki.skinning.interface' => [
115 'class' => 'ResourceLoaderSkinModule',
117 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
118 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
119 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
123 'mediawiki.skinning.content.parsoid' => [
125 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
126 // with the interface.css styles; skinStyles should be used if your
127 // skin over-rides common content styling.
129 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
131 'targets' => [ 'desktop', 'mobile' ],
134 'mediawiki.skinning.content.externallinks' => [
135 'position' => 'bottom',
137 'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
145 'resources/lib/jquery/jquery.js',
148 'targets' => [ 'desktop', 'mobile' ],
153 'jquery.accessKeyLabel' => [
154 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
159 'messages' => [ 'brackets', 'word-separator' ],
160 'targets' => [ 'mobile', 'desktop' ],
164 'message' => 'Please use "mediawiki.viewport" instead.',
166 'scripts' => 'resources/lib/jquery/jquery.appear.js',
168 'jquery.arrowSteps' => [
169 'deprecated' => true,
170 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
171 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
172 'targets' => [ 'desktop', 'mobile' ],
175 'scripts' => 'resources/lib/jquery/jquery.async.js',
177 'jquery.autoEllipsis' => [
178 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
179 'dependencies' => 'jquery.highlightText',
180 'targets' => [ 'desktop', 'mobile' ],
183 'scripts' => 'resources/src/jquery/jquery.badge.js',
184 'styles' => 'resources/src/jquery/jquery.badge.css',
185 'dependencies' => 'mediawiki.language',
187 'jquery.byteLength' => [
188 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
189 'targets' => [ 'desktop', 'mobile' ],
191 'jquery.byteLimit' => [
192 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
193 'dependencies' => 'jquery.byteLength',
194 'targets' => [ 'desktop', 'mobile' ],
196 'jquery.checkboxShiftClick' => [
197 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
198 'targets' => [ 'desktop', 'mobile' ],
201 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
202 'styles' => 'resources/lib/jquery.chosen/chosen.css',
205 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
206 'targets' => [ 'desktop', 'mobile' ],
209 'scripts' => 'resources/src/jquery/jquery.color.js',
210 'dependencies' => 'jquery.colorUtil',
212 'jquery.colorUtil' => [
213 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
215 'jquery.confirmable' => [
217 'resources/src/jquery/jquery.confirmable.js',
218 'resources/src/jquery/jquery.confirmable.mediawiki.js',
221 'confirmable-confirm',
226 'styles' => 'resources/src/jquery/jquery.confirmable.css',
227 'dependencies' => 'mediawiki.jqueryMsg',
230 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
231 'targets' => [ 'desktop', 'mobile' ],
233 'jquery.expandableField' => [
234 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
236 'jquery.farbtastic' => [
237 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
238 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
239 'dependencies' => 'jquery.colorUtil',
241 'jquery.footHovzer' => [
242 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
243 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
246 'scripts' => 'resources/lib/jquery/jquery.form.js',
248 'jquery.fullscreen' => [
249 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
251 'jquery.getAttrs' => [
252 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
253 'targets' => [ 'desktop', 'mobile' ],
256 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
257 'targets' => [ 'desktop', 'mobile' ],
259 'jquery.highlightText' => [
260 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
265 'targets' => [ 'desktop', 'mobile' ],
267 'jquery.hoverIntent' => [
268 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
272 'resources/lib/jquery.i18n/src/jquery.i18n.js',
273 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
274 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
275 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
276 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
277 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
278 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
280 'dependencies' => 'mediawiki.libs.pluralruleparser',
281 'languageScripts' => [
282 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
283 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
284 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
285 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
286 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
287 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
288 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
289 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
290 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
291 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
292 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
293 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
294 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
295 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
297 'targets' => [ 'desktop', 'mobile' ],
299 'jquery.localize' => [
300 'scripts' => 'resources/src/jquery/jquery.localize.js',
302 'jquery.makeCollapsible' => [
303 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
304 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
305 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
306 'targets' => [ 'desktop', 'mobile' ],
308 'jquery.mockjax' => [
309 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
311 'jquery.mw-jump' => [
312 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
313 'targets' => [ 'desktop', 'mobile' ],
315 'jquery.mwExtension' => [
316 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
317 'targets' => [ 'desktop', 'mobile' ],
319 'jquery.placeholder' => [
320 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
321 'targets' => [ 'desktop', 'mobile' ],
324 'scripts' => 'resources/lib/qunitjs/qunit.js',
325 'styles' => 'resources/lib/qunitjs/qunit.css',
327 'targets' => [ 'desktop', 'mobile' ],
329 'jquery.qunit.completenessTest' => [
330 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
331 'dependencies' => 'jquery.qunit',
332 'targets' => [ 'desktop', 'mobile' ],
334 'jquery.spinner' => [
335 'scripts' => 'resources/src/jquery/jquery.spinner.js',
336 'styles' => 'resources/src/jquery/jquery.spinner.css',
337 'targets' => [ 'desktop', 'mobile' ],
339 'jquery.jStorage' => [
341 'message' => 'Please use "mediawiki.storage" instead.',
343 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
344 'dependencies' => 'json',
346 'jquery.suggestions' => [
347 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
348 'styles' => 'resources/src/jquery/jquery.suggestions.css',
349 'dependencies' => 'jquery.highlightText',
351 'jquery.tabIndex' => [
352 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
354 'jquery.tablesorter' => [
355 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
356 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
357 'messages' => [ 'sort-descending', 'sort-ascending' ],
361 'mediawiki.language.months',
364 'jquery.textSelection' => [
365 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
366 'dependencies' => 'jquery.client',
367 'targets' => [ 'mobile', 'desktop' ],
369 'jquery.throttle-debounce' => [
370 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
371 'targets' => [ 'desktop', 'mobile' ],
374 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
380 'deprecated' => true,
381 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
382 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
387 'jquery.ui.core' => [
389 'message' => 'Please use "mediawiki.ui.button" or "oojs-ui" instead.',
391 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
393 'jquery.ui.core.styles',
395 'group' => 'jquery.ui',
397 'jquery.ui.core.styles' => [
401 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
402 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
405 'group' => 'jquery.ui',
407 'jquery.ui.accordion' => [
408 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
414 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
416 'group' => 'jquery.ui',
418 'jquery.ui.autocomplete' => [
419 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
423 'jquery.ui.position',
427 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
429 'group' => 'jquery.ui',
431 'jquery.ui.button' => [
432 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
438 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
440 'group' => 'jquery.ui',
442 'jquery.ui.datepicker' => [
443 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
444 'dependencies' => 'jquery.ui.core',
446 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
448 'languageScripts' => [
449 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
450 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
451 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
452 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
453 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
454 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
455 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
456 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
457 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
458 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
459 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
460 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
461 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
462 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
463 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
464 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
465 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
466 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
467 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
468 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
469 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
470 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
471 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
472 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
473 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
474 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
475 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
476 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
477 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
478 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
479 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
480 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
481 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
482 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
483 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
484 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
485 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
486 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
487 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
488 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
489 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
490 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
491 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
492 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
493 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
494 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
495 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
496 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
497 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
498 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
499 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
500 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
501 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
502 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
503 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
504 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
505 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
506 'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
507 'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
508 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
509 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
510 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
511 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
512 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
513 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
514 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
515 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
516 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
517 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
519 'group' => 'jquery.ui',
521 'jquery.ui.dialog' => [
522 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
527 'jquery.ui.draggable',
529 'jquery.ui.position',
530 'jquery.ui.resizable',
533 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
535 'group' => 'jquery.ui',
537 'jquery.ui.draggable' => [
538 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
544 'group' => 'jquery.ui',
546 'jquery.ui.droppable' => [
547 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
552 'jquery.ui.draggable',
554 'group' => 'jquery.ui',
556 'jquery.ui.menu' => [
557 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
561 'jquery.ui.position',
564 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
566 'group' => 'jquery.ui',
568 'jquery.ui.mouse' => [
569 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
570 'dependencies' => 'jquery.ui.widget',
571 'group' => 'jquery.ui',
573 'jquery.ui.position' => [
574 'deprecated' => true,
575 'targets' => [ 'mobile', 'desktop' ],
576 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
577 'group' => 'jquery.ui',
579 'jquery.ui.progressbar' => [
580 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
586 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
588 'group' => 'jquery.ui',
590 'jquery.ui.resizable' => [
591 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
598 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
600 'group' => 'jquery.ui',
602 'jquery.ui.selectable' => [
603 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
610 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
612 'group' => 'jquery.ui',
614 'jquery.ui.slider' => [
615 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
622 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
624 'group' => 'jquery.ui',
626 'jquery.ui.sortable' => [
627 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
633 'group' => 'jquery.ui',
635 'jquery.ui.spinner' => [
636 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
643 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
645 'group' => 'jquery.ui',
647 'jquery.ui.tabs' => [
648 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
654 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
656 'group' => 'jquery.ui',
658 'jquery.ui.tooltip' => [
659 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
663 'jquery.ui.position',
666 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
668 'group' => 'jquery.ui',
670 'jquery.ui.widget' => [
671 'deprecated' => true,
672 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
673 'group' => 'jquery.ui',
676 'jquery.effects.core' => [
677 'deprecated' => true,
678 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
679 'group' => 'jquery.ui',
681 'jquery.effects.blind' => [
682 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
683 'dependencies' => 'jquery.effects.core',
684 'group' => 'jquery.ui',
686 'jquery.effects.bounce' => [
687 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
688 'dependencies' => 'jquery.effects.core',
689 'group' => 'jquery.ui',
691 'jquery.effects.clip' => [
692 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
693 'dependencies' => 'jquery.effects.core',
694 'group' => 'jquery.ui',
696 'jquery.effects.drop' => [
697 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
698 'dependencies' => 'jquery.effects.core',
699 'group' => 'jquery.ui',
701 'jquery.effects.explode' => [
702 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
703 'dependencies' => 'jquery.effects.core',
704 'group' => 'jquery.ui',
706 'jquery.effects.fade' => [
707 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
708 'dependencies' => 'jquery.effects.core',
709 'group' => 'jquery.ui',
711 'jquery.effects.fold' => [
712 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
713 'dependencies' => 'jquery.effects.core',
714 'group' => 'jquery.ui',
716 'jquery.effects.highlight' => [
717 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
718 'dependencies' => 'jquery.effects.core',
719 'group' => 'jquery.ui',
721 'jquery.effects.pulsate' => [
722 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
723 'dependencies' => 'jquery.effects.core',
724 'group' => 'jquery.ui',
726 'jquery.effects.scale' => [
727 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
728 'dependencies' => 'jquery.effects.core',
729 'group' => 'jquery.ui',
731 'jquery.effects.shake' => [
732 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
733 'dependencies' => 'jquery.effects.core',
734 'group' => 'jquery.ui',
736 'jquery.effects.slide' => [
737 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
738 'dependencies' => 'jquery.effects.core',
739 'group' => 'jquery.ui',
741 'jquery.effects.transfer' => [
742 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
743 'dependencies' => 'jquery.effects.core',
744 'group' => 'jquery.ui',
750 'scripts' => 'resources/lib/json2/json2.js',
751 'targets' => [ 'desktop', 'mobile' ],
752 'skipFunction' => 'resources/src/json-skip.js',
759 'resources/lib/moment/moment.js',
760 'resources/src/moment-global.js',
762 'languageScripts' => [
763 'af' => 'resources/lib/moment/locale/af.js',
764 'ar' => 'resources/lib/moment/locale/ar.js',
765 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
766 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
767 'az' => 'resources/lib/moment/locale/az.js',
768 'be' => 'resources/lib/moment/locale/be.js',
769 'bg' => 'resources/lib/moment/locale/bg.js',
770 'bn' => 'resources/lib/moment/locale/bn.js',
771 'bo' => 'resources/lib/moment/locale/bo.js',
772 'br' => 'resources/lib/moment/locale/br.js',
773 'bs' => 'resources/lib/moment/locale/bs.js',
774 'ca' => 'resources/lib/moment/locale/ca.js',
775 'cs' => 'resources/lib/moment/locale/cs.js',
776 'cv' => 'resources/lib/moment/locale/cv.js',
777 'cy' => 'resources/lib/moment/locale/cy.js',
778 'da' => 'resources/lib/moment/locale/da.js',
779 'de' => 'resources/lib/moment/locale/de.js',
780 'de-at' => 'resources/lib/moment/locale/de-at.js',
781 'el' => 'resources/lib/moment/locale/el.js',
782 'en' => 'resources/src/moment-dmy.js',
783 'en-au' => 'resources/lib/moment/locale/en-au.js',
784 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
785 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
786 'eo' => 'resources/lib/moment/locale/eo.js',
787 'es' => 'resources/lib/moment/locale/es.js',
788 'et' => 'resources/lib/moment/locale/et.js',
789 'eu' => 'resources/lib/moment/locale/eu.js',
790 'fa' => 'resources/lib/moment/locale/fa.js',
791 'fi' => 'resources/lib/moment/locale/fi.js',
792 'fo' => 'resources/lib/moment/locale/fo.js',
793 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
794 'fr' => 'resources/lib/moment/locale/fr.js',
795 'gl' => 'resources/lib/moment/locale/gl.js',
796 'he' => 'resources/lib/moment/locale/he.js',
797 'hi' => 'resources/lib/moment/locale/hi.js',
798 'hr' => 'resources/lib/moment/locale/hr.js',
799 'hu' => 'resources/lib/moment/locale/hu.js',
800 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
801 'id' => 'resources/lib/moment/locale/id.js',
802 'is' => 'resources/lib/moment/locale/is.js',
803 'it' => 'resources/lib/moment/locale/it.js',
804 'ja' => 'resources/lib/moment/locale/ja.js',
805 'ka' => 'resources/lib/moment/locale/ka.js',
806 'ko' => 'resources/lib/moment/locale/ko.js',
807 'lt' => 'resources/lib/moment/locale/lt.js',
808 'lv' => 'resources/lib/moment/locale/lv.js',
809 'mk' => 'resources/lib/moment/locale/mk.js',
810 'ml' => 'resources/lib/moment/locale/ml.js',
811 'mr' => 'resources/lib/moment/locale/mr.js',
812 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
813 'my' => 'resources/lib/moment/locale/my.js',
814 'nb' => 'resources/lib/moment/locale/nb.js',
815 'ne' => 'resources/lib/moment/locale/ne.js',
816 'nl' => 'resources/lib/moment/locale/nl.js',
817 'nn' => 'resources/lib/moment/locale/nn.js',
818 'pl' => 'resources/lib/moment/locale/pl.js',
819 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
820 'pt' => 'resources/lib/moment/locale/pt.js',
821 'ro' => 'resources/lib/moment/locale/ro.js',
822 'ru' => 'resources/lib/moment/locale/ru.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 'sv' => 'resources/lib/moment/locale/sv.js',
829 'ta' => 'resources/lib/moment/locale/ta.js',
830 'th' => 'resources/lib/moment/locale/th.js',
831 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
832 'tr' => 'resources/lib/moment/locale/tr.js',
833 'tzm' => 'resources/lib/moment/locale/tzm.js',
834 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
835 'uk' => 'resources/lib/moment/locale/uk.js',
836 'uz' => 'resources/lib/moment/locale/uz.js',
837 'vi' => 'resources/lib/moment/locale/vi.js',
838 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
839 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
840 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
841 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
843 // HACK: skinScripts come after languageScripts, and we need locale overrides to come
844 // after locale definitions
847 'resources/src/moment-locale-overrides.js',
851 'mediawiki.language',
853 'targets' => [ 'desktop', 'mobile' ],
859 'class' => 'ResourceLoaderRawFileModule',
860 // Keep in sync with maintenance/jsduck/eg-iframe.html
862 'resources/src/mediawiki/mediawiki.js',
863 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
864 'resources/src/mediawiki/mediawiki.errorLogger.js',
866 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
867 'targets' => [ 'desktop', 'mobile' ],
869 'mediawiki.apihelp' => [
870 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
871 'targets' => [ 'desktop' ],
874 'mediawiki.template' => [
875 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
876 'targets' => [ 'desktop', 'mobile' ],
878 'mediawiki.template.mustache' => [
880 'resources/lib/mustache/mustache.js',
881 'resources/src/mediawiki/mediawiki.template.mustache.js',
883 'targets' => [ 'desktop', 'mobile' ],
884 'dependencies' => 'mediawiki.template',
886 'mediawiki.template.regexp' => [
887 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
888 'targets' => [ 'desktop', 'mobile' ],
889 'dependencies' => 'mediawiki.template',
891 'mediawiki.apipretty' => [
892 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
893 'targets' => [ 'desktop', 'mobile' ],
897 'scripts' => 'resources/src/mediawiki/api.js',
902 'targets' => [ 'desktop', 'mobile' ],
904 'mediawiki.api.category' => [
905 'scripts' => 'resources/src/mediawiki/api/category.js',
911 'mediawiki.api.edit' => [
912 'scripts' => 'resources/src/mediawiki/api/edit.js',
917 'targets' => [ 'desktop', 'mobile' ],
919 'mediawiki.api.login' => [
920 'scripts' => 'resources/src/mediawiki/api/login.js',
921 'dependencies' => 'mediawiki.api',
923 'mediawiki.api.options' => [
924 'scripts' => 'resources/src/mediawiki/api/options.js',
925 'dependencies' => 'mediawiki.api',
926 'targets' => [ 'desktop', 'mobile' ],
928 'mediawiki.api.parse' => [
929 'scripts' => 'resources/src/mediawiki/api/parse.js',
930 'dependencies' => 'mediawiki.api',
931 'targets' => [ 'desktop', 'mobile' ],
933 'mediawiki.api.upload' => [
934 'scripts' => 'resources/src/mediawiki/api/upload.js',
938 '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' => [
971 'styles' => 'resources/src/mediawiki/mediawiki.content.json.less',
973 'mediawiki.confirmCloseWindow' => [
975 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
977 'targets' => [ 'desktop', 'mobile' ],
979 'mediawiki.debug' => [
981 'resources/src/mediawiki/mediawiki.debug.js',
984 'resources/src/mediawiki/mediawiki.debug.less',
989 // Uses a custom mw.config variable that is set in debughtml,
990 // must be loaded on the bottom
991 'position' => 'bottom',
993 'mediawiki.diff.styles' => [
996 'resources/src/mediawiki/mediawiki.diff.styles.css',
997 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1001 'targets' => [ 'desktop', 'mobile' ],
1003 'mediawiki.feedback' => [
1004 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
1005 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
1007 'mediawiki.messagePoster',
1015 'feedback-bugcheck',
1016 'feedback-dialog-intro',
1017 'feedback-external-bug-report-button',
1019 'feedback-bugornote',
1022 'feedback-dialog-title',
1031 'feedback-termsofuse',
1033 'feedback-thanks-title',
1034 'feedback-useragent'
1036 'targets' => [ 'desktop', 'mobile' ],
1038 'mediawiki.feedlink' => [
1039 'position' => 'top',
1040 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1042 'mediawiki.filewarning' => [
1043 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1044 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1049 'mediawiki.ForeignApi' => [
1050 'targets' => [ 'desktop', 'mobile' ],
1051 'class' => 'ResourceLoaderForeignApiModule',
1052 // Additional dependencies generated dynamically
1053 'dependencies' => 'mediawiki.ForeignApi.core',
1055 'mediawiki.ForeignApi.core' => [
1056 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1061 'targets' => [ 'desktop', 'mobile' ],
1063 'mediawiki.helplink' => [
1064 'position' => 'top',
1066 'resources/src/mediawiki/mediawiki.helplink.less',
1068 'targets' => [ 'desktop', 'mobile' ],
1070 'mediawiki.hidpi' => [
1071 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1072 'dependencies' => 'jquery.hidpi',
1073 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1074 'targets' => [ 'desktop', 'mobile' ],
1076 'mediawiki.hlist' => [
1077 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1079 'mediawiki.htmlform' => [
1081 'resources/src/mediawiki/htmlform/htmlform.js',
1082 'resources/src/mediawiki/htmlform/autocomplete.js',
1083 'resources/src/mediawiki/htmlform/autoinfuse.js',
1084 'resources/src/mediawiki/htmlform/checkmatrix.js',
1085 'resources/src/mediawiki/htmlform/datetime.js',
1086 'resources/src/mediawiki/htmlform/cloner.js',
1087 'resources/src/mediawiki/htmlform/hide-if.js',
1088 'resources/src/mediawiki/htmlform/multiselect.js',
1089 'resources/src/mediawiki/htmlform/selectandother.js',
1090 'resources/src/mediawiki/htmlform/selectorother.js',
1097 'htmlform-chosen-placeholder',
1098 // @todo Load this message in content language
1101 'targets' => [ 'desktop', 'mobile' ],
1103 'mediawiki.htmlform.ooui' => [
1105 'resources/src/mediawiki/htmlform/htmlform.Element.js',
1110 'targets' => [ 'desktop', 'mobile' ],
1112 'mediawiki.htmlform.styles' => [
1113 'styles' => 'resources/src/mediawiki/htmlform/styles.css',
1114 'position' => 'top',
1115 'targets' => [ 'desktop', 'mobile' ],
1117 'mediawiki.htmlform.ooui.styles' => [
1118 'styles' => 'resources/src/mediawiki/htmlform/ooui.styles.css',
1119 'position' => 'top',
1120 'targets' => [ 'desktop', 'mobile' ],
1122 'mediawiki.icon' => [
1123 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1124 'targets' => [ 'desktop', 'mobile' ],
1126 'mediawiki.inspect' => [
1127 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1129 'jquery.byteLength',
1133 'targets' => [ 'desktop', 'mobile' ],
1135 'mediawiki.messagePoster' => [
1137 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1138 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1143 'mediawiki.ForeignApi',
1145 'targets' => [ 'desktop', 'mobile' ],
1147 'mediawiki.messagePoster.wikitext' => [
1149 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1152 'mediawiki.api.edit',
1153 'mediawiki.messagePoster',
1155 'targets' => [ 'desktop', 'mobile' ],
1157 'mediawiki.notification' => [
1159 'resources/src/mediawiki/mediawiki.notification.common.css',
1160 'resources/src/mediawiki/mediawiki.notification.print.css'
1161 => [ 'media' => 'print' ],
1164 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1166 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1167 'dependencies' => 'mediawiki.page.startup',
1168 'targets' => [ 'desktop', 'mobile' ],
1170 'mediawiki.notify' => [
1171 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1172 'targets' => [ 'desktop', 'mobile' ],
1174 'mediawiki.notification.convertmessagebox' => [
1176 'mediawiki.notification',
1178 'scripts' => 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.js',
1179 'targets' => [ 'desktop', 'mobile' ],
1181 'mediawiki.notification.convertmessagebox.styles' => [
1182 'position' => 'top',
1184 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.styles.less',
1186 'targets' => [ 'desktop', 'mobile' ],
1188 'mediawiki.RegExp' => [
1189 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1190 'targets' => [ 'desktop', 'mobile' ],
1192 'mediawiki.pager.tablePager' => [
1193 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1194 'position' => 'top',
1196 'mediawiki.searchSuggest' => [
1197 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1198 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1200 'searchsuggest-search',
1201 'searchsuggest-containing',
1205 'jquery.placeholder',
1206 'jquery.suggestions',
1211 'mediawiki.sectionAnchor' => [
1212 'position' => 'top',
1213 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1214 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1215 'targets' => [ 'desktop', 'mobile' ],
1217 'mediawiki.storage' => [
1218 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1219 'targets' => [ 'desktop', 'mobile' ],
1221 'mediawiki.Title' => [
1222 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1224 'jquery.byteLength',
1227 'targets' => [ 'desktop', 'mobile' ],
1229 'mediawiki.Upload' => [
1230 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1233 'mediawiki.api.upload',
1236 'mediawiki.ForeignUpload' => [
1237 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1239 'mediawiki.ForeignApi',
1244 'uploaddisabledtext',
1245 'upload-dialog-disabled',
1246 'upload-foreign-cant-upload',
1249 'mediawiki.ForeignStructuredUpload.config' => [
1250 'class' => 'ResourceLoaderUploadDialogModule',
1252 'mediawiki.ForeignStructuredUpload' => [
1253 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1255 'mediawiki.ForeignUpload',
1256 'mediawiki.ForeignStructuredUpload.config',
1259 'upload-foreign-cant-load-config',
1262 'mediawiki.Upload.Dialog' => [
1264 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1267 'mediawiki.Upload.BookletLayout',
1270 'upload-dialog-title',
1271 'upload-dialog-button-cancel',
1272 'upload-dialog-button-back',
1273 'upload-dialog-button-done',
1274 'upload-dialog-button-save',
1275 'upload-dialog-button-upload',
1278 'mediawiki.Upload.BookletLayout' => [
1280 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1283 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1289 'oojs-ui.styles.icons-content',
1290 'oojs-ui.styles.icons-editing-advanced',
1295 'mediawiki.jqueryMsg',
1296 'mediawiki.widgets.StashedFileWidget'
1299 'upload-form-label-infoform-title',
1300 'upload-form-label-infoform-name',
1301 'upload-form-label-infoform-name-tooltip',
1302 'upload-form-label-infoform-description',
1303 'upload-form-label-infoform-description-tooltip',
1304 'upload-form-label-usage-title',
1305 'upload-form-label-usage-filename',
1306 'api-error-unknownerror',
1307 'api-error-unknown-warning',
1308 'api-error-autoblocked',
1309 'api-error-blocked',
1310 'api-error-badaccess-groups',
1311 'api-error-badtoken',
1312 'api-error-copyuploaddisabled',
1313 'api-error-duplicate',
1314 'api-error-duplicate-archive',
1315 'api-error-empty-file',
1316 'api-error-emptypage',
1317 'api-error-fetchfileerror',
1318 'api-error-fileexists-forbidden',
1319 'api-error-fileexists-shared-forbidden',
1320 'api-error-file-too-large',
1321 'api-error-filename-tooshort',
1322 'api-error-filetype-banned',
1323 'api-error-filetype-banned-type',
1324 'api-error-filetype-missing',
1325 'api-error-hookaborted',
1327 'api-error-illegal-filename',
1328 'api-error-internal-error',
1329 'api-error-invalid-file-key',
1330 'api-error-missingparam',
1331 'api-error-missingresult',
1332 'api-error-mustbeloggedin',
1333 'api-error-mustbeposted',
1334 'api-error-noimageinfo',
1335 'api-error-nomodule',
1336 'api-error-ok-but-empty',
1337 'api-error-overwrite',
1338 'api-error-stashfailed',
1339 'api-error-publishfailed',
1340 'api-error-stasherror',
1341 'api-error-stashedfilenotfound',
1342 'api-error-stashpathinvalid',
1343 'api-error-stashfilestorage',
1344 'api-error-stashzerolength',
1345 'api-error-stashnotloggedin',
1346 'api-error-stashwrongowner',
1347 'api-error-stashnosuchfilekey',
1348 'api-error-timeout',
1349 'api-error-unclassified',
1350 'api-error-unknown-code',
1351 'api-error-unknown-error',
1352 'api-error-uploaddisabled',
1353 'api-error-verification-error',
1354 'api-error-was-deleted',
1357 'filename-bad-prefix',
1358 'filename-thumb-name',
1360 'protectedpagetext',
1363 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1364 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1365 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1367 'mediawiki.ForeignStructuredUpload',
1368 'mediawiki.Upload.BookletLayout',
1369 'mediawiki.widgets.CategorySelector',
1370 'mediawiki.widgets.DateInputWidget',
1371 'mediawiki.jqueryMsg',
1372 'mediawiki.api.messages',
1374 'mediawiki.libs.jpegmeta',
1377 'upload-form-label-own-work',
1378 'upload-form-label-infoform-categories',
1379 'upload-form-label-infoform-date',
1380 'upload-form-label-own-work-message-generic-local',
1381 'upload-form-label-not-own-work-message-generic-local',
1382 'upload-form-label-not-own-work-local-generic-local',
1383 'upload-form-label-own-work-message-generic-foreign',
1384 'upload-form-label-not-own-work-message-generic-foreign',
1385 'upload-form-label-not-own-work-local-generic-foreign',
1388 'mediawiki.toc' => [
1389 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1391 'resources/src/mediawiki/mediawiki.toc.css'
1392 => [ 'media' => 'screen' ],
1393 'resources/src/mediawiki/mediawiki.toc.print.css'
1394 => [ 'media' => 'print' ],
1396 'dependencies' => 'mediawiki.cookie',
1397 'messages' => [ 'showtoc', 'hidetoc' ],
1398 'targets' => [ 'desktop', 'mobile' ],
1400 'mediawiki.Uri' => [
1401 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1403 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1404 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1406 'dependencies' => 'mediawiki.util',
1407 'targets' => [ 'desktop', 'mobile' ],
1409 'mediawiki.user.blockcookie' => [
1410 'scripts' => 'resources/src/mediawiki/mediawiki.user.blockcookie.js',
1411 'dependencies' => [ 'mediawiki.cookie', 'mediawiki.storage' ],
1412 'targets' => [ 'desktop', 'mobile' ],
1414 'mediawiki.user' => [
1415 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1419 'mediawiki.api.user',
1423 'targets' => [ 'desktop', 'mobile' ],
1425 'mediawiki.userSuggest' => [
1426 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1428 'jquery.suggestions',
1432 'mediawiki.util' => [
1433 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1435 'jquery.accessKeyLabel',
1439 'targets' => [ 'desktop', 'mobile' ],
1441 'mediawiki.viewport' => [
1442 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1443 'position' => 'top',
1444 'targets' => [ 'desktop', 'mobile' ],
1446 'mediawiki.checkboxtoggle' => [
1447 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1449 'mediawiki.checkboxtoggle.styles' => [
1450 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1452 'mediawiki.cookie' => [
1453 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1454 'dependencies' => 'jquery.cookie',
1455 'targets' => [ 'desktop', 'mobile' ],
1457 'mediawiki.toolbar' => [
1458 'class' => 'ResourceLoaderEditToolbarModule',
1459 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1460 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1461 'dependencies' => 'jquery.textSelection',
1462 'position' => 'top',
1464 'mediawiki.experiments' => [
1465 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1466 'targets' => [ 'desktop', 'mobile' ],
1469 /* MediaWiki Action */
1471 'mediawiki.action.edit' => [
1473 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1474 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1476 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1478 'mediawiki.action.edit.styles',
1479 'jquery.textSelection',
1483 'position' => 'top',
1485 'mediawiki.action.edit.styles' => [
1486 'position' => 'top',
1487 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1489 'mediawiki.action.edit.collapsibleFooter' => [
1490 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1491 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1493 'jquery.makeCollapsible',
1498 'mediawiki.action.edit.preview' => [
1499 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1503 'jquery.textSelection',
1505 'mediawiki.diff.styles',
1507 'mediawiki.jqueryMsg',
1510 // Keep the uses message keys in sync with EditPage#setHeaders
1524 'mediawiki.action.history' => [
1525 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1526 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1528 'mediawiki.action.history.styles' => [
1529 'position' => 'top',
1530 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1532 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1533 'mediawiki.action.history.diff' => [
1534 'position' => 'top',
1536 'resources/src/mediawiki/mediawiki.diff.styles.css',
1537 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1541 'targets' => [ 'desktop', 'mobile' ],
1543 'mediawiki.action.view.dblClickEdit' => [
1544 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1547 'mediawiki.page.startup',
1551 'mediawiki.action.view.metadata' => [
1552 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1553 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1556 'metadata-collapse',
1559 'mediawiki.action.view.categoryPage.styles' => [
1560 'position' => 'top',
1561 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1562 'targets' => [ 'desktop', 'mobile' ]
1564 'mediawiki.action.view.postEdit' => [
1566 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1568 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1569 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1572 'mediawiki.jqueryMsg'
1575 'postedit-confirmation-created',
1576 'postedit-confirmation-restored',
1577 'postedit-confirmation-saved',
1580 'mediawiki.action.view.redirect' => [
1581 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1582 'dependencies' => 'jquery.client',
1583 'position' => 'top',
1584 'targets' => [ 'desktop', 'mobile' ],
1586 'mediawiki.action.view.redirectPage' => [
1587 'position' => 'top',
1588 'targets' => [ 'desktop', 'mobile' ],
1589 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1591 'mediawiki.action.view.rightClickEdit' => [
1592 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1594 'mediawiki.action.edit.editWarning' => [
1595 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1597 'jquery.textSelection',
1598 'mediawiki.jqueryMsg',
1599 'mediawiki.confirmCloseWindow',
1603 'editwarning-warning',
1604 // editwarning-warning uses {{int:prefs-editing}}
1608 'mediawiki.action.view.filepage' => [
1610 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1611 [ 'media' => 'print' ],
1612 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1614 'position' => 'top',
1617 /* MediaWiki Language */
1619 'mediawiki.language' => [
1621 'resources/src/mediawiki.language/mediawiki.language.js',
1622 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1623 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1625 'languageScripts' => [
1626 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1627 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1628 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1629 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1630 'he' => 'resources/src/mediawiki.language/languages/he.js',
1631 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1632 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1633 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1634 'la' => 'resources/src/mediawiki.language/languages/la.js',
1635 'os' => 'resources/src/mediawiki.language/languages/os.js',
1636 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1637 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1638 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1641 'mediawiki.language.data',
1644 'targets' => [ 'desktop', 'mobile' ],
1652 'mediawiki.cldr' => [
1653 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1655 'mediawiki.libs.pluralruleparser',
1657 'targets' => [ 'desktop', 'mobile' ],
1660 'mediawiki.libs.pluralruleparser' => [
1661 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1662 'targets' => [ 'desktop', 'mobile' ],
1665 'mediawiki.language.init' => [
1666 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1667 'targets' => [ 'desktop', 'mobile' ],
1670 'mediawiki.jqueryMsg' => [
1671 // Add data for mediawiki.jqueryMsg, such as allowed tags
1672 'class' => 'ResourceLoaderJqueryMsgModule',
1673 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1676 'mediawiki.language',
1680 'targets' => [ 'desktop', 'mobile' ],
1683 'mediawiki.language.months' => [
1684 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1685 'dependencies' => 'mediawiki.language',
1686 'messages' => array_merge(
1687 Language
::$mMonthMsgs,
1688 Language
::$mMonthGenMsgs,
1689 Language
::$mMonthAbbrevMsgs
1693 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1695 'mediawiki.language.specialCharacters' => [
1696 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1699 /* MediaWiki Libs */
1701 'mediawiki.libs.jpegmeta' => [
1702 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1703 'targets' => [ 'desktop', 'mobile' ],
1706 /* MediaWiki Page */
1708 'mediawiki.page.gallery' => [
1709 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1711 'mediawiki.page.gallery.styles',
1712 'jquery.throttle-debounce',
1715 'mediawiki.page.gallery.styles' => [
1717 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1718 'resources/src/mediawiki/page/gallery.css',
1720 'position' => 'top',
1721 'targets' => [ 'desktop', 'mobile' ],
1723 'mediawiki.page.gallery.slideshow' => [
1724 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1725 'position' => 'top',
1732 'oojs-ui.styles.icons-media'
1735 'gallery-slideshow-toggle'
1738 'mediawiki.page.ready' => [
1739 'scripts' => 'resources/src/mediawiki/page/ready.js',
1741 'jquery.accessKeyLabel',
1742 'jquery.checkboxShiftClick',
1743 'jquery.makeCollapsible',
1744 'jquery.placeholder',
1747 'targets' => [ 'desktop', 'mobile' ],
1749 'mediawiki.page.startup' => [
1750 'scripts' => 'resources/src/mediawiki/page/startup.js',
1751 'dependencies' => 'mediawiki.util',
1752 'position' => 'top',
1753 'targets' => [ 'desktop', 'mobile' ],
1755 'mediawiki.page.patrol.ajax' => [
1756 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1758 'mediawiki.page.startup',
1767 'markedaspatrollednotify',
1768 'markedaspatrollederrornotify',
1769 'markedaspatrollederror-noautopatrol'
1772 'mediawiki.page.watch.ajax' => [
1773 'scripts' => 'resources/src/mediawiki/page/watch.js',
1775 'mediawiki.page.startup',
1776 'mediawiki.api.watch',
1779 'jquery.accessKeyLabel',
1788 'tooltip-ca-unwatch',
1792 'mediawiki.page.rollback' => [
1793 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1795 'mediawiki.api.rollback',
1804 'mediawiki.page.image.pagination' => [
1805 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1812 /* MediaWiki Special pages */
1814 'mediawiki.special' => [
1815 'position' => 'top',
1816 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1817 'targets' => [ 'desktop', 'mobile' ],
1819 'mediawiki.special.apisandbox.styles' => [
1820 'targets' => [ 'desktop', 'mobile' ],
1821 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1823 'mediawiki.special.apisandbox' => [
1824 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1825 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1826 'targets' => [ 'desktop', 'mobile' ],
1829 'mediawiki.jqueryMsg',
1831 'mediawiki.widgets.datetime',
1835 'apisandbox-submit',
1837 'apisandbox-fullscreen',
1838 'apisandbox-fullscreen-tooltip',
1839 'apisandbox-unfullscreen',
1840 'apisandbox-unfullscreen-tooltip',
1842 'apisandbox-loading',
1843 'apisandbox-load-error',
1844 'apisandbox-fetch-token',
1845 'apisandbox-helpurls',
1846 'apisandbox-examples',
1847 'apisandbox-dynamic-parameters',
1848 'apisandbox-dynamic-parameters-add-label',
1849 'apisandbox-dynamic-parameters-add-placeholder',
1850 'apisandbox-dynamic-error-exists',
1851 'apisandbox-deprecated-parameters',
1852 'apisandbox-no-parameters',
1853 'api-help-param-limit',
1854 'api-help-param-limit2',
1855 'api-help-param-integer-min',
1856 'api-help-param-integer-max',
1857 'api-help-param-integer-minmax',
1858 'api-help-param-multi-separate',
1859 'api-help-param-multi-max',
1860 'apisandbox-submit-invalid-fields-title',
1861 'apisandbox-submit-invalid-fields-message',
1862 'apisandbox-results',
1863 'apisandbox-sending-request',
1864 'apisandbox-loading-results',
1865 'apisandbox-results-error',
1866 'apisandbox-request-url-label',
1867 'apisandbox-request-time',
1868 'apisandbox-results-fixtoken',
1869 'apisandbox-results-fixtoken-fail',
1870 'apisandbox-alert-page',
1871 'apisandbox-alert-field',
1872 'apisandbox-continue',
1873 'apisandbox-continue-clear',
1874 'apisandbox-continue-help',
1875 'apisandbox-param-limit',
1876 'api-format-prettyprint-status',
1880 'mediawiki.special.block' => [
1881 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1882 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1883 'dependencies' => 'mediawiki.util',
1885 'mediawiki.special.changeslist' => [
1886 'position' => 'top',
1887 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1889 'mediawiki.special.changeslist.legend' => [
1890 'position' => 'top',
1891 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1893 'mediawiki.special.changeslist.legend.js' => [
1894 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1896 'jquery.makeCollapsible',
1900 'mediawiki.special.changeslist.enhanced' => [
1901 'position' => 'top',
1902 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1904 'mediawiki.special.changeslist.visitedstatus' => [
1905 'position' => 'top',
1906 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1908 'mediawiki.special.comparepages.styles' => [
1909 'position' => 'top',
1910 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1912 'mediawiki.special.edittags' => [
1913 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1918 'tags-edit-chosen-placeholder',
1919 'tags-edit-chosen-no-results',
1922 'mediawiki.special.edittags.styles' => [
1923 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1924 'position' => 'top',
1926 'mediawiki.special.import' => [
1927 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1929 'mediawiki.special.movePage' => [
1930 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1933 'mediawiki.widgets',
1936 'mediawiki.special.movePage.styles' => [
1937 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1938 'position' => 'top',
1940 'mediawiki.special.pageLanguage' => [
1941 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1946 'mediawiki.special.pagesWithProp' => [
1947 'position' => 'top',
1948 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1950 'mediawiki.special.preferences' => [
1951 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1952 'position' => 'top',
1954 'prefs-tabs-navigation-hint',
1955 'prefswarning-warning',
1960 'mediawiki.language',
1961 'mediawiki.confirmCloseWindow',
1962 'mediawiki.notification.convertmessagebox',
1965 'mediawiki.special.userrights' => [
1966 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
1968 'mediawiki.notification.convertmessagebox',
1971 'mediawiki.special.preferences.styles' => [
1972 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1973 'position' => 'top',
1975 'mediawiki.special.recentchanges' => [
1976 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1977 'position' => 'top',
1979 'mediawiki.special.search' => [
1980 'position' => 'top',
1981 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1982 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1983 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
1985 'powersearch-togglelabel',
1986 'powersearch-toggleall',
1987 'powersearch-togglenone',
1990 'mediawiki.special.search.styles' => [
1991 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
1992 'targets' => [ 'desktop', 'mobile' ],
1994 'mediawiki.special.undelete' => [
1995 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1997 'mediawiki.special.upload' => [
1999 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
2001 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
2009 'editwarning-warning',
2010 // editwarning-warning uses {{int:prefs-editing}}
2014 'mediawiki.special.upload.styles',
2016 'mediawiki.jqueryMsg',
2018 'mediawiki.libs.jpegmeta',
2021 'mediawiki.confirmCloseWindow',
2025 'mediawiki.special.upload.styles' => [
2026 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2028 'mediawiki.special.userlogin.common.styles' => [
2030 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2032 'position' => 'top',
2034 'mediawiki.special.userlogin.signup.styles' => [
2035 'position' => 'top',
2037 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2040 'mediawiki.special.userlogin.login.styles' => [
2041 'position' => 'top',
2043 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2046 'mediawiki.special.userlogin.signup.js' => [
2047 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2050 'createacct-emailrequired',
2056 'mediawiki.jqueryMsg',
2057 'jquery.throttle-debounce',
2060 'mediawiki.special.unwatchedPages' => [
2061 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2062 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2064 'addedwatchtext-short',
2065 'removedwatchtext-short',
2074 'mediawiki.api.watch',
2080 'mediawiki.special.watchlist' => [
2081 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2083 'mediawiki.special.version' => [
2084 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2087 /* MediaWiki Installer */
2089 // Used in the web installer. Test it after modifying this definition!
2090 'mediawiki.legacy.config' => [
2091 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2092 'scripts' => 'mw-config/config.js',
2093 'styles' => 'mw-config/config.css',
2096 /* MediaWiki Legacy */
2098 'mediawiki.legacy.commonPrint' => [
2099 'position' => 'top',
2101 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2104 'mediawiki.legacy.protect' => [
2105 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2106 'dependencies' => 'jquery.byteLimit',
2107 'messages' => [ 'protect-unchain-permissions' ]
2109 // Used in the web installer. Test it after modifying this definition!
2110 'mediawiki.legacy.shared' => [
2111 'position' => 'top',
2113 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2116 'mediawiki.legacy.oldshared' => [
2117 'position' => 'top',
2119 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2122 'mediawiki.legacy.wikibits' => [
2123 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2124 'dependencies' => 'mediawiki.util',
2125 'position' => 'top',
2126 'targets' => [ 'desktop', 'mobile' ],
2132 'position' => 'top',
2135 'resources/src/mediawiki.ui/default.less',
2138 'targets' => [ 'desktop', 'mobile' ],
2140 'mediawiki.ui.checkbox' => [
2141 'position' => 'top',
2144 'resources/src/mediawiki.ui/components/checkbox.less',
2147 'targets' => [ 'desktop', 'mobile' ],
2149 'mediawiki.ui.radio' => [
2150 'position' => 'top',
2153 'resources/src/mediawiki.ui/components/radio.less',
2156 'targets' => [ 'desktop', 'mobile' ],
2158 // Lightweight module for anchor styles
2159 'mediawiki.ui.anchor' => [
2160 'position' => 'top',
2163 'resources/src/mediawiki.ui/components/anchors.less',
2166 'targets' => [ 'desktop', 'mobile' ],
2168 // Lightweight module for button styles
2169 'mediawiki.ui.button' => [
2170 'position' => 'top',
2173 'resources/src/mediawiki.ui/components/buttons.less',
2176 'targets' => [ 'desktop', 'mobile' ],
2178 'mediawiki.ui.input' => [
2179 'position' => 'top',
2182 'resources/src/mediawiki.ui/components/inputs.less',
2185 'targets' => [ 'desktop', 'mobile' ],
2187 'mediawiki.ui.icon' => [
2188 'position' => 'top',
2191 'resources/src/mediawiki.ui/components/icons.less',
2194 'targets' => [ 'desktop', 'mobile' ],
2196 // Lightweight module for text styles
2197 'mediawiki.ui.text' => [
2198 'position' => 'top',
2201 'resources/src/mediawiki.ui/components/text.less',
2204 'targets' => [ 'desktop', 'mobile' ],
2207 'mediawiki.widgets' => [
2209 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2210 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2211 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2212 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2213 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2214 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2215 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2219 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2224 'mediawiki.widgets.styles',
2229 // TitleOptionWidget
2230 'jquery.autoEllipsis',
2233 // NamespaceInputWidget
2237 'mw-widgets-titleinput-description-new-page',
2238 'mw-widgets-titleinput-description-redirect',
2240 'targets' => [ 'desktop', 'mobile' ],
2242 'mediawiki.widgets.styles' => [
2245 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2246 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2249 'position' => 'top',
2250 'targets' => [ 'desktop', 'mobile' ],
2252 'mediawiki.widgets.DateInputWidget' => [
2254 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2255 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2259 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2260 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2264 'mw-widgets-dateinput-no-date',
2265 'mw-widgets-dateinput-placeholder-day',
2266 'mw-widgets-dateinput-placeholder-month',
2272 'targets' => [ 'desktop', 'mobile' ],
2274 'mediawiki.widgets.datetime' => [
2276 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2277 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2278 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2279 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2280 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2284 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2285 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2335 'targets' => [ 'desktop', 'mobile' ],
2337 'mediawiki.widgets.CategorySelector' => [
2339 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2340 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2345 'mediawiki.ForeignApi',
2351 'targets' => [ 'desktop', 'mobile' ],
2353 'mediawiki.widgets.UserInputWidget' => [
2355 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2360 'targets' => [ 'desktop', 'mobile' ],
2362 'mediawiki.widgets.SearchInputWidget' => [
2364 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2367 'mediawiki.searchSuggest',
2368 // FIXME: Needs TitleInputWidget only
2369 'mediawiki.widgets',
2372 'mediawiki.widgets.SearchInputWidget.styles' => [
2375 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2378 'position' => 'top',
2379 'targets' => [ 'desktop', 'mobile' ],
2381 'mediawiki.widgets.StashedFileWidget' => [
2383 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2387 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2397 'resources/lib/es5-shim/es5-shim.js',
2398 'resources/src/polyfill-object-create.js',
2400 'targets' => [ 'desktop', 'mobile' ],
2401 'skipFunction' => 'resources/src/es5-skip.js',
2404 /* dom-level2-shim */
2406 'dom-level2-shim' => [
2407 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2408 'targets' => [ 'desktop', 'mobile' ],
2409 'skipFunction' => 'resources/src/dom-level2-skip.js',
2415 'resources/lib/oojs/oojs.jquery.js',
2416 'resources/src/oojs-global.js',
2418 'targets' => [ 'desktop', 'mobile' ],
2425 'mediawiki.router' => [
2427 'resources/src/mediawiki.router/index.js',
2429 'targets' => [ 'desktop', 'mobile' ],
2437 'resources/lib/oojs-router/oojs-router.js',
2439 'targets' => [ 'desktop', 'mobile' ],
2446 // @see ResourcesOOUI.php