82a0c71ed24a70372099b68847425a8f7505f4dc
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',
1023 'feedback-error-title',
1032 'feedback-termsofuse',
1034 'feedback-thanks-title',
1035 'feedback-useragent'
1037 'targets' => [ 'desktop', 'mobile' ],
1039 'mediawiki.feedlink' => [
1040 'position' => 'top',
1041 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1043 'mediawiki.filewarning' => [
1044 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1045 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1050 'mediawiki.ForeignApi' => [
1051 'targets' => [ 'desktop', 'mobile' ],
1052 'class' => 'ResourceLoaderForeignApiModule',
1053 // Additional dependencies generated dynamically
1054 'dependencies' => 'mediawiki.ForeignApi.core',
1056 'mediawiki.ForeignApi.core' => [
1057 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1062 'targets' => [ 'desktop', 'mobile' ],
1064 'mediawiki.helplink' => [
1065 'position' => 'top',
1067 'resources/src/mediawiki/mediawiki.helplink.less',
1069 'targets' => [ 'desktop', 'mobile' ],
1071 'mediawiki.hidpi' => [
1072 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1073 'dependencies' => 'jquery.hidpi',
1074 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1075 'targets' => [ 'desktop', 'mobile' ],
1077 'mediawiki.hlist' => [
1078 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1080 'mediawiki.htmlform' => [
1082 'resources/src/mediawiki/htmlform/htmlform.js',
1083 'resources/src/mediawiki/htmlform/autocomplete.js',
1084 'resources/src/mediawiki/htmlform/autoinfuse.js',
1085 'resources/src/mediawiki/htmlform/checkmatrix.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' => [
1410 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1414 'mediawiki.api.user',
1418 'targets' => [ 'desktop', 'mobile' ],
1420 'mediawiki.userSuggest' => [
1421 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1423 'jquery.suggestions',
1427 'mediawiki.util' => [
1428 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1430 'jquery.accessKeyLabel',
1434 'targets' => [ 'desktop', 'mobile' ],
1436 'mediawiki.viewport' => [
1437 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1438 'position' => 'top',
1439 'targets' => [ 'desktop', 'mobile' ],
1441 'mediawiki.checkboxtoggle' => [
1442 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1444 'mediawiki.checkboxtoggle.styles' => [
1445 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1447 'mediawiki.cookie' => [
1448 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1449 'dependencies' => 'jquery.cookie',
1450 'targets' => [ 'desktop', 'mobile' ],
1452 'mediawiki.toolbar' => [
1453 'class' => 'ResourceLoaderEditToolbarModule',
1454 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1455 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1456 'dependencies' => 'jquery.textSelection',
1457 'position' => 'top',
1459 'mediawiki.experiments' => [
1460 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1461 'targets' => [ 'desktop', 'mobile' ],
1464 /* MediaWiki Action */
1466 'mediawiki.action.edit' => [
1468 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1469 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1471 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1473 'mediawiki.action.edit.styles',
1474 'jquery.textSelection',
1478 'position' => 'top',
1480 'mediawiki.action.edit.styles' => [
1481 'position' => 'top',
1482 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1484 'mediawiki.action.edit.collapsibleFooter' => [
1485 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1486 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1488 'jquery.makeCollapsible',
1493 'mediawiki.action.edit.preview' => [
1494 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1498 'jquery.textSelection',
1500 'mediawiki.diff.styles',
1502 'mediawiki.jqueryMsg',
1505 // Keep the uses message keys in sync with EditPage#setHeaders
1519 'mediawiki.action.history' => [
1520 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1521 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1523 'mediawiki.action.history.styles' => [
1524 'position' => 'top',
1525 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1527 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1528 'mediawiki.action.history.diff' => [
1529 'position' => 'top',
1531 'resources/src/mediawiki/mediawiki.diff.styles.css',
1532 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1536 'targets' => [ 'desktop', 'mobile' ],
1538 'mediawiki.action.view.dblClickEdit' => [
1539 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1542 'mediawiki.page.startup',
1546 'mediawiki.action.view.metadata' => [
1547 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1548 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1551 'metadata-collapse',
1554 'mediawiki.action.view.categoryPage.styles' => [
1555 'position' => 'top',
1556 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1557 'targets' => [ 'desktop', 'mobile' ]
1559 'mediawiki.action.view.postEdit' => [
1561 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1563 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1564 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1567 'mediawiki.jqueryMsg'
1570 'postedit-confirmation-created',
1571 'postedit-confirmation-restored',
1572 'postedit-confirmation-saved',
1575 'mediawiki.action.view.redirect' => [
1576 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1577 'dependencies' => 'jquery.client',
1578 'position' => 'top',
1579 'targets' => [ 'desktop', 'mobile' ],
1581 'mediawiki.action.view.redirectPage' => [
1582 'position' => 'top',
1583 'targets' => [ 'desktop', 'mobile' ],
1584 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1586 'mediawiki.action.view.rightClickEdit' => [
1587 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1589 'mediawiki.action.edit.editWarning' => [
1590 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1592 'jquery.textSelection',
1593 'mediawiki.jqueryMsg',
1594 'mediawiki.confirmCloseWindow',
1598 'editwarning-warning',
1599 // editwarning-warning uses {{int:prefs-editing}}
1603 'mediawiki.action.view.filepage' => [
1605 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1606 [ 'media' => 'print' ],
1607 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1609 'position' => 'top',
1612 /* MediaWiki Language */
1614 'mediawiki.language' => [
1616 'resources/src/mediawiki.language/mediawiki.language.js',
1617 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1618 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1620 'languageScripts' => [
1621 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1622 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1623 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1624 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1625 'he' => 'resources/src/mediawiki.language/languages/he.js',
1626 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1627 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1628 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1629 'la' => 'resources/src/mediawiki.language/languages/la.js',
1630 'os' => 'resources/src/mediawiki.language/languages/os.js',
1631 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1632 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1633 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1636 'mediawiki.language.data',
1639 'targets' => [ 'desktop', 'mobile' ],
1647 'mediawiki.cldr' => [
1648 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1650 'mediawiki.libs.pluralruleparser',
1652 'targets' => [ 'desktop', 'mobile' ],
1655 'mediawiki.libs.pluralruleparser' => [
1656 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1657 'targets' => [ 'desktop', 'mobile' ],
1660 'mediawiki.language.init' => [
1661 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1662 'targets' => [ 'desktop', 'mobile' ],
1665 'mediawiki.jqueryMsg' => [
1666 // Add data for mediawiki.jqueryMsg, such as allowed tags
1667 'class' => 'ResourceLoaderJqueryMsgModule',
1668 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1671 'mediawiki.language',
1675 'targets' => [ 'desktop', 'mobile' ],
1678 'mediawiki.language.months' => [
1679 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1680 'dependencies' => 'mediawiki.language',
1681 'messages' => array_merge(
1682 Language
::$mMonthMsgs,
1683 Language
::$mMonthGenMsgs,
1684 Language
::$mMonthAbbrevMsgs
1688 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1690 'mediawiki.language.specialCharacters' => [
1691 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1694 /* MediaWiki Libs */
1696 'mediawiki.libs.jpegmeta' => [
1697 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1698 'targets' => [ 'desktop', 'mobile' ],
1701 /* MediaWiki Page */
1703 'mediawiki.page.gallery' => [
1704 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1706 'mediawiki.page.gallery.styles',
1707 'jquery.throttle-debounce',
1710 'mediawiki.page.gallery.styles' => [
1712 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1713 'resources/src/mediawiki/page/gallery.css',
1715 'position' => 'top',
1716 'targets' => [ 'desktop', 'mobile' ],
1718 'mediawiki.page.gallery.slideshow' => [
1719 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1720 'position' => 'top',
1727 'oojs-ui.styles.icons-media'
1730 'mediawiki.page.ready' => [
1731 'scripts' => 'resources/src/mediawiki/page/ready.js',
1733 'jquery.accessKeyLabel',
1734 'jquery.checkboxShiftClick',
1735 'jquery.makeCollapsible',
1736 'jquery.placeholder',
1739 'targets' => [ 'desktop', 'mobile' ],
1741 'mediawiki.page.startup' => [
1742 'scripts' => 'resources/src/mediawiki/page/startup.js',
1743 'dependencies' => 'mediawiki.util',
1744 'position' => 'top',
1745 'targets' => [ 'desktop', 'mobile' ],
1747 'mediawiki.page.patrol.ajax' => [
1748 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1750 'mediawiki.page.startup',
1759 'markedaspatrollednotify',
1760 'markedaspatrollederrornotify',
1761 'markedaspatrollederror-noautopatrol'
1764 'mediawiki.page.watch.ajax' => [
1765 'scripts' => 'resources/src/mediawiki/page/watch.js',
1767 'mediawiki.page.startup',
1768 'mediawiki.api.watch',
1771 'jquery.accessKeyLabel',
1780 'tooltip-ca-unwatch',
1784 'mediawiki.page.rollback' => [
1785 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1787 'mediawiki.api.rollback',
1796 'mediawiki.page.image.pagination' => [
1797 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1804 /* MediaWiki Special pages */
1806 'mediawiki.special' => [
1807 'position' => 'top',
1808 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1809 'targets' => [ 'desktop', 'mobile' ],
1811 'mediawiki.special.apisandbox.styles' => [
1812 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1814 'mediawiki.special.apisandbox' => [
1815 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1816 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1819 'mediawiki.jqueryMsg',
1821 'mediawiki.widgets.datetime',
1825 'apisandbox-submit',
1827 'apisandbox-fullscreen',
1828 'apisandbox-fullscreen-tooltip',
1829 'apisandbox-unfullscreen',
1830 'apisandbox-unfullscreen-tooltip',
1832 'apisandbox-loading',
1833 'apisandbox-load-error',
1834 'apisandbox-fetch-token',
1835 'apisandbox-helpurls',
1836 'apisandbox-examples',
1837 'apisandbox-dynamic-parameters',
1838 'apisandbox-dynamic-parameters-add-label',
1839 'apisandbox-dynamic-parameters-add-placeholder',
1840 'apisandbox-dynamic-error-exists',
1841 'apisandbox-deprecated-parameters',
1842 'apisandbox-no-parameters',
1843 'api-help-param-limit',
1844 'api-help-param-limit2',
1845 'api-help-param-integer-min',
1846 'api-help-param-integer-max',
1847 'api-help-param-integer-minmax',
1848 'api-help-param-multi-separate',
1849 'api-help-param-multi-max',
1850 'apisandbox-submit-invalid-fields-title',
1851 'apisandbox-submit-invalid-fields-message',
1852 'apisandbox-results',
1853 'apisandbox-sending-request',
1854 'apisandbox-loading-results',
1855 'apisandbox-results-error',
1856 'apisandbox-request-url-label',
1857 'apisandbox-request-time',
1858 'apisandbox-results-fixtoken',
1859 'apisandbox-results-fixtoken-fail',
1860 'apisandbox-alert-page',
1861 'apisandbox-alert-field',
1865 'mediawiki.special.block' => [
1866 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1867 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1868 'dependencies' => 'mediawiki.util',
1870 'mediawiki.special.changeslist' => [
1871 'position' => 'top',
1872 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1874 'mediawiki.special.changeslist.legend' => [
1875 'position' => 'top',
1876 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1878 'mediawiki.special.changeslist.legend.js' => [
1879 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1881 'jquery.makeCollapsible',
1885 'mediawiki.special.changeslist.enhanced' => [
1886 'position' => 'top',
1887 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1889 'mediawiki.special.changeslist.visitedstatus' => [
1890 'position' => 'top',
1891 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1893 'mediawiki.special.comparepages.styles' => [
1894 'position' => 'top',
1895 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1897 'mediawiki.special.edittags' => [
1898 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1903 'tags-edit-chosen-placeholder',
1904 'tags-edit-chosen-no-results',
1907 'mediawiki.special.edittags.styles' => [
1908 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1909 'position' => 'top',
1911 'mediawiki.special.import' => [
1912 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1914 'mediawiki.special.movePage' => [
1915 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1918 'mediawiki.widgets',
1921 'mediawiki.special.movePage.styles' => [
1922 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1923 'position' => 'top',
1925 'mediawiki.special.pageLanguage' => [
1926 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1931 'mediawiki.special.pagesWithProp' => [
1932 'position' => 'top',
1933 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1935 'mediawiki.special.preferences' => [
1936 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1937 'position' => 'top',
1939 'prefs-tabs-navigation-hint',
1940 'prefswarning-warning',
1945 'mediawiki.language',
1946 'mediawiki.confirmCloseWindow',
1947 'mediawiki.notification.convertmessagebox',
1950 'mediawiki.special.userrights' => [
1951 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
1953 'mediawiki.notification.convertmessagebox',
1956 'mediawiki.special.preferences.styles' => [
1957 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1958 'position' => 'top',
1960 'mediawiki.special.recentchanges' => [
1961 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1962 'position' => 'top',
1964 'mediawiki.special.search' => [
1965 'position' => 'top',
1966 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1967 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1968 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
1970 'powersearch-togglelabel',
1971 'powersearch-toggleall',
1972 'powersearch-togglenone',
1975 'mediawiki.special.search.styles' => [
1976 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
1977 'targets' => [ 'desktop', 'mobile' ],
1979 'mediawiki.special.undelete' => [
1980 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1982 'mediawiki.special.upload' => [
1984 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1986 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1994 'editwarning-warning',
1995 // editwarning-warning uses {{int:prefs-editing}}
1999 'mediawiki.special.upload.styles',
2001 'mediawiki.jqueryMsg',
2003 'mediawiki.libs.jpegmeta',
2006 'mediawiki.confirmCloseWindow',
2010 'mediawiki.special.upload.styles' => [
2011 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2013 'mediawiki.special.userlogin.common.styles' => [
2015 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2017 'position' => 'top',
2019 'mediawiki.special.userlogin.signup.styles' => [
2020 'position' => 'top',
2022 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2025 'mediawiki.special.userlogin.login.styles' => [
2026 'position' => 'top',
2028 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2031 'mediawiki.special.userlogin.signup.js' => [
2032 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2035 'createacct-emailrequired',
2041 'mediawiki.jqueryMsg',
2042 'jquery.throttle-debounce',
2045 'mediawiki.special.unwatchedPages' => [
2046 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2047 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2049 'addedwatchtext-short',
2050 'removedwatchtext-short',
2059 'mediawiki.api.watch',
2065 'mediawiki.special.watchlist' => [
2066 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2068 'mediawiki.special.version' => [
2069 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2072 /* MediaWiki Installer */
2074 // Used in the web installer. Test it after modifying this definition!
2075 'mediawiki.legacy.config' => [
2076 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2077 'scripts' => 'mw-config/config.js',
2078 'styles' => 'mw-config/config.css',
2081 /* MediaWiki Legacy */
2083 'mediawiki.legacy.commonPrint' => [
2084 'position' => 'top',
2086 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2089 'mediawiki.legacy.protect' => [
2090 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2091 'dependencies' => 'jquery.byteLimit',
2092 'messages' => [ 'protect-unchain-permissions' ]
2094 // Used in the web installer. Test it after modifying this definition!
2095 'mediawiki.legacy.shared' => [
2096 'position' => 'top',
2098 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2101 'mediawiki.legacy.oldshared' => [
2102 'position' => 'top',
2104 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2107 'mediawiki.legacy.wikibits' => [
2108 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2109 'dependencies' => 'mediawiki.util',
2110 'position' => 'top',
2111 'targets' => [ 'desktop', 'mobile' ],
2117 'position' => 'top',
2120 'resources/src/mediawiki.ui/default.less',
2123 'targets' => [ 'desktop', 'mobile' ],
2125 'mediawiki.ui.checkbox' => [
2126 'position' => 'top',
2129 'resources/src/mediawiki.ui/components/checkbox.less',
2132 'targets' => [ 'desktop', 'mobile' ],
2134 'mediawiki.ui.radio' => [
2135 'position' => 'top',
2138 'resources/src/mediawiki.ui/components/radio.less',
2141 'targets' => [ 'desktop', 'mobile' ],
2143 // Lightweight module for anchor styles
2144 'mediawiki.ui.anchor' => [
2145 'position' => 'top',
2148 'resources/src/mediawiki.ui/components/anchors.less',
2151 'targets' => [ 'desktop', 'mobile' ],
2153 // Lightweight module for button styles
2154 'mediawiki.ui.button' => [
2155 'position' => 'top',
2158 'resources/src/mediawiki.ui/components/buttons.less',
2161 'targets' => [ 'desktop', 'mobile' ],
2163 'mediawiki.ui.input' => [
2164 'position' => 'top',
2167 'resources/src/mediawiki.ui/components/inputs.less',
2170 'targets' => [ 'desktop', 'mobile' ],
2172 'mediawiki.ui.icon' => [
2173 'position' => 'top',
2176 'resources/src/mediawiki.ui/components/icons.less',
2179 'targets' => [ 'desktop', 'mobile' ],
2181 // Lightweight module for text styles
2182 'mediawiki.ui.text' => [
2183 'position' => 'top',
2186 'resources/src/mediawiki.ui/components/text.less',
2189 'targets' => [ 'desktop', 'mobile' ],
2192 'mediawiki.widgets' => [
2194 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2195 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2196 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2197 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2198 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2199 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2200 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2204 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2209 'mediawiki.widgets.styles',
2214 // TitleOptionWidget
2215 'jquery.autoEllipsis',
2218 // NamespaceInputWidget
2222 'mw-widgets-titleinput-description-new-page',
2223 'mw-widgets-titleinput-description-redirect',
2225 'targets' => [ 'desktop', 'mobile' ],
2227 'mediawiki.widgets.styles' => [
2230 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2231 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2234 'position' => 'top',
2235 'targets' => [ 'desktop', 'mobile' ],
2237 'mediawiki.widgets.DateInputWidget' => [
2239 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2240 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2244 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2245 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2249 'mw-widgets-dateinput-no-date',
2250 'mw-widgets-dateinput-placeholder-day',
2251 'mw-widgets-dateinput-placeholder-month',
2257 'targets' => [ 'desktop', 'mobile' ],
2259 'mediawiki.widgets.datetime' => [
2261 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2262 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2263 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2264 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2265 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2269 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2270 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2320 'targets' => [ 'desktop', 'mobile' ],
2322 'mediawiki.widgets.CategorySelector' => [
2324 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2325 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2330 'mediawiki.ForeignApi',
2336 'targets' => [ 'desktop', 'mobile' ],
2338 'mediawiki.widgets.UserInputWidget' => [
2340 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2345 'targets' => [ 'desktop', 'mobile' ],
2347 'mediawiki.widgets.SearchInputWidget' => [
2349 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2352 'mediawiki.searchSuggest',
2353 // FIXME: Needs TitleInputWidget only
2354 'mediawiki.widgets',
2357 'mediawiki.widgets.SearchInputWidget.styles' => [
2360 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2363 'position' => 'top',
2364 'targets' => [ 'desktop', 'mobile' ],
2366 'mediawiki.widgets.StashedFileWidget' => [
2368 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2372 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2382 'resources/lib/es5-shim/es5-shim.js',
2383 'resources/src/polyfill-object-create.js',
2385 'targets' => [ 'desktop', 'mobile' ],
2386 'skipFunction' => 'resources/src/es5-skip.js',
2389 /* dom-level2-shim */
2391 'dom-level2-shim' => [
2392 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2393 'targets' => [ 'desktop', 'mobile' ],
2394 'skipFunction' => 'resources/src/dom-level2-skip.js',
2400 'resources/lib/oojs/oojs.jquery.js',
2401 'resources/src/oojs-global.js',
2403 'targets' => [ 'desktop', 'mobile' ],
2410 'mediawiki.router' => [
2412 'resources/src/mediawiki.router/index.js',
2414 'targets' => [ 'desktop', 'mobile' ],
2422 'resources/lib/oojs-router/oojs-router.js',
2424 'targets' => [ 'desktop', 'mobile' ],
2431 // @see ResourcesOOUI.php