bdf95a7d85051ee16b3257448e9e98e84b3978b7
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' ],
37 'class' => 'ResourceLoaderWikiModule',
38 'styles' => [ 'MediaWiki:Noscript.css' ],
39 'group' => 'noscript',
43 'class' => 'ResourceLoaderWikiModule',
44 'styles' => [ 'MediaWiki:Filepage.css' ],
46 'user.groups' => [ 'class' => 'ResourceLoaderUserGroupsModule' ],
48 // Scripts managed by the current user (stored in their user space)
49 'user' => [ 'class' => 'ResourceLoaderUserModule' ],
51 // Scripts generated based on the current user's preferences
52 'user.cssprefs' => [ 'class' => 'ResourceLoaderUserCSSPrefsModule' ],
54 // Populate mediawiki.user placeholders with information about the current user
55 'user.defaults' => [ 'class' => 'ResourceLoaderUserDefaultsModule' ],
56 'user.options' => [ 'class' => 'ResourceLoaderUserOptionsModule' ],
57 'user.tokens' => [ 'class' => 'ResourceLoaderUserTokensModule' ],
59 // Scripts for the dynamic language specific data, like grammar forms.
60 'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
62 /* MediaWiki base skinning modules */
65 * Common skin styles, grouped into three graded levels.
68 * The base level that only contains the most basic of common skin styles.
69 * Only styles for single elements are included, no styling for complex structures like the
70 * TOC is present. This level is for skins that want to implement the entire style of even
71 * content area structures like the TOC themselves.
74 * The most commonly used level for skins implemented from scratch. This level includes all
75 * the single element styles from "elements" as well as styles for complex structures such
76 * as the TOC that are output in the content area by MediaWiki rather than the skin.
77 * Essentially this is the common level that lets skins leave the style of the content area
78 * as it is normally styled, while leaving the rest of the skin up to the skin
81 * Level 3 "interface":
82 * The highest level, this stylesheet contains extra common styles for classes like
83 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
84 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
85 * common to MonoBook clones. And since practically every skin that currently exists within
86 * core is a MonoBook clone, all our core skins currently use this level.
88 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
89 * dependency management. As a result they contain duplicate stylesheet references instead of
90 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
91 * including more than one of them into your skin as this will result in duplicate CSS.
93 'mediawiki.skinning.elements' => [
96 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
99 'mediawiki.skinning.content' => [
102 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
103 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
106 // Used in the web installer. Test it after modifying this definition!
107 'mediawiki.skinning.interface' => [
109 'class' => 'ResourceLoaderSkinModule',
111 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
112 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
113 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
117 'mediawiki.skinning.content.parsoid' => [
119 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
120 // with the interface.css styles; skinStyles should be used if your
121 // skin over-rides common content styling.
123 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
125 'targets' => [ 'desktop', 'mobile' ],
128 'mediawiki.skinning.content.externallinks' => [
129 'position' => 'bottom',
131 'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
139 'resources/lib/jquery/jquery.js',
142 'targets' => [ 'desktop', 'mobile' ],
147 'jquery.accessKeyLabel' => [
148 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
153 'messages' => [ 'brackets', 'word-separator' ],
154 'targets' => [ 'mobile', 'desktop' ],
157 'scripts' => 'resources/lib/jquery/jquery.appear.js',
159 'jquery.arrowSteps' => [
160 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
161 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
164 'scripts' => 'resources/lib/jquery/jquery.async.js',
166 'jquery.autoEllipsis' => [
167 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
168 'dependencies' => 'jquery.highlightText',
169 'targets' => [ 'desktop', 'mobile' ],
172 'scripts' => 'resources/src/jquery/jquery.badge.js',
173 'styles' => 'resources/src/jquery/jquery.badge.css',
174 'dependencies' => 'mediawiki.language',
176 'jquery.byteLength' => [
177 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
178 'targets' => [ 'desktop', 'mobile' ],
180 'jquery.byteLimit' => [
181 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
182 'dependencies' => 'jquery.byteLength',
183 'targets' => [ 'desktop', 'mobile' ],
185 'jquery.checkboxShiftClick' => [
186 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
187 'targets' => [ 'desktop', 'mobile' ],
190 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
191 'styles' => 'resources/lib/jquery.chosen/chosen.css',
194 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
195 'targets' => [ 'desktop', 'mobile' ],
198 'scripts' => 'resources/src/jquery/jquery.color.js',
199 'dependencies' => 'jquery.colorUtil',
201 'jquery.colorUtil' => [
202 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
204 'jquery.confirmable' => [
206 'resources/src/jquery/jquery.confirmable.js',
207 'resources/src/jquery/jquery.confirmable.mediawiki.js',
210 'confirmable-confirm',
215 'styles' => 'resources/src/jquery/jquery.confirmable.css',
216 'dependencies' => 'mediawiki.jqueryMsg',
219 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
220 'targets' => [ 'desktop', 'mobile' ],
222 'jquery.expandableField' => [
223 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
225 'jquery.farbtastic' => [
226 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
227 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
228 'dependencies' => 'jquery.colorUtil',
230 'jquery.footHovzer' => [
231 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
232 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
235 'scripts' => 'resources/lib/jquery/jquery.form.js',
237 'jquery.fullscreen' => [
238 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
240 'jquery.getAttrs' => [
241 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
242 'targets' => [ 'desktop', 'mobile' ],
245 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
246 'targets' => [ 'desktop', 'mobile' ],
248 'jquery.highlightText' => [
249 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
254 'targets' => [ 'desktop', 'mobile' ],
256 'jquery.hoverIntent' => [
257 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
261 'resources/lib/jquery.i18n/src/jquery.i18n.js',
262 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
263 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
264 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
265 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
267 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
269 'dependencies' => 'mediawiki.libs.pluralruleparser',
270 'languageScripts' => [
271 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
272 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
273 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
274 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
275 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
276 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
277 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
278 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
279 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
280 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
281 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
282 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
283 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
284 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
286 'targets' => [ 'desktop', 'mobile' ],
288 'jquery.localize' => [
289 'scripts' => 'resources/src/jquery/jquery.localize.js',
291 'jquery.makeCollapsible' => [
292 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
293 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
294 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
295 'targets' => [ 'desktop', 'mobile' ],
297 'jquery.mockjax' => [
298 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
300 'jquery.mw-jump' => [
301 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
302 'targets' => [ 'desktop', 'mobile' ],
304 'jquery.mwExtension' => [
305 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
306 'targets' => [ 'desktop', 'mobile' ],
308 'jquery.placeholder' => [
309 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
310 'targets' => [ 'desktop', 'mobile' ],
313 'scripts' => 'resources/lib/qunitjs/qunit.js',
314 'styles' => 'resources/lib/qunitjs/qunit.css',
316 'targets' => [ 'desktop', 'mobile' ],
318 'jquery.qunit.completenessTest' => [
319 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
320 'dependencies' => 'jquery.qunit',
321 'targets' => [ 'desktop', 'mobile' ],
323 'jquery.spinner' => [
324 'scripts' => 'resources/src/jquery/jquery.spinner.js',
325 'styles' => 'resources/src/jquery/jquery.spinner.css',
327 'jquery.jStorage' => [
328 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
329 'dependencies' => 'json',
331 'jquery.suggestions' => [
332 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
333 'styles' => 'resources/src/jquery/jquery.suggestions.css',
334 'dependencies' => 'jquery.highlightText',
336 'jquery.tabIndex' => [
337 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
339 'jquery.tablesorter' => [
340 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
341 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
342 'messages' => [ 'sort-descending', 'sort-ascending' ],
346 'mediawiki.language.months',
349 'jquery.textSelection' => [
350 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
351 'dependencies' => 'jquery.client',
352 'targets' => [ 'mobile', 'desktop' ],
354 'jquery.throttle-debounce' => [
355 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
356 'targets' => [ 'desktop', 'mobile' ],
359 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
365 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
366 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
371 'jquery.ui.core' => [
372 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
374 'jquery.ui.core.styles',
376 'group' => 'jquery.ui',
378 'jquery.ui.core.styles' => [
382 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
383 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
386 'group' => 'jquery.ui',
388 'jquery.ui.accordion' => [
389 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
395 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
397 'group' => 'jquery.ui',
399 'jquery.ui.autocomplete' => [
400 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
404 'jquery.ui.position',
408 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
410 'group' => 'jquery.ui',
412 'jquery.ui.button' => [
413 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
419 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
421 'group' => 'jquery.ui',
423 'jquery.ui.datepicker' => [
424 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
425 'dependencies' => 'jquery.ui.core',
427 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
429 'languageScripts' => [
430 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
431 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
432 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
433 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
434 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
435 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
436 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
437 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
438 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
439 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
440 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
441 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
442 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
443 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
444 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
445 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
446 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
447 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
448 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
449 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
450 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
451 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
452 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
453 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
454 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
455 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
456 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
457 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
458 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
459 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
460 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
461 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
462 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
463 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
464 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
465 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
466 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
467 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
468 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
469 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
470 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
471 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
472 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
473 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
474 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
475 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
476 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
477 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
478 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
479 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
480 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
481 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
482 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
483 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
484 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
485 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
486 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
487 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
488 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
489 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
490 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
491 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
492 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
493 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
494 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
495 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
496 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
498 'group' => 'jquery.ui',
500 'jquery.ui.dialog' => [
501 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
506 'jquery.ui.draggable',
508 'jquery.ui.position',
509 'jquery.ui.resizable',
512 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
514 'group' => 'jquery.ui',
516 'jquery.ui.draggable' => [
517 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
523 'group' => 'jquery.ui',
525 'jquery.ui.droppable' => [
526 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
531 'jquery.ui.draggable',
533 'group' => 'jquery.ui',
535 'jquery.ui.menu' => [
536 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
540 'jquery.ui.position',
543 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
545 'group' => 'jquery.ui',
547 'jquery.ui.mouse' => [
548 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
549 'dependencies' => 'jquery.ui.widget',
550 'group' => 'jquery.ui',
552 'jquery.ui.position' => [
553 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
554 'group' => 'jquery.ui',
556 'jquery.ui.progressbar' => [
557 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
563 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
565 'group' => 'jquery.ui',
567 'jquery.ui.resizable' => [
568 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
575 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
577 'group' => 'jquery.ui',
579 'jquery.ui.selectable' => [
580 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
587 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
589 'group' => 'jquery.ui',
591 'jquery.ui.slider' => [
592 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
599 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
601 'group' => 'jquery.ui',
603 'jquery.ui.sortable' => [
604 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
610 'group' => 'jquery.ui',
612 'jquery.ui.spinner' => [
613 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
620 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
622 'group' => 'jquery.ui',
624 'jquery.ui.tabs' => [
625 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
631 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
633 'group' => 'jquery.ui',
635 'jquery.ui.tooltip' => [
636 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
640 'jquery.ui.position',
643 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
645 'group' => 'jquery.ui',
647 'jquery.ui.widget' => [
648 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
649 'group' => 'jquery.ui',
652 'jquery.effects.core' => [
653 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
654 'group' => 'jquery.ui',
656 'jquery.effects.blind' => [
657 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
658 'dependencies' => 'jquery.effects.core',
659 'group' => 'jquery.ui',
661 'jquery.effects.bounce' => [
662 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
663 'dependencies' => 'jquery.effects.core',
664 'group' => 'jquery.ui',
666 'jquery.effects.clip' => [
667 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
668 'dependencies' => 'jquery.effects.core',
669 'group' => 'jquery.ui',
671 'jquery.effects.drop' => [
672 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
673 'dependencies' => 'jquery.effects.core',
674 'group' => 'jquery.ui',
676 'jquery.effects.explode' => [
677 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
678 'dependencies' => 'jquery.effects.core',
679 'group' => 'jquery.ui',
681 'jquery.effects.fade' => [
682 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
683 'dependencies' => 'jquery.effects.core',
684 'group' => 'jquery.ui',
686 'jquery.effects.fold' => [
687 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
688 'dependencies' => 'jquery.effects.core',
689 'group' => 'jquery.ui',
691 'jquery.effects.highlight' => [
692 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
693 'dependencies' => 'jquery.effects.core',
694 'group' => 'jquery.ui',
696 'jquery.effects.pulsate' => [
697 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
698 'dependencies' => 'jquery.effects.core',
699 'group' => 'jquery.ui',
701 'jquery.effects.scale' => [
702 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
703 'dependencies' => 'jquery.effects.core',
704 'group' => 'jquery.ui',
706 'jquery.effects.shake' => [
707 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
708 'dependencies' => 'jquery.effects.core',
709 'group' => 'jquery.ui',
711 'jquery.effects.slide' => [
712 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
713 'dependencies' => 'jquery.effects.core',
714 'group' => 'jquery.ui',
716 'jquery.effects.transfer' => [
717 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
718 'dependencies' => 'jquery.effects.core',
719 'group' => 'jquery.ui',
725 'scripts' => 'resources/lib/json2/json2.js',
726 'targets' => [ 'desktop', 'mobile' ],
727 'skipFunction' => 'resources/src/json-skip.js',
734 'resources/lib/moment/moment.js',
735 'resources/src/moment-local-dmy.js',
737 'languageScripts' => [
738 'af' => 'resources/lib/moment/locale/af.js',
739 'ar' => 'resources/lib/moment/locale/ar.js',
740 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
741 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
742 'az' => 'resources/lib/moment/locale/az.js',
743 'be' => 'resources/lib/moment/locale/be.js',
744 'bg' => 'resources/lib/moment/locale/bg.js',
745 'bn' => 'resources/lib/moment/locale/bn.js',
746 'bo' => 'resources/lib/moment/locale/bo.js',
747 'br' => 'resources/lib/moment/locale/br.js',
748 'bs' => 'resources/lib/moment/locale/bs.js',
749 'ca' => 'resources/lib/moment/locale/ca.js',
750 'cs' => 'resources/lib/moment/locale/cs.js',
751 'cv' => 'resources/lib/moment/locale/cv.js',
752 'cy' => 'resources/lib/moment/locale/cy.js',
753 'da' => 'resources/lib/moment/locale/da.js',
754 'de' => 'resources/lib/moment/locale/de.js',
755 'de-at' => 'resources/lib/moment/locale/de-at.js',
756 'el' => 'resources/lib/moment/locale/el.js',
757 'en-au' => 'resources/lib/moment/locale/en-au.js',
758 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
759 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
760 'eo' => 'resources/lib/moment/locale/eo.js',
761 'es' => 'resources/lib/moment/locale/es.js',
762 'et' => 'resources/lib/moment/locale/et.js',
763 'eu' => 'resources/lib/moment/locale/eu.js',
764 'fa' => 'resources/lib/moment/locale/fa.js',
765 'fi' => 'resources/lib/moment/locale/fi.js',
766 'fo' => 'resources/lib/moment/locale/fo.js',
767 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
768 'fr' => 'resources/lib/moment/locale/fr.js',
769 'gl' => 'resources/lib/moment/locale/gl.js',
770 'he' => 'resources/lib/moment/locale/he.js',
771 'hi' => 'resources/lib/moment/locale/hi.js',
772 'hr' => 'resources/lib/moment/locale/hr.js',
773 'hu' => 'resources/lib/moment/locale/hu.js',
774 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
775 'id' => 'resources/lib/moment/locale/id.js',
776 'is' => 'resources/lib/moment/locale/is.js',
777 'it' => 'resources/lib/moment/locale/it.js',
778 'ja' => 'resources/lib/moment/locale/ja.js',
779 'ka' => 'resources/lib/moment/locale/ka.js',
780 'ko' => 'resources/lib/moment/locale/ko.js',
781 'lt' => 'resources/lib/moment/locale/lt.js',
782 'lv' => 'resources/lib/moment/locale/lv.js',
783 'mk' => 'resources/lib/moment/locale/mk.js',
784 'ml' => 'resources/lib/moment/locale/ml.js',
785 'mr' => 'resources/lib/moment/locale/mr.js',
786 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
787 'my' => 'resources/lib/moment/locale/my.js',
788 'nb' => 'resources/lib/moment/locale/nb.js',
789 'ne' => 'resources/lib/moment/locale/ne.js',
790 'nl' => 'resources/lib/moment/locale/nl.js',
791 'nn' => 'resources/lib/moment/locale/nn.js',
792 'pl' => 'resources/lib/moment/locale/pl.js',
793 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
794 'pt' => 'resources/lib/moment/locale/pt.js',
795 'ro' => 'resources/lib/moment/locale/ro.js',
796 'ru' => 'resources/lib/moment/locale/ru.js',
797 'sk' => 'resources/lib/moment/locale/sk.js',
798 'sl' => 'resources/lib/moment/locale/sl.js',
799 'sq' => 'resources/lib/moment/locale/sq.js',
800 'sr' => 'resources/lib/moment/locale/sr.js',
801 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
802 'sv' => 'resources/lib/moment/locale/sv.js',
803 'ta' => 'resources/lib/moment/locale/ta.js',
804 'th' => 'resources/lib/moment/locale/th.js',
805 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
806 'tr' => 'resources/lib/moment/locale/tr.js',
807 'tzm' => 'resources/lib/moment/locale/tzm.js',
808 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
809 'uk' => 'resources/lib/moment/locale/uk.js',
810 'uz' => 'resources/lib/moment/locale/uz.js',
811 'vi' => 'resources/lib/moment/locale/vi.js',
812 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
813 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
815 'targets' => [ 'desktop', 'mobile' ],
821 'class' => 'ResourceLoaderRawFileModule',
822 // Keep in sync with maintenance/jsduck/eg-iframe.html
824 'resources/lib/phpjs-sha1/sha1.js',
825 'resources/src/mediawiki/mediawiki.js',
826 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
827 'resources/src/mediawiki/mediawiki.errorLogger.js',
829 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
830 'targets' => [ 'desktop', 'mobile' ],
832 'mediawiki.apihelp' => [
833 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
834 'targets' => [ 'desktop' ],
837 'mediawiki.template' => [
838 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
839 'targets' => [ 'desktop', 'mobile' ],
841 'mediawiki.template.mustache' => [
843 'resources/lib/mustache/mustache.js',
844 'resources/src/mediawiki/mediawiki.template.mustache.js',
846 'targets' => [ 'desktop', 'mobile' ],
847 'dependencies' => 'mediawiki.template',
849 'mediawiki.template.regexp' => [
850 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
851 'targets' => [ 'desktop', 'mobile' ],
852 'dependencies' => 'mediawiki.template',
854 'mediawiki.apipretty' => [
855 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
856 'targets' => [ 'desktop', 'mobile' ],
860 'scripts' => 'resources/src/mediawiki/api.js',
865 'targets' => [ 'desktop', 'mobile' ],
867 'mediawiki.api.category' => [
868 'scripts' => 'resources/src/mediawiki/api/category.js',
874 'mediawiki.api.edit' => [
875 'scripts' => 'resources/src/mediawiki/api/edit.js',
880 'targets' => [ 'desktop', 'mobile' ],
882 'mediawiki.api.login' => [
883 'scripts' => 'resources/src/mediawiki/api/login.js',
884 'dependencies' => 'mediawiki.api',
886 'mediawiki.api.options' => [
887 'scripts' => 'resources/src/mediawiki/api/options.js',
888 'dependencies' => 'mediawiki.api',
889 'targets' => [ 'desktop', 'mobile' ],
891 'mediawiki.api.parse' => [
892 'scripts' => 'resources/src/mediawiki/api/parse.js',
893 'dependencies' => 'mediawiki.api',
894 'targets' => [ 'desktop', 'mobile' ],
896 'mediawiki.api.upload' => [
897 'scripts' => 'resources/src/mediawiki/api/upload.js',
901 'mediawiki.api.edit',
905 'mediawiki.api.user' => [
906 'scripts' => 'resources/src/mediawiki/api/user.js',
910 'targets' => [ 'desktop', 'mobile' ],
912 'mediawiki.api.watch' => [
913 'scripts' => 'resources/src/mediawiki/api/watch.js',
918 'mediawiki.api.messages' => [
919 'scripts' => 'resources/src/mediawiki/api/messages.js',
924 'mediawiki.content.json' => [
926 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
928 'mediawiki.confirmCloseWindow' => [
930 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
932 'targets' => [ 'desktop', 'mobile' ],
934 'mediawiki.debug' => [
936 'resources/src/mediawiki/mediawiki.debug.js',
939 'resources/src/mediawiki/mediawiki.debug.less',
945 'position' => 'bottom',
947 'mediawiki.debug.init' => [
948 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
949 'dependencies' => 'mediawiki.debug',
950 // Uses a custom mw.config variable that is set in debughtml,
951 // must be loaded on the bottom
952 'position' => 'bottom',
954 'mediawiki.feedback' => [
955 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
956 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
958 'mediawiki.messagePoster',
967 'feedback-dialog-intro',
968 'feedback-external-bug-report-button',
970 'feedback-bugornote',
973 'feedback-dialog-title',
974 'feedback-error-title',
983 'feedback-termsofuse',
985 'feedback-thanks-title',
989 'mediawiki.feedlink' => [
991 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
993 'mediawiki.filewarning' => [
994 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
995 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1000 'mediawiki.ForeignApi' => [
1001 'targets' => [ 'desktop', 'mobile' ],
1002 'class' => 'ResourceLoaderForeignApiModule',
1003 // Additional dependencies generated dynamically
1004 'dependencies' => 'mediawiki.ForeignApi.core',
1006 'mediawiki.ForeignApi.core' => [
1007 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1012 'targets' => [ 'desktop', 'mobile' ],
1014 'mediawiki.helplink' => [
1015 'position' => 'top',
1017 'resources/src/mediawiki/mediawiki.helplink.less',
1019 'targets' => [ 'desktop', 'mobile' ],
1021 'mediawiki.hidpi' => [
1022 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1023 'dependencies' => 'jquery.hidpi',
1024 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1025 'targets' => [ 'desktop', 'mobile' ],
1027 'mediawiki.hlist' => [
1028 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1030 'mediawiki.htmlform' => [
1031 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
1037 'htmlform-chosen-placeholder',
1038 // @todo Load this message in content language
1042 'mediawiki.htmlform.styles' => [
1043 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.css',
1044 'position' => 'top',
1046 'mediawiki.htmlform.ooui.styles' => [
1047 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.css',
1048 'position' => 'top',
1050 'mediawiki.icon' => [
1051 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1053 'mediawiki.inspect' => [
1054 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1056 'jquery.byteLength',
1060 'targets' => [ 'desktop', 'mobile' ],
1062 'mediawiki.messagePoster' => [
1064 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1065 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1070 'mediawiki.ForeignApi',
1072 'targets' => [ 'desktop', 'mobile' ],
1074 'mediawiki.messagePoster.wikitext' => [
1076 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1079 'mediawiki.api.edit',
1080 'mediawiki.messagePoster',
1082 'targets' => [ 'desktop', 'mobile' ],
1084 'mediawiki.notification' => [
1086 'resources/src/mediawiki/mediawiki.notification.common.css',
1087 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
1088 => [ 'media' => 'print' ],
1091 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1093 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1094 'dependencies' => 'mediawiki.page.startup',
1095 'targets' => [ 'desktop', 'mobile' ],
1097 'mediawiki.notify' => [
1098 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1099 'targets' => [ 'desktop', 'mobile' ],
1101 'mediawiki.RegExp' => [
1102 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1103 'targets' => [ 'desktop', 'mobile' ],
1105 'mediawiki.pager.tablePager' => [
1106 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1107 'position' => 'top',
1109 'mediawiki.searchSuggest' => [
1110 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1111 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1113 'searchsuggest-search',
1114 'searchsuggest-containing',
1118 'jquery.placeholder',
1119 'jquery.suggestions',
1124 'mediawiki.sectionAnchor' => [
1125 'position' => 'top',
1126 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1127 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1128 'targets' => [ 'desktop', 'mobile' ],
1130 'mediawiki.storage' => [
1131 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1132 'targets' => [ 'desktop', 'mobile' ],
1134 'mediawiki.Title' => [
1135 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1137 'jquery.byteLength',
1140 'targets' => [ 'desktop', 'mobile' ],
1142 'mediawiki.Upload' => [
1143 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1146 'mediawiki.api.upload',
1149 'mediawiki.ForeignUpload' => [
1150 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1152 'mediawiki.ForeignApi',
1157 'uploaddisabledtext',
1158 'upload-foreign-cant-upload',
1161 'mediawiki.ForeignStructuredUpload' => [
1162 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1164 'mediawiki.ForeignUpload',
1167 'mediawiki.Upload.Dialog' => [
1169 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1172 'mediawiki.Upload.BookletLayout',
1175 'upload-dialog-title',
1176 'upload-dialog-button-cancel',
1177 'upload-dialog-button-done',
1178 'upload-dialog-button-save',
1179 'upload-dialog-button-upload',
1182 'mediawiki.Upload.BookletLayout' => [
1184 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1187 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1192 'oojs-ui.styles.icons-content',
1193 'oojs-ui.styles.icons-editing-advanced',
1198 'mediawiki.jqueryMsg',
1201 'upload-form-label-infoform-title',
1202 'upload-form-label-infoform-name',
1203 'upload-form-label-infoform-name-tooltip',
1204 'upload-form-label-infoform-description',
1205 'upload-form-label-infoform-description-tooltip',
1206 'upload-form-label-usage-title',
1207 'upload-form-label-usage-filename',
1208 'api-error-unknownerror',
1209 'api-error-unknown-warning',
1210 'api-error-badaccess-groups',
1211 'api-error-badtoken',
1212 'api-error-copyuploaddisabled',
1213 'api-error-duplicate',
1214 'api-error-duplicate-archive',
1215 'api-error-empty-file',
1216 'api-error-emptypage',
1217 'api-error-fetchfileerror',
1218 'api-error-fileexists-forbidden',
1219 'api-error-fileexists-shared-forbidden',
1220 'api-error-file-too-large',
1221 'api-error-filename-tooshort',
1222 'api-error-filetype-banned',
1223 'api-error-filetype-banned-type',
1224 'api-error-filetype-missing',
1225 'api-error-hookaborted',
1227 'api-error-illegal-filename',
1228 'api-error-internal-error',
1229 'api-error-invalid-file-key',
1230 'api-error-missingparam',
1231 'api-error-missingresult',
1232 'api-error-mustbeloggedin',
1233 'api-error-mustbeposted',
1234 'api-error-noimageinfo',
1235 'api-error-nomodule',
1236 'api-error-ok-but-empty',
1237 'api-error-overwrite',
1238 'api-error-stashfailed',
1239 'api-error-publishfailed',
1240 'api-error-stasherror',
1241 'api-error-stashedfilenotfound',
1242 'api-error-stashpathinvalid',
1243 'api-error-stashfilestorage',
1244 'api-error-stashzerolength',
1245 'api-error-stashnotloggedin',
1246 'api-error-stashwrongowner',
1247 'api-error-stashnosuchfilekey',
1248 'api-error-timeout',
1249 'api-error-unclassified',
1250 'api-error-unknown-code',
1251 'api-error-unknown-error',
1252 'api-error-uploaddisabled',
1253 'api-error-verification-error',
1256 'filename-bad-prefix',
1257 'filename-thumb-name',
1259 'api-error-blacklisted', // HACK
1262 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1263 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1264 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1266 'mediawiki.ForeignStructuredUpload',
1267 'mediawiki.Upload.BookletLayout',
1268 'mediawiki.widgets.CategorySelector',
1269 'mediawiki.widgets.DateInputWidget',
1270 'mediawiki.jqueryMsg',
1272 'mediawiki.libs.jpegmeta',
1275 'foreign-structured-upload-form-label-own-work',
1276 'foreign-structured-upload-form-label-infoform-categories',
1277 'foreign-structured-upload-form-label-infoform-date',
1278 'foreign-structured-upload-form-label-own-work-message-default',
1279 'foreign-structured-upload-form-label-not-own-work-message-default',
1280 'foreign-structured-upload-form-label-not-own-work-local-default',
1281 'foreign-structured-upload-form-label-own-work-message-shared',
1282 'foreign-structured-upload-form-label-not-own-work-message-shared',
1283 'foreign-structured-upload-form-label-not-own-work-local-shared',
1284 'foreign-structured-upload-form-label-own-work-message-local',
1285 'foreign-structured-upload-form-label-not-own-work-message-local',
1286 'foreign-structured-upload-form-label-not-own-work-local-local',
1289 'mediawiki.toc' => [
1290 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1292 'resources/src/mediawiki/mediawiki.toc.css'
1293 => [ 'media' => 'screen' ],
1294 'resources/src/mediawiki/mediawiki.toc.print.css'
1295 => [ 'media' => 'print' ],
1297 'dependencies' => 'mediawiki.cookie',
1298 'messages' => [ 'showtoc', 'hidetoc' ],
1299 'targets' => [ 'desktop', 'mobile' ],
1301 'mediawiki.Uri' => [
1302 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1304 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1305 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1307 'dependencies' => 'mediawiki.util',
1308 'targets' => [ 'desktop', 'mobile' ],
1310 'mediawiki.user' => [
1311 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1315 'mediawiki.api.user',
1319 'targets' => [ 'desktop', 'mobile' ],
1321 'mediawiki.userSuggest' => [
1322 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1324 'jquery.suggestions',
1328 'mediawiki.util' => [
1329 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1331 'jquery.accessKeyLabel',
1335 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
1336 'targets' => [ 'desktop', 'mobile' ],
1338 'mediawiki.viewport' => [
1339 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1340 'position' => 'top',
1341 'targets' => [ 'desktop', 'mobile' ],
1343 'mediawiki.checkboxtoggle' => [
1344 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1345 'position' => 'top',
1347 'mediawiki.checkboxtoggle.styles' => [
1348 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1349 'position' => 'top',
1351 'mediawiki.cookie' => [
1352 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1353 'dependencies' => 'jquery.cookie',
1354 'targets' => [ 'desktop', 'mobile' ],
1356 'mediawiki.toolbar' => [
1357 'class' => 'ResourceLoaderEditToolbarModule',
1358 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1359 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1360 'position' => 'top',
1362 'mediawiki.experiments' => [
1363 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1364 'targets' => [ 'desktop', 'mobile' ],
1366 'mediawiki.raggett' => [
1367 'styles' => 'resources/src/mediawiki/mediawiki.raggett.css',
1368 'targets' => [ 'desktop', 'mobile' ],
1371 /* MediaWiki Action */
1373 'mediawiki.action.edit' => [
1374 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1375 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1377 'mediawiki.action.edit.styles',
1378 'jquery.textSelection',
1381 'position' => 'top',
1383 'mediawiki.action.edit.styles' => [
1384 'position' => 'top',
1385 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1387 'mediawiki.action.edit.collapsibleFooter' => [
1388 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1389 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1391 'jquery.makeCollapsible',
1396 'mediawiki.action.edit.preview' => [
1397 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1401 'jquery.textSelection',
1403 'mediawiki.action.history.diff',
1405 'mediawiki.jqueryMsg',
1408 // Keep the uses message keys in sync with EditPage#setHeaders
1422 'mediawiki.action.edit.stash' => [
1423 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1429 'mediawiki.action.history' => [
1430 'position' => 'top',
1431 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1432 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1434 'mediawiki.action.history.diff' => [
1435 'position' => 'top',
1437 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1438 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => [
1442 'targets' => [ 'desktop', 'mobile' ],
1444 'mediawiki.action.view.dblClickEdit' => [
1445 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1448 'mediawiki.page.startup',
1452 'mediawiki.action.view.metadata' => [
1453 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1454 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1457 'metadata-collapse',
1460 'mediawiki.action.view.categoryPage.styles' => [
1461 'position' => 'top',
1462 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1463 'targets' => [ 'desktop', 'mobile' ]
1465 'mediawiki.action.view.postEdit' => [
1467 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1469 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1470 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1473 'mediawiki.jqueryMsg'
1476 'postedit-confirmation-created',
1477 'postedit-confirmation-restored',
1478 'postedit-confirmation-saved',
1481 'mediawiki.action.view.redirect' => [
1482 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1483 'dependencies' => 'jquery.client',
1484 'position' => 'top',
1485 'targets' => [ 'desktop', 'mobile' ],
1487 'mediawiki.action.view.redirectPage' => [
1488 'position' => 'top',
1489 'targets' => [ 'desktop', 'mobile' ],
1490 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1492 'mediawiki.action.view.rightClickEdit' => [
1493 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1495 'mediawiki.action.edit.editWarning' => [
1496 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1498 'jquery.textSelection',
1499 'mediawiki.jqueryMsg',
1500 'mediawiki.confirmCloseWindow',
1504 'editwarning-warning',
1505 // editwarning-warning uses {{int:prefs-editing}}
1509 'mediawiki.action.view.filepage' => [
1511 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1512 [ 'media' => 'print' ],
1513 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1515 'position' => 'top',
1518 /* MediaWiki Language */
1520 'mediawiki.language' => [
1522 'resources/src/mediawiki.language/mediawiki.language.js',
1523 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1524 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1526 'languageScripts' => [
1527 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1528 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1529 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1530 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1531 'he' => 'resources/src/mediawiki.language/languages/he.js',
1532 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1533 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1534 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1535 'la' => 'resources/src/mediawiki.language/languages/la.js',
1536 'os' => 'resources/src/mediawiki.language/languages/os.js',
1537 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1538 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1539 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1542 'mediawiki.language.data',
1545 'targets' => [ 'desktop', 'mobile' ],
1553 'mediawiki.cldr' => [
1554 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1556 'mediawiki.libs.pluralruleparser',
1558 'targets' => [ 'desktop', 'mobile' ],
1561 'mediawiki.libs.pluralruleparser' => [
1562 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1563 'targets' => [ 'desktop', 'mobile' ],
1566 'mediawiki.language.init' => [
1567 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1568 'targets' => [ 'desktop', 'mobile' ],
1571 'mediawiki.jqueryMsg' => [
1572 // Add data for mediawiki.jqueryMsg, such as allowed tags
1573 'class' => 'ResourceLoaderJqueryMsgModule',
1574 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1577 'mediawiki.language',
1581 'targets' => [ 'desktop', 'mobile' ],
1584 'mediawiki.language.months' => [
1585 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1586 'dependencies' => 'mediawiki.language',
1587 'messages' => array_merge(
1588 Language
::$mMonthMsgs,
1589 Language
::$mMonthGenMsgs,
1590 Language
::$mMonthAbbrevMsgs
1594 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1596 'mediawiki.language.specialCharacters' => [
1597 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1600 /* MediaWiki Libs */
1602 'mediawiki.libs.jpegmeta' => [
1603 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1606 /* MediaWiki Page */
1608 'mediawiki.page.gallery' => [
1609 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1611 'mediawiki.page.gallery.styles',
1612 'jquery.throttle-debounce',
1615 'mediawiki.page.gallery.styles' => [
1617 'resources/src/mediawiki/page/gallery-print.css' => [ 'media' => 'print' ],
1618 'resources/src/mediawiki/page/gallery.css',
1620 'position' => 'top',
1621 'targets' => [ 'desktop', 'mobile' ],
1623 'mediawiki.page.ready' => [
1624 'scripts' => 'resources/src/mediawiki/page/ready.js',
1626 'jquery.accessKeyLabel',
1627 'jquery.checkboxShiftClick',
1628 'jquery.makeCollapsible',
1629 'jquery.placeholder',
1632 'targets' => [ 'desktop', 'mobile' ],
1634 'mediawiki.page.startup' => [
1635 'scripts' => 'resources/src/mediawiki/page/startup.js',
1636 'dependencies' => 'mediawiki.util',
1637 'position' => 'top',
1638 'targets' => [ 'desktop', 'mobile' ],
1640 'mediawiki.page.patrol.ajax' => [
1641 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1643 'mediawiki.page.startup',
1652 'markedaspatrollednotify',
1653 'markedaspatrollederrornotify',
1654 'markedaspatrollederror-noautopatrol'
1657 'mediawiki.page.watch.ajax' => [
1658 'scripts' => 'resources/src/mediawiki/page/watch.js',
1660 'mediawiki.page.startup',
1661 'mediawiki.api.watch',
1664 'jquery.accessKeyLabel',
1673 'tooltip-ca-unwatch',
1677 'mediawiki.page.image.pagination' => [
1678 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1686 /* MediaWiki Special pages */
1688 'mediawiki.special' => [
1689 'position' => 'top',
1690 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1691 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1692 'targets' => [ 'desktop', 'mobile' ],
1694 'mediawiki.special.apisandbox.styles' => [
1695 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1697 'mediawiki.special.apisandbox' => [
1698 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1699 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1701 'mediawiki.special',
1703 'mediawiki.jqueryMsg',
1705 'mediawiki.widgets.datetime',
1709 'apisandbox-submit',
1711 'apisandbox-fullscreen',
1712 'apisandbox-fullscreen-tooltip',
1713 'apisandbox-unfullscreen',
1714 'apisandbox-unfullscreen-tooltip',
1716 'apisandbox-loading',
1717 'apisandbox-load-error',
1718 'apisandbox-fetch-token',
1719 'apisandbox-helpurls',
1720 'apisandbox-examples',
1721 'apisandbox-dynamic-parameters',
1722 'apisandbox-dynamic-parameters-add-label',
1723 'apisandbox-dynamic-parameters-add-placeholder',
1724 'apisandbox-dynamic-error-exists',
1725 'apisandbox-deprecated-parameters',
1726 'apisandbox-no-parameters',
1727 'api-help-param-limit',
1728 'api-help-param-limit2',
1729 'api-help-param-integer-min',
1730 'api-help-param-integer-max',
1731 'api-help-param-integer-minmax',
1732 'api-help-param-multi-separate',
1733 'api-help-param-multi-max',
1734 'apisandbox-submit-invalid-fields-title',
1735 'apisandbox-submit-invalid-fields-message',
1736 'apisandbox-results',
1737 'apisandbox-sending-request',
1738 'apisandbox-loading-results',
1739 'apisandbox-results-error',
1740 'apisandbox-request-url-label',
1741 'apisandbox-request-time',
1742 'apisandbox-results-fixtoken',
1743 'apisandbox-results-fixtoken-fail',
1744 'apisandbox-alert-page',
1745 'apisandbox-alert-field',
1749 'mediawiki.special.block' => [
1750 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1751 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1752 'dependencies' => 'mediawiki.util',
1754 'mediawiki.special.blocklist' => [
1755 'styles' => 'resources/src/mediawiki.special/mediawiki.special.blocklist.css',
1756 'position' => 'top',
1758 'mediawiki.special.changeslist' => [
1759 'position' => 'top',
1760 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1762 'mediawiki.special.changeslist.legend' => [
1763 'position' => 'top',
1764 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1766 'mediawiki.special.changeslist.legend.js' => [
1767 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1769 'jquery.makeCollapsible',
1773 'mediawiki.special.changeslist.enhanced' => [
1774 'position' => 'top',
1775 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1777 'mediawiki.special.changeslist.visitedstatus' => [
1778 'position' => 'top',
1779 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1781 'mediawiki.special.comparepages.styles' => [
1782 'position' => 'top',
1783 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1785 'mediawiki.special.edittags' => [
1786 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1791 'tags-edit-chosen-placeholder',
1792 'tags-edit-chosen-no-results',
1795 'mediawiki.special.edittags.styles' => [
1796 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1797 'position' => 'top',
1799 'mediawiki.special.import' => [
1800 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1802 'mediawiki.special.movePage' => [
1803 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1806 'mediawiki.widgets',
1809 'mediawiki.special.movePage.styles' => [
1810 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1811 'position' => 'top',
1813 'mediawiki.special.pageLanguage' => [
1814 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1819 'mediawiki.special.pagesWithProp' => [
1820 'position' => 'top',
1821 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1823 'mediawiki.special.preferences' => [
1824 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1825 'position' => 'top',
1827 'prefs-tabs-navigation-hint',
1828 'prefswarning-warning',
1833 'mediawiki.language',
1834 'mediawiki.confirmCloseWindow',
1835 'mediawiki.notification',
1838 'mediawiki.special.preferences.styles' => [
1839 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1840 'position' => 'top',
1842 'mediawiki.special.recentchanges' => [
1843 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1844 'dependencies' => 'mediawiki.special',
1845 'position' => 'top',
1847 'mediawiki.special.search' => [
1848 'position' => 'top',
1849 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1850 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1852 'powersearch-togglelabel',
1853 'powersearch-toggleall',
1854 'powersearch-togglenone',
1857 'mediawiki.special.undelete' => [
1858 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1860 'mediawiki.special.upload' => [
1862 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1864 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1872 'editwarning-warning',
1873 // editwarning-warning uses {{int:prefs-editing}}
1878 'mediawiki.jqueryMsg',
1880 'mediawiki.libs.jpegmeta',
1883 'mediawiki.confirmCloseWindow',
1887 'mediawiki.special.userlogin.common.styles' => [
1889 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1891 'position' => 'top',
1893 'mediawiki.special.userlogin.signup.styles' => [
1894 'position' => 'top',
1896 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1899 'mediawiki.special.userlogin.login.styles' => [
1900 'position' => 'top',
1902 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1905 'mediawiki.special.userlogin.signup.js' => [
1906 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1909 'createacct-emailrequired',
1915 'mediawiki.jqueryMsg',
1916 'jquery.throttle-debounce',
1919 'mediawiki.special.unwatchedPages' => [
1920 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1921 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1923 'addedwatchtext-short',
1924 'removedwatchtext-short',
1933 'mediawiki.api.watch',
1939 'mediawiki.special.watchlist' => [
1940 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
1942 'mediawiki.special.version' => [
1943 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1946 /* MediaWiki Installer */
1948 // Used in the web installer. Test it after modifying this definition!
1949 'mediawiki.legacy.config' => [
1950 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1951 'scripts' => 'mw-config/config.js',
1952 'styles' => 'mw-config/config.css',
1955 /* MediaWiki Legacy */
1957 'mediawiki.legacy.commonPrint' => [
1958 'position' => 'top',
1960 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
1963 'mediawiki.legacy.protect' => [
1964 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1965 'dependencies' => 'jquery.byteLimit',
1966 'messages' => [ 'protect-unchain-permissions' ]
1968 // Used in the web installer. Test it after modifying this definition!
1969 'mediawiki.legacy.shared' => [
1970 'position' => 'top',
1972 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
1975 'mediawiki.legacy.oldshared' => [
1976 'position' => 'top',
1978 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
1981 'mediawiki.legacy.wikibits' => [
1982 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1983 'dependencies' => 'mediawiki.util',
1984 'position' => 'top',
1985 'targets' => [ 'desktop', 'mobile' ],
1991 'position' => 'top',
1994 'resources/src/mediawiki.ui/default.less',
1997 'targets' => [ 'desktop', 'mobile' ],
1999 'mediawiki.ui.checkbox' => [
2000 'position' => 'top',
2003 'resources/src/mediawiki.ui/components/checkbox.less',
2006 'targets' => [ 'desktop', 'mobile' ],
2008 'mediawiki.ui.radio' => [
2009 'position' => 'top',
2012 'resources/src/mediawiki.ui/components/radio.less',
2015 'targets' => [ 'desktop', 'mobile' ],
2017 // Lightweight module for anchor styles
2018 'mediawiki.ui.anchor' => [
2019 'position' => 'top',
2022 'resources/src/mediawiki.ui/components/anchors.less',
2025 'targets' => [ 'desktop', 'mobile' ],
2027 // Lightweight module for button styles
2028 'mediawiki.ui.button' => [
2029 'position' => 'top',
2032 'resources/src/mediawiki.ui/components/buttons.less',
2035 'targets' => [ 'desktop', 'mobile' ],
2037 'mediawiki.ui.input' => [
2038 'position' => 'top',
2041 'resources/src/mediawiki.ui/components/inputs.less',
2044 'targets' => [ 'desktop', 'mobile' ],
2046 'mediawiki.ui.icon' => [
2047 'position' => 'top',
2050 'resources/src/mediawiki.ui/components/icons.less',
2053 'targets' => [ 'desktop', 'mobile' ],
2055 // Lightweight module for text styles
2056 'mediawiki.ui.text' => [
2057 'position' => 'top',
2060 'resources/src/mediawiki.ui/components/text.less',
2063 'targets' => [ 'desktop', 'mobile' ],
2066 'mediawiki.widgets' => [
2068 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2069 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2070 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2071 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2072 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2073 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2074 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2078 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2083 'mediawiki.widgets.styles',
2088 // TitleOptionWidget
2089 'jquery.autoEllipsis',
2092 // NamespaceInputWidget
2096 'mw-widgets-titleinput-description-new-page',
2097 'mw-widgets-titleinput-description-redirect',
2099 'targets' => [ 'desktop', 'mobile' ],
2101 'mediawiki.widgets.styles' => [
2104 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2105 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2108 'position' => 'top',
2109 'targets' => [ 'desktop', 'mobile' ],
2111 'mediawiki.widgets.DateInputWidget' => [
2113 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2114 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2118 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2119 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2123 'mw-widgets-dateinput-no-date',
2124 'mw-widgets-dateinput-placeholder-day',
2125 'mw-widgets-dateinput-placeholder-month',
2131 'targets' => [ 'desktop', 'mobile' ],
2133 'mediawiki.widgets.datetime' => [
2135 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2136 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2137 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2138 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2139 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2143 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2144 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2194 'targets' => [ 'desktop', 'mobile' ],
2196 'mediawiki.widgets.CategorySelector' => [
2198 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2199 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2204 'mediawiki.ForeignApi',
2210 'targets' => [ 'desktop', 'mobile' ],
2212 'mediawiki.widgets.UserInputWidget' => [
2214 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2219 'targets' => [ 'desktop', 'mobile' ],
2221 'mediawiki.widgets.SearchInputWidget' => [
2223 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2226 'mediawiki.searchSuggest',
2227 // FIXME: Needs TitleInputWidget only
2228 'mediawiki.widgets',
2231 'mediawiki.widgets.SearchInputWidget.styles' => [
2234 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2237 'position' => 'top',
2238 'targets' => [ 'desktop', 'mobile' ],
2244 'resources/lib/es5-shim/es5-shim.js',
2245 'resources/src/polyfill-object-create.js',
2247 'targets' => [ 'desktop', 'mobile' ],
2248 'skipFunction' => 'resources/src/es5-skip.js',
2251 /* dom-level2-shim */
2253 'dom-level2-shim' => [
2254 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2255 'targets' => [ 'desktop', 'mobile' ],
2256 'skipFunction' => 'resources/src/dom-level2-skip.js',
2262 'resources/lib/oojs/oojs.jquery.js',
2264 'targets' => [ 'desktop', 'mobile' ],
2272 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
2273 // if loaded in browsers that don't support ES5
2274 // @see ResourcesOOUI.php