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.' );
27 global $wgResourceBasePath;
30 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
31 'site' => [ 'class' => ResourceLoaderSiteModule
::class ],
32 'site.styles' => [ 'class' => ResourceLoaderSiteStylesModule
::class ],
34 'class' => ResourceLoaderWikiModule
::class,
35 'styles' => [ 'MediaWiki:Noscript.css' ],
36 'group' => 'noscript',
39 'class' => ResourceLoaderWikiModule
::class,
40 'styles' => [ 'MediaWiki:Filepage.css' ],
43 // Scripts managed by the current user (stored in their user space)
44 'user' => [ 'class' => ResourceLoaderUserModule
::class ],
45 'user.styles' => [ 'class' => ResourceLoaderUserStylesModule
::class ],
47 // Populate mediawiki.user placeholders with information about the current user
48 'user.defaults' => [ 'class' => ResourceLoaderUserDefaultsModule
::class ],
49 'user.options' => [ 'class' => ResourceLoaderUserOptionsModule
::class ],
50 'user.tokens' => [ 'class' => ResourceLoaderUserTokensModule
::class ],
52 /* MediaWiki base skinning modules */
55 * Common skin styles, grouped into three graded levels.
58 * The base level that only contains the most basic of common skin styles.
59 * Only styles for single elements are included, no styling for complex structures like the
60 * TOC is present. This level is for skins that want to implement the entire style of even
61 * content area structures like the TOC themselves.
64 * The most commonly used level for skins implemented from scratch. This level includes all
65 * the single element styles from "elements" as well as styles for complex structures such
66 * as the TOC that are output in the content area by MediaWiki rather than the skin.
67 * Essentially this is the common level that lets skins leave the style of the content area
68 * as it is normally styled, while leaving the rest of the skin up to the skin
71 * Level 3 "interface":
72 * The highest level, this stylesheet contains extra common styles for classes like
73 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
74 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
75 * common to MonoBook clones.
77 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
78 * dependency management. As a result they contain duplicate stylesheet references instead of
79 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
80 * including more than one of them into your skin as this will result in duplicate CSS.
82 'mediawiki.skinning.elements' => [
84 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
87 'mediawiki.skinning.content' => [
89 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
90 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
93 // Used in the web installer. Test it after modifying this definition!
94 'mediawiki.skinning.interface' => [
95 'class' => ResourceLoaderSkinModule
::class,
97 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
98 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
99 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
102 'jquery.makeCollapsible.styles' => [
103 'targets' => [ 'desktop', 'mobile' ],
104 'class' => ResourceLoaderLessVarFileModule
::class,
106 'collapsible-collapse',
107 'collapsible-expand',
110 'resources/src/jquery/jquery.makeCollapsible.styles.less',
114 'mediawiki.skinning.content.parsoid' => [
115 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
116 // with the interface.css styles; skinStyles should be used if your
117 // skin over-rides common content styling.
119 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
121 'targets' => [ 'desktop', 'mobile' ],
124 'mediawiki.skinning.content.externallinks' => [
126 'resources/src/mediawiki.skinning/content.externallinks.less' => [ 'media' => 'screen' ],
131 // These modules' dependencies MUST also be included in StartUpModule::getBaseModules().
132 // These modules' dependencies MUST be dependency-free (having dependencies would cause recursion).
136 'resources/lib/jquery/jquery.js',
137 'resources/lib/jquery/jquery.migrate.js',
139 'targets' => [ 'desktop', 'mobile' ],
141 'mediawiki.base' => [
143 // This MUST be kept in sync with maintenance/jsduck/eg-iframe.html
144 'resources/src/mediawiki.base/mediawiki.errorLogger.js',
145 'resources/src/mediawiki.base/mediawiki.base.js',
147 'dependencies' => 'jquery',
148 'targets' => [ 'desktop', 'mobile' ],
150 'mediawiki.legacy.wikibits' => [
151 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
152 'dependencies' => 'jquery',
153 'targets' => [ 'desktop', 'mobile' ],
158 'jquery.accessKeyLabel' => [
159 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
164 'messages' => [ 'brackets', 'word-separator' ],
165 'targets' => [ 'mobile', 'desktop' ],
167 'jquery.checkboxShiftClick' => [
168 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
169 'targets' => [ 'desktop', 'mobile' ],
172 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
173 'styles' => 'resources/lib/jquery.chosen/chosen.css',
176 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
177 'targets' => [ 'desktop', 'mobile' ],
180 'scripts' => 'resources/src/jquery/jquery.color.js',
181 'dependencies' => 'jquery.colorUtil',
183 'jquery.colorUtil' => [
184 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
186 'jquery.confirmable' => [
188 'resources/src/jquery/jquery.confirmable.js',
189 'resources/src/jquery/jquery.confirmable.mediawiki.js',
192 'confirmable-confirm',
197 'styles' => 'resources/src/jquery/jquery.confirmable.css',
198 'dependencies' => 'mediawiki.jqueryMsg',
201 'scripts' => 'resources/lib/jquery.cookie/jquery.cookie.js',
202 'targets' => [ 'desktop', 'mobile' ],
205 'scripts' => 'resources/lib/jquery.form/jquery.form.js',
207 'jquery.fullscreen' => [
208 'scripts' => 'resources/lib/jquery.fullscreen/jquery.fullscreen.js',
210 'jquery.getAttrs' => [
211 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
212 'targets' => [ 'desktop', 'mobile' ],
214 'jquery.highlightText' => [
215 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
219 'targets' => [ 'desktop', 'mobile' ],
221 'jquery.hoverIntent' => [
222 'scripts' => 'resources/lib/jquery.hoverIntent/jquery.hoverIntent.js',
226 'resources/lib/jquery.i18n/src/jquery.i18n.js',
227 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
228 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
229 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
230 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
231 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
232 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
234 'dependencies' => 'mediawiki.libs.pluralruleparser',
235 'languageScripts' => [
236 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
237 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
238 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
239 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
240 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
241 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
242 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
243 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
244 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
245 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
246 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
247 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
248 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
249 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
251 'targets' => [ 'desktop', 'mobile' ],
253 'jquery.lengthLimit' => [
254 'scripts' => 'resources/src/jquery/jquery.lengthLimit.js',
255 'dependencies' => 'mediawiki.String',
256 'targets' => [ 'desktop', 'mobile' ],
258 'jquery.makeCollapsible' => [
259 'dependencies' => [ 'jquery.makeCollapsible.styles' ],
260 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
261 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
262 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
263 'targets' => [ 'desktop', 'mobile' ],
265 'jquery.mw-jump' => [
266 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
267 'targets' => [ 'desktop', 'mobile' ],
270 'scripts' => 'resources/lib/qunitjs/qunit.js',
271 'styles' => 'resources/lib/qunitjs/qunit.css',
272 'targets' => [ 'desktop', 'mobile' ],
274 'jquery.spinner' => [
275 'scripts' => 'resources/src/jquery.spinner/spinner.js',
276 'styles' => 'resources/src/jquery.spinner/spinner.less',
277 'targets' => [ 'desktop', 'mobile' ],
279 'jquery.jStorage' => [
280 'deprecated' => 'Please use "mediawiki.storage" instead.',
281 'scripts' => 'resources/lib/jquery.jStorage/jstorage.js',
283 'jquery.suggestions' => [
284 'targets' => [ 'desktop', 'mobile' ],
285 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
286 'styles' => 'resources/src/jquery/jquery.suggestions.css',
287 'dependencies' => 'jquery.highlightText',
289 'jquery.tabIndex' => [
290 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
292 'jquery.tablesorter' => [
293 'targets' => [ 'desktop', 'mobile' ],
294 'scripts' => 'resources/src/jquery.tablesorter/jquery.tablesorter.js',
295 'messages' => [ 'sort-descending', 'sort-ascending' ],
297 'jquery.tablesorter.styles',
299 'mediawiki.language.months',
302 'jquery.tablesorter.styles' => [
303 'targets' => [ 'desktop', 'mobile' ],
304 'styles' => 'resources/src/jquery.tablesorter.styles/jquery.tablesorter.styles.less',
306 'jquery.textSelection' => [
307 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
308 'dependencies' => 'jquery.client',
309 'targets' => [ 'mobile', 'desktop' ],
311 'jquery.throttle-debounce' => [
312 'deprecated' => 'Please use OO.ui.throttle/debounce instead. See '
313 . 'https://phabricator.wikimedia.org/T213426',
314 'scripts' => 'resources/lib/jquery.throttle-debounce/jquery.ba-throttle-debounce.js',
315 'targets' => [ 'desktop', 'mobile' ],
321 'deprecated' => true,
322 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
323 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
328 'jquery.ui.core' => [
329 'deprecated' => 'Please use OOUI instead.',
330 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
332 'jquery.ui.core.styles',
334 'group' => 'jquery.ui',
336 'jquery.ui.core.styles' => [
339 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
340 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
343 'group' => 'jquery.ui',
345 'jquery.ui.accordion' => [
346 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
352 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
354 'group' => 'jquery.ui',
356 'jquery.ui.autocomplete' => [
357 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
361 'jquery.ui.position',
365 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
367 'group' => 'jquery.ui',
369 'jquery.ui.button' => [
370 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
376 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
378 'group' => 'jquery.ui',
380 'jquery.ui.datepicker' => [
381 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
382 'dependencies' => 'jquery.ui.core',
384 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
386 'languageScripts' => [
387 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
388 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
389 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
390 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
391 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
392 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
393 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
394 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
395 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
396 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
397 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
398 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
399 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
400 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
401 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
402 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
403 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
404 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
405 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
406 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
407 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
408 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
409 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
410 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
411 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
412 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
413 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
414 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
415 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
416 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
417 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
418 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
419 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
420 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
421 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
422 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
423 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
424 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
425 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
426 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
427 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
428 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
429 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
430 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
431 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
432 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
433 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
434 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
435 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
436 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
437 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
438 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
439 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
440 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
441 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
442 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
443 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
444 'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
445 'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
446 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
447 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
448 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
449 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
450 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
451 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
452 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
453 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
454 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
455 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
457 'group' => 'jquery.ui',
459 'jquery.ui.dialog' => [
460 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
465 'jquery.ui.draggable',
467 'jquery.ui.position',
468 'jquery.ui.resizable',
471 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
473 'group' => 'jquery.ui',
475 'jquery.ui.draggable' => [
476 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
482 'group' => 'jquery.ui',
484 'jquery.ui.droppable' => [
485 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
490 'jquery.ui.draggable',
492 'group' => 'jquery.ui',
494 'jquery.ui.menu' => [
495 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
499 'jquery.ui.position',
502 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
504 'group' => 'jquery.ui',
506 'jquery.ui.mouse' => [
507 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
508 'dependencies' => 'jquery.ui.widget',
509 'group' => 'jquery.ui',
511 'jquery.ui.position' => [
512 'deprecated' => true,
513 'targets' => [ 'mobile', 'desktop' ],
514 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
515 'group' => 'jquery.ui',
517 'jquery.ui.progressbar' => [
518 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
524 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
526 'group' => 'jquery.ui',
528 'jquery.ui.resizable' => [
529 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
536 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
538 'group' => 'jquery.ui',
540 'jquery.ui.selectable' => [
541 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
548 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
550 'group' => 'jquery.ui',
552 'jquery.ui.slider' => [
553 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
560 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
562 'group' => 'jquery.ui',
564 'jquery.ui.sortable' => [
565 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
571 'group' => 'jquery.ui',
573 'jquery.ui.tabs' => [
574 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
580 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
582 'group' => 'jquery.ui',
584 'jquery.ui.tooltip' => [
585 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
589 'jquery.ui.position',
592 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
594 'group' => 'jquery.ui',
596 'jquery.ui.widget' => [
597 'deprecated' => true,
598 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
599 'group' => 'jquery.ui',
600 'targets' => [ 'desktop', 'mobile' ],
603 'jquery.effects.core' => [
604 'deprecated' => true,
605 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
606 'group' => 'jquery.ui',
608 'jquery.effects.blind' => [
609 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
610 'dependencies' => 'jquery.effects.core',
611 'group' => 'jquery.ui',
613 'jquery.effects.clip' => [
614 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
615 'dependencies' => 'jquery.effects.core',
616 'group' => 'jquery.ui',
618 'jquery.effects.drop' => [
619 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
620 'dependencies' => 'jquery.effects.core',
621 'group' => 'jquery.ui',
623 'jquery.effects.highlight' => [
624 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
625 'dependencies' => 'jquery.effects.core',
626 'group' => 'jquery.ui',
628 'jquery.effects.scale' => [
629 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
630 'dependencies' => 'jquery.effects.core',
631 'group' => 'jquery.ui',
633 'jquery.effects.shake' => [
634 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
635 'dependencies' => 'jquery.effects.core',
636 'group' => 'jquery.ui',
643 // HACK: For some reason if you don't define window.moment first, loading moment fatals
644 'resources/src/moment/moment-global.js',
645 'resources/lib/moment/moment.js',
647 'languageScripts' => [
648 'aeb-arab' => 'resources/lib/moment/locale/ar-tn.js',
649 'af' => 'resources/lib/moment/locale/af.js',
650 'ar' => 'resources/lib/moment/locale/ar.js',
651 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
652 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
653 'az' => 'resources/lib/moment/locale/az.js',
654 'be' => 'resources/lib/moment/locale/be.js',
655 'bg' => 'resources/lib/moment/locale/bg.js',
656 'bm' => 'resources/lib/moment/locale/bm.js',
657 'bn' => 'resources/lib/moment/locale/bn.js',
658 'bo' => 'resources/lib/moment/locale/bo.js',
659 'br' => 'resources/lib/moment/locale/br.js',
660 'bs' => 'resources/lib/moment/locale/bs.js',
661 'ca' => 'resources/lib/moment/locale/ca.js',
662 'cs' => 'resources/lib/moment/locale/cs.js',
663 'cv' => 'resources/lib/moment/locale/cv.js',
664 'cy' => 'resources/lib/moment/locale/cy.js',
665 'da' => 'resources/lib/moment/locale/da.js',
666 'de' => 'resources/lib/moment/locale/de.js',
667 'de-at' => 'resources/lib/moment/locale/de-at.js',
668 'de-ch' => 'resources/lib/moment/locale/de-ch.js',
669 'dv' => 'resources/lib/moment/locale/dv.js',
670 'el' => 'resources/lib/moment/locale/el.js',
671 'en' => 'resources/src/moment/moment-dmy.js',
672 'en-au' => 'resources/lib/moment/locale/en-au.js',
673 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
674 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
675 'eo' => 'resources/lib/moment/locale/eo.js',
676 'es' => 'resources/lib/moment/locale/es.js',
677 'et' => 'resources/lib/moment/locale/et.js',
678 'eu' => 'resources/lib/moment/locale/eu.js',
679 'fa' => 'resources/lib/moment/locale/fa.js',
680 'fi' => 'resources/lib/moment/locale/fi.js',
681 'fo' => 'resources/lib/moment/locale/fo.js',
682 'fr' => 'resources/lib/moment/locale/fr.js',
683 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
684 'fy' => 'resources/lib/moment/locale/fy.js',
685 'gd' => 'resources/lib/moment/locale/gd.js',
686 'gl' => 'resources/lib/moment/locale/gl.js',
687 'gom' => 'resources/lib/moment/locale/gom-latn.js',
688 'gom-latn' => 'resources/lib/moment/locale/gom-latn.js',
689 'gu' => 'resources/lib/moment/locale/gu.js',
690 'he' => 'resources/lib/moment/locale/he.js',
691 'hi' => 'resources/lib/moment/locale/hi.js',
692 'hr' => 'resources/lib/moment/locale/hr.js',
693 'hu' => 'resources/lib/moment/locale/hu.js',
694 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
695 'id' => 'resources/lib/moment/locale/id.js',
696 'is' => 'resources/lib/moment/locale/is.js',
697 'it' => 'resources/lib/moment/locale/it.js',
698 'ja' => 'resources/lib/moment/locale/ja.js',
699 'jv' => 'resources/lib/moment/locale/jv.js',
700 'ka' => 'resources/lib/moment/locale/ka.js',
701 'kk-cyrl' => 'resources/lib/moment/locale/kk.js',
702 'kn' => 'resources/lib/moment/locale/kn.js',
703 'ko' => 'resources/lib/moment/locale/ko.js',
704 'ky' => 'resources/lib/moment/locale/ky.js',
705 'lo' => 'resources/lib/moment/locale/lo.js',
706 'lt' => 'resources/lib/moment/locale/lt.js',
707 'lv' => 'resources/lib/moment/locale/lv.js',
708 'mi' => 'resources/lib/moment/locale/mi.js',
709 'mk' => 'resources/lib/moment/locale/mk.js',
710 'ml' => 'resources/lib/moment/locale/ml.js',
711 'mr' => 'resources/lib/moment/locale/mr.js',
712 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
713 'ms' => 'resources/lib/moment/locale/ms.js',
714 'my' => 'resources/lib/moment/locale/my.js',
715 'nb' => 'resources/lib/moment/locale/nb.js',
716 'ne' => 'resources/lib/moment/locale/ne.js',
717 'nl' => 'resources/lib/moment/locale/nl.js',
718 'nn' => 'resources/lib/moment/locale/nn.js',
719 'pa' => 'resources/lib/moment/locale/pa-in.js',
720 'pl' => 'resources/lib/moment/locale/pl.js',
721 'pt' => 'resources/lib/moment/locale/pt.js',
722 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
723 'ro' => 'resources/lib/moment/locale/ro.js',
724 'ru' => 'resources/lib/moment/locale/ru.js',
725 'sd' => 'resources/lib/moment/locale/sd.js',
726 'se' => 'resources/lib/moment/locale/se.js',
727 'si' => 'resources/lib/moment/locale/si.js',
728 'sk' => 'resources/lib/moment/locale/sk.js',
729 'sl' => 'resources/lib/moment/locale/sl.js',
730 'sq' => 'resources/lib/moment/locale/sq.js',
731 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
732 'sr-el' => 'resources/lib/moment/locale/sr.js',
733 'ss' => 'resources/lib/moment/locale/ss.js',
734 'sv' => 'resources/lib/moment/locale/sv.js',
735 'sw' => 'resources/lib/moment/locale/sw.js',
736 'ta' => 'resources/lib/moment/locale/ta.js',
737 'te' => 'resources/lib/moment/locale/te.js',
738 'tet' => 'resources/lib/moment/locale/tet.js',
739 'th' => 'resources/lib/moment/locale/th.js',
740 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
741 'tr' => 'resources/lib/moment/locale/tr.js',
742 'tzm' => 'resources/lib/moment/locale/tzm.js',
743 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
744 'uk' => 'resources/lib/moment/locale/uk.js',
745 'ur' => 'resources/lib/moment/locale/ur.js',
746 'uz' => 'resources/lib/moment/locale/uz.js',
747 'uz-latn' => 'resources/lib/moment/locale/uz-latn.js',
748 'vi' => 'resources/lib/moment/locale/vi.js',
749 'yo' => 'resources/lib/moment/locale/yo.js',
750 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
751 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
752 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
753 'zh-hk' => 'resources/lib/moment/locale/zh-hk.js',
754 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
756 // HACK: skinScripts come after languageScripts, and we need locale overrides to come
757 // after locale definitions
760 'resources/src/moment/moment-locale-overrides.js',
764 'mediawiki.language',
767 'targets' => [ 'desktop', 'mobile' ],
771 'mediawiki.apihelp' => [
772 'styles' => 'resources/src/mediawiki.apihelp.css',
773 'targets' => [ 'desktop' ],
775 'mediawiki.template' => [
776 'scripts' => 'resources/src/mediawiki.template.js',
777 'targets' => [ 'desktop', 'mobile' ],
779 'mediawiki.template.mustache' => [
781 'resources/lib/mustache/mustache.js',
782 'resources/src/mediawiki.template.mustache.js',
784 'targets' => [ 'desktop', 'mobile' ],
785 'dependencies' => 'mediawiki.template',
787 'mediawiki.template.regexp' => [
788 'scripts' => 'resources/src/mediawiki.template.regexp.js',
789 'targets' => [ 'desktop', 'mobile' ],
790 'dependencies' => 'mediawiki.template',
792 'mediawiki.apipretty' => [
793 'styles' => 'resources/src/mediawiki.apipretty.css',
794 'targets' => [ 'desktop', 'mobile' ],
798 'resources/src/mediawiki.api/index.js',
799 'resources/src/mediawiki.api/category.js',
800 'resources/src/mediawiki.api/edit.js',
801 'resources/src/mediawiki.api/login.js',
802 'resources/src/mediawiki.api/messages.js',
803 'resources/src/mediawiki.api/options.js',
804 'resources/src/mediawiki.api/parse.js',
805 'resources/src/mediawiki.api/rollback.js',
806 'resources/src/mediawiki.api/upload.js',
807 'resources/src/mediawiki.api/user.js',
808 'resources/src/mediawiki.api/watch.js',
815 'targets' => [ 'desktop', 'mobile' ],
817 'mediawiki.content.json' => [
818 'styles' => 'resources/src/mediawiki.content.json.less',
819 'targets' => [ 'desktop', 'mobile' ],
821 'mediawiki.confirmCloseWindow' => [
823 'resources/src/mediawiki.confirmCloseWindow.js',
825 'targets' => [ 'desktop', 'mobile' ],
827 'mediawiki.debug' => [
829 'resources/src/mediawiki.debug/jquery.footHovzer.js',
830 'resources/src/mediawiki.debug/debug.js',
833 'resources/src/mediawiki.debug/jquery.footHovzer.css',
834 'resources/src/mediawiki.debug/debug.less',
840 'mediawiki.diff.styles' => [
842 'resources/src/mediawiki.diff.styles/diff.css',
843 'resources/src/mediawiki.diff.styles/print.css' => [
847 'targets' => [ 'desktop', 'mobile' ],
849 'mediawiki.feedback' => [
850 'scripts' => 'resources/src/mediawiki.feedback/feedback.js',
851 'styles' => 'resources/src/mediawiki.feedback/feedback.css',
853 'mediawiki.messagePoster',
862 'feedback-dialog-intro',
863 'feedback-external-bug-report-button',
865 'feedback-bugornote',
868 'feedback-dialog-title',
877 'feedback-termsofuse',
879 'feedback-thanks-title',
882 'targets' => [ 'desktop', 'mobile' ],
884 'mediawiki.feedlink' => [
885 'styles' => 'resources/src/mediawiki.feedlink/feedlink.css',
887 'mediawiki.filewarning' => [
888 'scripts' => 'resources/src/mediawiki.filewarning/filewarning.js',
889 'styles' => 'resources/src/mediawiki.filewarning/filewarning.less',
892 'oojs-ui.styles.icons-alerts',
895 'mediawiki.ForeignApi' => [
896 'targets' => [ 'desktop', 'mobile' ],
897 'class' => ResourceLoaderForeignApiModule
::class,
898 // Additional dependencies generated dynamically
899 'dependencies' => 'mediawiki.ForeignApi.core',
901 'mediawiki.ForeignApi.core' => [
902 'scripts' => 'resources/src/mediawiki.ForeignApi.core.js',
907 'targets' => [ 'desktop', 'mobile' ],
909 'mediawiki.helplink' => [
911 'resources/src/mediawiki.helplink/helplink.less',
913 'targets' => [ 'desktop', 'mobile' ],
915 'mediawiki.hlist' => [
916 'targets' => [ 'desktop', 'mobile' ],
918 'resources/src/mediawiki.hlist/hlist.less',
921 'default' => 'resources/src/mediawiki.hlist/default.css',
924 'mediawiki.htmlform' => [
926 'resources/src/mediawiki.htmlform/htmlform.js',
927 'resources/src/mediawiki.htmlform/autocomplete.js',
928 'resources/src/mediawiki.htmlform/autoinfuse.js',
929 'resources/src/mediawiki.htmlform/checkmatrix.js',
930 'resources/src/mediawiki.htmlform/cloner.js',
931 'resources/src/mediawiki.htmlform/hide-if.js',
932 'resources/src/mediawiki.htmlform/multiselect.js',
933 'resources/src/mediawiki.htmlform/selectandother.js',
934 'resources/src/mediawiki.htmlform/selectorother.js',
938 'jquery.lengthLimit',
941 'htmlform-chosen-placeholder',
942 // @todo Load this message in content language
945 'targets' => [ 'desktop', 'mobile' ],
947 'mediawiki.htmlform.checker' => [
949 'resources/src/mediawiki.htmlform.checker.js',
952 'jquery.throttle-debounce',
954 'targets' => [ 'desktop', 'mobile' ],
956 'mediawiki.htmlform.ooui' => [
958 'resources/src/mediawiki.htmlform.ooui/Element.js',
963 'targets' => [ 'desktop', 'mobile' ],
965 'mediawiki.htmlform.styles' => [
966 'styles' => 'resources/src/mediawiki.htmlform.styles/styles.css',
967 'targets' => [ 'desktop', 'mobile' ],
969 'mediawiki.htmlform.ooui.styles' => [
970 'styles' => 'resources/src/mediawiki.htmlform.ooui.styles.less',
971 'targets' => [ 'desktop', 'mobile' ],
973 'mediawiki.icon' => [
974 'styles' => 'resources/src/mediawiki.icon/icon.less',
975 'targets' => [ 'desktop', 'mobile' ],
977 'mediawiki.inspect' => [
978 'scripts' => 'resources/src/mediawiki.inspect.js',
983 'targets' => [ 'desktop', 'mobile' ],
985 'mediawiki.messagePoster' => [
987 'resources/src/mediawiki.messagePoster/factory.js',
988 'resources/src/mediawiki.messagePoster/MessagePoster.js',
993 'mediawiki.ForeignApi',
995 'targets' => [ 'desktop', 'mobile' ],
997 'mediawiki.messagePoster.wikitext' => [
999 'resources/src/mediawiki.messagePoster.wikitext/WikitextMessagePoster.js',
1003 'mediawiki.messagePoster',
1005 'targets' => [ 'desktop', 'mobile' ],
1007 'mediawiki.notification' => [
1009 'resources/src/mediawiki.notification/common.css',
1010 'resources/src/mediawiki.notification/print.css'
1011 => [ 'media' => 'print' ],
1014 'default' => 'resources/src/mediawiki.notification/default.css',
1016 'scripts' => 'resources/src/mediawiki.notification/notification.js',
1019 'mediawiki.visibleTimeout',
1021 'targets' => [ 'desktop', 'mobile' ],
1023 'mediawiki.notify' => [
1024 'scripts' => 'resources/src/mediawiki.notify.js',
1025 'targets' => [ 'desktop', 'mobile' ],
1027 'mediawiki.notification.convertmessagebox' => [
1028 'scripts' => 'resources/src/mediawiki.notification.convertmessagebox.js',
1030 'mediawiki.notification',
1032 'targets' => [ 'desktop', 'mobile' ],
1034 'mediawiki.notification.convertmessagebox.styles' => [
1036 'resources/src/mediawiki.notification.convertmessagebox.styles.less',
1038 'targets' => [ 'desktop', 'mobile' ],
1040 'mediawiki.RegExp' => [
1041 'scripts' => 'resources/src/mediawiki.RegExp.js',
1042 'targets' => [ 'desktop', 'mobile' ],
1044 'mediawiki.String' => [
1045 'scripts' => 'resources/src/mediawiki.String.js',
1046 'targets' => [ 'desktop', 'mobile' ],
1048 'mediawiki.pager.tablePager' => [
1049 'styles' => 'resources/src/mediawiki.pager.tablePager/TablePager.less',
1051 'mediawiki.pulsatingdot' => [
1053 'resources/src/mediawiki.pulsatingdot/mediawiki.pulsatingdot.less',
1055 'targets' => [ 'desktop', 'mobile' ],
1057 'mediawiki.searchSuggest' => [
1058 'targets' => [ 'desktop', 'mobile' ],
1059 'scripts' => 'resources/src/mediawiki.searchSuggest/searchSuggest.js',
1060 'styles' => 'resources/src/mediawiki.searchSuggest/searchSuggest.css',
1062 'searchsuggest-search',
1063 'searchsuggest-containing',
1066 'jquery.suggestions',
1072 'mediawiki.storage' => [
1073 'scripts' => 'resources/src/mediawiki.storage.js',
1074 'targets' => [ 'desktop', 'mobile' ],
1076 'mediawiki.Title' => [
1077 'localBasePath' => "$IP/resources/src/mediawiki.Title",
1078 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.Title",
1081 'phpCharToUpper.json'
1087 'targets' => [ 'desktop', 'mobile' ],
1089 'mediawiki.Upload' => [
1090 'scripts' => 'resources/src/mediawiki.Upload.js',
1095 'mediawiki.ForeignUpload' => [
1096 'scripts' => 'resources/src/mediawiki.ForeignUpload.js',
1098 'mediawiki.ForeignApi',
1103 'uploaddisabledtext',
1104 'upload-dialog-disabled',
1105 'upload-foreign-cant-upload',
1108 'mediawiki.ForeignStructuredUpload' => [
1109 'localBasePath' => "$IP/resources/src",
1110 'remoteBasePath' => "$wgResourceBasePath/resources/src",
1112 'mediawiki.ForeignStructuredUpload.js',
1113 [ 'name' => 'config.json', 'config' => [ 'UploadDialog' ] ],
1116 'mediawiki.ForeignUpload',
1119 'upload-foreign-cant-load-config',
1122 'mediawiki.Upload.Dialog' => [
1124 'resources/src/mediawiki.Upload.Dialog.js',
1127 'mediawiki.Upload.BookletLayout',
1130 'upload-dialog-title',
1131 'upload-dialog-button-cancel',
1132 'upload-dialog-button-back',
1133 'upload-dialog-button-done',
1134 'upload-dialog-button-save',
1135 'upload-dialog-button-upload',
1138 'mediawiki.Upload.BookletLayout' => [
1140 'resources/src/mediawiki.Upload.BookletLayout/BookletLayout.js',
1143 'resources/src/mediawiki.Upload.BookletLayout/BookletLayout.css',
1149 'oojs-ui.styles.icons-content',
1150 'oojs-ui.styles.icons-editing-advanced',
1155 'mediawiki.jqueryMsg',
1156 'mediawiki.widgets.StashedFileWidget'
1159 'upload-form-label-infoform-title',
1160 'upload-form-label-infoform-name',
1161 'upload-form-label-infoform-name-tooltip',
1162 'upload-form-label-infoform-description',
1163 'upload-form-label-infoform-description-tooltip',
1164 'upload-form-label-usage-title',
1165 'upload-form-label-usage-filename',
1167 'apierror-mustbeloggedin',
1171 'apierror-unknownerror',
1172 'api-error-unknown-warning',
1175 'file-exists-duplicate',
1176 'file-deleted-duplicate',
1177 'filename-bad-prefix',
1178 'filename-thumb-name',
1181 'protectedpagetext',
1184 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1185 'scripts' => 'resources/src/mediawiki.ForeignStructuredUpload.BookletLayout/BookletLayout.js',
1187 'mediawiki.ForeignStructuredUpload',
1188 'mediawiki.Upload.BookletLayout',
1189 'mediawiki.widgets.CategoryMultiselectWidget',
1190 'mediawiki.widgets.DateInputWidget',
1191 'mediawiki.jqueryMsg',
1194 'mediawiki.libs.jpegmeta',
1197 'upload-form-label-own-work',
1198 'upload-form-label-infoform-categories',
1199 'upload-form-label-infoform-date',
1200 'upload-form-label-own-work-message-generic-local',
1201 'upload-form-label-not-own-work-message-generic-local',
1202 'upload-form-label-not-own-work-local-generic-local',
1203 'upload-form-label-own-work-message-generic-foreign',
1204 'upload-form-label-not-own-work-message-generic-foreign',
1205 'upload-form-label-not-own-work-local-generic-foreign',
1208 'mediawiki.toc' => [
1209 'scripts' => 'resources/src/mediawiki.toc/toc.js',
1211 'resources/src/mediawiki.toc/toc.css'
1212 => [ 'media' => 'screen' ],
1213 'resources/src/mediawiki.toc/print.css'
1214 => [ 'media' => 'print' ],
1216 'dependencies' => 'mediawiki.cookie',
1217 'messages' => [ 'showtoc', 'hidetoc' ],
1218 'targets' => [ 'desktop', 'mobile' ],
1220 'mediawiki.toc.styles' => [
1221 'class' => ResourceLoaderLessVarFileModule
::class,
1222 'lessMessages' => [ 'hidetoc', 'showtoc' ],
1224 'resources/src/mediawiki.toc.styles/common.css',
1225 'resources/src/mediawiki.toc.styles/screen.less'
1226 => [ 'media' => 'screen' ],
1227 'resources/src/mediawiki.toc.styles/print.css'
1228 => [ 'media' => 'print' ],
1230 'targets' => [ 'desktop', 'mobile' ],
1232 'mediawiki.Uri' => [
1233 'scripts' => 'resources/src/mediawiki.Uri/Uri.js',
1235 'strict.regexp' => 'resources/src/mediawiki.Uri/strict.regexp',
1236 'loose.regexp' => 'resources/src/mediawiki.Uri/loose.regexp',
1238 'dependencies' => 'mediawiki.util',
1239 'targets' => [ 'desktop', 'mobile' ],
1241 'mediawiki.user' => [
1242 'scripts' => 'resources/src/mediawiki.user.js',
1245 'mediawiki.storage',
1246 // The two user.* modules are not used by mediawiki.user itself,
1247 // but kept as explicit dependencies because they provide part
1248 // of the mw.user API that consumers of this module expect.
1252 'targets' => [ 'desktop', 'mobile' ],
1254 'mediawiki.userSuggest' => [
1255 'scripts' => 'resources/src/mediawiki.userSuggest.js',
1257 'jquery.suggestions',
1261 'mediawiki.util' => [
1262 'localBasePath' => "$IP/resources/src",
1263 'remoteBasePath' => "$wgResourceBasePath/resources/src",
1265 'mediawiki.util.js',
1266 [ 'name' => 'config.json', 'config' => [
1272 'jquery.accessKeyLabel',
1275 'targets' => [ 'desktop', 'mobile' ],
1277 'mediawiki.viewport' => [
1278 'scripts' => 'resources/src/mediawiki.viewport.js',
1279 'targets' => [ 'desktop', 'mobile' ],
1281 'mediawiki.checkboxtoggle' => [
1282 'targets' => [ 'desktop', 'mobile' ],
1283 'scripts' => 'resources/src/mediawiki.checkboxtoggle.js',
1285 'mediawiki.checkboxtoggle.styles' => [
1286 'targets' => [ 'desktop', 'mobile' ],
1287 'styles' => 'resources/src/mediawiki.checkboxtoggle.styles.css',
1289 'mediawiki.cookie' => [
1290 'localBasePath' => "$IP/resources/src/mediawiki.cookie",
1291 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.cookie",
1294 [ 'name' => 'config.json', 'config' => [
1295 'prefix' => 'CookiePrefix',
1296 'domain' => 'CookieDomain',
1297 'path' => 'CookiePath',
1298 'expires' => 'CookieExpiration'
1301 'dependencies' => 'jquery.cookie',
1302 'targets' => [ 'desktop', 'mobile' ],
1304 'mediawiki.experiments' => [
1305 'scripts' => 'resources/src/mediawiki.experiments.js',
1306 'targets' => [ 'desktop', 'mobile' ],
1308 'mediawiki.editfont.styles' => [
1309 'styles' => 'resources/src/mediawiki.editfont.less',
1310 'targets' => [ 'desktop', 'mobile' ],
1312 'mediawiki.visibleTimeout' => [
1313 'scripts' => 'resources/src/mediawiki.visibleTimeout.js',
1314 'targets' => [ 'desktop', 'mobile' ],
1317 /* MediaWiki Action */
1319 'mediawiki.action.delete' => [
1320 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.delete.js',
1323 'jquery.lengthLimit',
1326 // @todo Load this message in content language
1330 'mediawiki.action.delete.file' => [
1331 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.delete.file.js',
1334 'jquery.lengthLimit',
1337 // @todo Load this message in content language
1341 'mediawiki.action.edit' => [
1343 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1344 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1346 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1348 'mediawiki.action.edit.styles',
1349 'mediawiki.editfont.styles',
1350 'jquery.textSelection',
1352 'mediawiki.widgets.visibleLengthLimit',
1357 'mediawiki.action.edit.styles' => [
1358 'targets' => [ 'desktop', 'mobile' ],
1359 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.less',
1361 'mediawiki.action.edit.collapsibleFooter' => [
1362 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1363 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1365 'jquery.makeCollapsible',
1366 'mediawiki.storage',
1370 'mediawiki.action.edit.preview' => [
1371 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1372 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.css',
1375 'jquery.textSelection',
1377 'mediawiki.diff.styles',
1378 'mediawiki.language',
1380 'mediawiki.jqueryMsg',
1384 // Keep the uses message keys in sync with EditPage#setHeaders
1398 'mediawiki.action.history' => [
1399 'dependencies' => [ 'jquery.makeCollapsible' ],
1400 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1401 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1402 'targets' => [ 'desktop', 'mobile' ]
1404 'mediawiki.action.history.styles' => [
1406 'default' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.less',
1408 'targets' => [ 'desktop', 'mobile' ],
1410 'mediawiki.action.view.dblClickEdit' => [
1411 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1417 'mediawiki.action.view.metadata' => [
1418 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1419 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1422 'metadata-collapse',
1424 'dependencies' => 'mediawiki.action.view.filepage',
1426 'mediawiki.action.view.categoryPage.styles' => [
1427 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1428 'targets' => [ 'desktop', 'mobile' ]
1430 'mediawiki.action.view.postEdit' => [
1431 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1432 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.less',
1434 'monobook' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.monobook.css',
1437 'mediawiki.jqueryMsg',
1438 'mediawiki.notification'
1441 'postedit-confirmation-created',
1442 'postedit-confirmation-restored',
1443 'postedit-confirmation-saved',
1444 'postedit-confirmation-published',
1447 'mediawiki.action.view.redirect' => [
1448 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1449 'dependencies' => 'jquery.client',
1450 'targets' => [ 'desktop', 'mobile' ],
1452 'mediawiki.action.view.redirectPage' => [
1453 'targets' => [ 'desktop', 'mobile' ],
1454 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1456 'mediawiki.action.view.rightClickEdit' => [
1457 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1459 'mediawiki.action.edit.editWarning' => [
1460 'targets' => [ 'desktop', 'mobile' ],
1461 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1463 'jquery.textSelection',
1464 'mediawiki.jqueryMsg',
1465 'mediawiki.confirmCloseWindow',
1469 'editwarning-warning',
1470 // editwarning-warning uses {{int:prefs-editing}}
1474 'mediawiki.action.view.filepage' => [
1476 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1477 [ 'media' => 'print' ],
1478 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1482 /* MediaWiki Language */
1484 'mediawiki.language' => [
1485 'class' => ResourceLoaderLanguageDataModule
::class,
1487 'resources/src/mediawiki.language/mediawiki.language.init.js',
1488 'resources/src/mediawiki.language/mediawiki.language.js',
1489 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1490 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1492 'languageScripts' => [
1493 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1494 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1495 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1496 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1497 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1498 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1499 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1500 'la' => 'resources/src/mediawiki.language/languages/la.js',
1501 'os' => 'resources/src/mediawiki.language/languages/os.js',
1502 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1514 'mediawiki.cldr' => [
1515 'scripts' => 'resources/src/mediawiki.cldr/index.js',
1517 'mediawiki.libs.pluralruleparser',
1519 'targets' => [ 'desktop', 'mobile' ],
1522 'mediawiki.libs.pluralruleparser' => [
1524 'resources/lib/CLDRPluralRuleParser/CLDRPluralRuleParser.js',
1525 'resources/src/mediawiki.libs.pluralruleparser/export.js',
1527 'targets' => [ 'desktop', 'mobile' ],
1530 'mediawiki.jqueryMsg' => [
1531 'localBasePath' => "$IP/resources/src/mediawiki.jqueryMsg",
1532 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.jqueryMsg",
1534 'mediawiki.jqueryMsg.js',
1535 [ 'name' => 'parserDefaults.json', 'callback' => function (
1536 ResourceLoaderContext
$context, Config
$config
1538 $tagData = Sanitizer
::getRecognizedTagData();
1539 $allowedHtmlElements = array_merge(
1540 array_keys( $tagData['htmlpairs'] ),
1542 array_keys( $tagData['htmlsingle'] ),
1543 array_keys( $tagData['htmlsingleonly'] )
1548 'SITENAME' => $config->get( 'Sitename' ),
1550 Hooks
::run( 'ResourceLoaderJqueryMsgModuleMagicWords', [ $context, &$magicWords ] );
1553 'allowedHtmlElements' => $allowedHtmlElements,
1554 'magic' => $magicWords,
1560 'mediawiki.language',
1563 'targets' => [ 'desktop', 'mobile' ],
1566 'mediawiki.language.months' => [
1567 'targets' => [ 'desktop', 'mobile' ],
1568 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1569 'dependencies' => 'mediawiki.language',
1570 'messages' => array_merge(
1571 Language
::$mMonthMsgs,
1572 Language
::$mMonthGenMsgs,
1573 Language
::$mMonthAbbrevMsgs
1577 'mediawiki.language.names' => [
1578 'localBasePath' => "$IP/resources/src/mediawiki.language",
1579 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.language",
1581 'mediawiki.language.names.js',
1582 [ 'name' => 'names.json', 'callback' => function ( ResourceLoaderContext
$context ) {
1583 return Language
::fetchLanguageNames( $context->getLanguage(), 'all' );
1586 'dependencies' => 'mediawiki.language',
1587 'targets' => [ 'desktop', 'mobile' ],
1590 'mediawiki.language.specialCharacters' => [
1591 'localBasePath' => "$IP/resources/src/mediawiki.language",
1592 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.language",
1594 'mediawiki.language.specialCharacters.js',
1595 'specialcharacters.json'
1597 'dependencies' => 'mediawiki.language',
1598 'targets' => [ 'desktop', 'mobile' ],
1600 'special-characters-group-latin',
1601 'special-characters-group-latinextended',
1602 'special-characters-group-ipa',
1603 'special-characters-group-symbols',
1604 'special-characters-group-greek',
1605 'special-characters-group-greekextended',
1606 'special-characters-group-cyrillic',
1607 'special-characters-group-arabic',
1608 'special-characters-group-arabicextended',
1609 'special-characters-group-persian',
1610 'special-characters-group-hebrew',
1611 'special-characters-group-bangla',
1612 'special-characters-group-tamil',
1613 'special-characters-group-telugu',
1614 'special-characters-group-sinhala',
1615 'special-characters-group-devanagari',
1616 'special-characters-group-gujarati',
1617 'special-characters-group-thai',
1618 'special-characters-group-lao',
1619 'special-characters-group-khmer',
1620 'special-characters-group-canadianaboriginal',
1621 'special-characters-title-endash',
1622 'special-characters-title-emdash',
1623 'special-characters-title-minus'
1627 /* MediaWiki Libs */
1629 'mediawiki.libs.jpegmeta' => [
1631 'resources/src/mediawiki.libs.jpegmeta/jpegmeta.js',
1632 'resources/src/mediawiki.libs.jpegmeta/export.js',
1634 'targets' => [ 'desktop', 'mobile' ],
1637 /* MediaWiki Page */
1639 'mediawiki.page.gallery' => [
1640 'scripts' => 'resources/src/mediawiki.page.gallery.js',
1642 'mediawiki.page.gallery.styles',
1643 'jquery.throttle-debounce',
1646 'mediawiki.page.gallery.styles' => [
1648 'resources/src/mediawiki.page.gallery.styles/gallery.less',
1649 'resources/src/mediawiki.page.gallery.styles/print.css' => [ 'media' => 'print' ],
1651 'targets' => [ 'desktop', 'mobile' ],
1653 'mediawiki.page.gallery.slideshow' => [
1654 'scripts' => 'resources/src/mediawiki.page.gallery.slideshow.js',
1661 'oojs-ui.styles.icons-media',
1662 'oojs-ui.styles.icons-movement'
1665 'gallery-slideshow-toggle'
1668 'mediawiki.page.ready' => [
1669 'scripts' => 'resources/src/mediawiki.page.ready.js',
1671 'jquery.accessKeyLabel',
1672 'jquery.checkboxShiftClick',
1676 'targets' => [ 'desktop', 'mobile' ],
1679 'logging-out-notify'
1682 'mediawiki.page.startup' => [
1683 'scripts' => 'resources/src/mediawiki.page.startup.js',
1684 'targets' => [ 'desktop', 'mobile' ],
1686 'mediawiki.page.patrol.ajax' => [
1687 'scripts' => 'resources/src/mediawiki.page.patrol.ajax.js',
1697 'markedaspatrollednotify',
1698 'markedaspatrollederrornotify',
1699 'markedaspatrollederror-noautopatrol'
1702 'mediawiki.page.watch.ajax' => [
1703 'scripts' => 'resources/src/mediawiki.page.watch.ajax.js',
1709 'mediawiki.jqueryMsg',
1710 'jquery.accessKeyLabel',
1719 'tooltip-ca-unwatch',
1722 'addedwatchtext-talk',
1724 'removedwatchtext-talk',
1727 'mediawiki.page.rollback.confirmation' => [
1728 'scripts' => 'resources/src/mediawiki.rollback.confirmation.js',
1730 'jquery.confirmable'
1733 'rollback-confirmation-confirm',
1734 'rollback-confirmation-yes',
1735 'rollback-confirmation-no',
1738 'mediawiki.page.image.pagination' => [
1739 'scripts' => 'resources/src/mediawiki.page.image.pagination.js',
1746 /* MediaWiki Special pages */
1748 'mediawiki.rcfilters.filters.base.styles' => [
1750 'default' => 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.less',
1753 'mediawiki.rcfilters.highlightCircles.seenunseen.styles' => [
1756 'resources/src/mediawiki.rcfilters/' .
1757 'styles/mw.rcfilters.ui.ChangesListWrapperWidget.highlightCircles.seenunseen.less',
1761 'mediawiki.rcfilters.filters.dm' => [
1762 'localBasePath' => "$IP/resources/src/mediawiki.rcfilters",
1763 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.rcfilters",
1768 'dm/ChangesListViewModel.js',
1769 'dm/FilterGroup.js',
1771 'dm/FiltersViewModel.js',
1773 'dm/SavedQueriesModel.js',
1774 'dm/SavedQueryItemModel.js',
1775 [ 'name' => 'config.json', 'config' => [ 'StructuredChangeFiltersLiveUpdatePollingRate' ] ],
1781 'mediawiki.jqueryMsg',
1788 'rcfilters-filterlist-title',
1791 'mediawiki.rcfilters.filters.ui' => [
1792 'localBasePath' => "$IP/resources/src/mediawiki.rcfilters",
1793 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.rcfilters",
1795 'mw.rcfilters.init.js',
1796 'HighlightColors.js',
1797 'ui/GroupWidget.js',
1798 'ui/CheckboxInputWidget.js',
1799 'ui/FilterTagMultiselectWidget.js',
1800 'ui/ItemMenuOptionWidget.js',
1801 'ui/FilterMenuOptionWidget.js',
1802 'ui/FilterMenuSectionOptionWidget.js',
1803 'ui/TagItemWidget.js',
1804 'ui/FilterTagItemWidget.js',
1805 'ui/FilterMenuHeaderWidget.js',
1806 'ui/MenuSelectWidget.js',
1807 'ui/MainWrapperWidget.js',
1808 'ui/ViewSwitchWidget.js',
1809 'ui/ValuePickerWidget.js',
1810 'ui/ChangesLimitPopupWidget.js',
1811 'ui/ChangesLimitAndDateButtonWidget.js',
1812 'ui/DatePopupWidget.js',
1813 'ui/FilterWrapperWidget.js',
1814 'ui/ChangesListWrapperWidget.js',
1815 'ui/SavedLinksListWidget.js',
1816 'ui/SavedLinksListItemWidget.js',
1817 'ui/SaveFiltersPopupButtonWidget.js',
1818 'ui/FormWrapperWidget.js',
1819 'ui/FilterItemHighlightButton.js',
1820 'ui/HighlightPopupWidget.js',
1821 'ui/HighlightColorPickerWidget.js',
1822 'ui/LiveUpdateButtonWidget.js',
1823 'ui/MarkSeenButtonWidget.js',
1824 'ui/RcTopSectionWidget.js',
1825 'ui/RclTopSectionWidget.js',
1826 'ui/RclTargetPageWidget.js',
1827 'ui/RclToOrFromWidget.js',
1828 'ui/WatchlistTopSectionWidget.js',
1829 [ 'name' => 'config.json',
1830 'versionCallback' => 'ChangesListSpecialPage::getRcFiltersConfigSummary',
1831 'callback' => 'ChangesListSpecialPage::getRcFiltersConfigVars',
1835 'styles/mw.rcfilters.mixins.less',
1836 'styles/mw.rcfilters.variables.less',
1837 'styles/mw.rcfilters.ui.less',
1838 'styles/mw.rcfilters.ui.Overlay.less',
1839 'styles/mw.rcfilters.ui.FilterTagMultiselectWidget.less',
1840 'styles/mw.rcfilters.ui.ItemMenuOptionWidget.less',
1841 'styles/mw.rcfilters.ui.FilterMenuOptionWidget.less',
1842 'styles/mw.rcfilters.ui.FilterMenuSectionOptionWidget.less',
1843 'styles/mw.rcfilters.ui.TagItemWidget.less',
1844 'styles/mw.rcfilters.ui.FilterMenuHeaderWidget.less',
1845 'styles/mw.rcfilters.ui.MenuSelectWidget.less',
1846 'styles/mw.rcfilters.ui.ViewSwitchWidget.less',
1847 'styles/mw.rcfilters.ui.ValuePickerWidget.less',
1848 'styles/mw.rcfilters.ui.ChangesLimitPopupWidget.less',
1849 'styles/mw.rcfilters.ui.DatePopupWidget.less',
1850 'styles/mw.rcfilters.ui.FilterWrapperWidget.less',
1851 'styles/mw.rcfilters.ui.ChangesListWrapperWidget.less',
1852 'styles/mw.rcfilters.ui.HighlightColorPickerWidget.less',
1853 'styles/mw.rcfilters.ui.FilterItemHighlightButton.less',
1854 'styles/mw.rcfilters.ui.SavedLinksListWidget.less',
1855 'styles/mw.rcfilters.ui.SavedLinksListItemWidget.less',
1856 'styles/mw.rcfilters.ui.SaveFiltersPopupButtonWidget.less',
1857 'styles/mw.rcfilters.ui.LiveUpdateButtonWidget.less',
1858 'styles/mw.rcfilters.ui.RcTopSectionWidget.less',
1859 'styles/mw.rcfilters.ui.RclToOrFromWidget.less',
1860 'styles/mw.rcfilters.ui.RclTargetPageWidget.less',
1861 'styles/mw.rcfilters.ui.WatchlistTopSectionWidget.less',
1865 'styles/mw.rcfilters.ui.Overlay.vector.less',
1868 'styles/mw.rcfilters.ui.Overlay.monobook.less',
1869 'styles/mw.rcfilters.ui.CapsuleItemWidget.monobook.less',
1870 'styles/mw.rcfilters.ui.FilterMenuOptionWidget.monobook.less',
1874 'rcfilters-tag-remove',
1875 'rcfilters-activefilters',
1876 'rcfilters-activefilters-hide',
1877 'rcfilters-activefilters-show',
1878 'rcfilters-activefilters-hide-tooltip',
1879 'rcfilters-activefilters-show-tooltip',
1880 'rcfilters-advancedfilters',
1881 'rcfilters-group-results-by-page',
1882 'rcfilters-limit-title',
1883 'rcfilters-limit-and-date-label',
1884 'rcfilters-date-popup-title',
1885 'rcfilters-days-title',
1886 'rcfilters-hours-title',
1887 'rcfilters-days-show-days',
1888 'rcfilters-days-show-hours',
1889 'rcfilters-highlighted-filters-list',
1890 'rcfilters-quickfilters',
1891 'rcfilters-quickfilters-placeholder-title',
1892 'rcfilters-quickfilters-placeholder-description',
1893 'rcfilters-savedqueries-defaultlabel',
1894 'rcfilters-savedqueries-rename',
1895 'rcfilters-savedqueries-setdefault',
1896 'rcfilters-savedqueries-unsetdefault',
1897 'rcfilters-savedqueries-remove',
1898 'rcfilters-savedqueries-new-name-label',
1899 'rcfilters-savedqueries-new-name-placeholder',
1900 'rcfilters-savedqueries-add-new-title',
1901 'rcfilters-savedqueries-already-saved',
1902 'rcfilters-savedqueries-apply-label',
1903 'rcfilters-savedqueries-apply-and-setdefault-label',
1904 'rcfilters-savedqueries-cancel-label',
1905 'rcfilters-restore-default-filters',
1906 'rcfilters-clear-all-filters',
1907 'rcfilters-show-new-changes',
1908 'rcfilters-search-placeholder',
1909 'rcfilters-invalid-filter',
1910 'rcfilters-empty-filter',
1911 'rcfilters-filterlist-title',
1912 'rcfilters-filterlist-feedbacklink',
1913 'rcfilters-filterlist-noresults',
1914 'rcfilters-filterlist-whatsthis',
1915 'rcfilters-highlightbutton-title',
1916 'rcfilters-highlightmenu-title',
1917 'rcfilters-highlightmenu-help',
1918 'rcfilters-noresults-conflict',
1919 'rcfilters-state-message-subset',
1920 'rcfilters-state-message-fullcoverage',
1921 'rcfilters-filter-excluded',
1922 'rcfilters-tag-prefix-namespace',
1923 'rcfilters-tag-prefix-namespace-inverted',
1924 'rcfilters-tag-prefix-tags',
1925 'rcfilters-exclude-button-off',
1926 'rcfilters-exclude-button-on',
1927 'rcfilters-view-tags',
1928 'rcfilters-view-namespaces-tooltip',
1929 'rcfilters-view-tags-tooltip',
1930 'rcfilters-view-return-to-default-tooltip',
1931 'rcfilters-view-tags-help-icon-tooltip',
1932 'rcfilters-liveupdates-button',
1933 'rcfilters-liveupdates-button-title-on',
1934 'rcfilters-liveupdates-button-title-off',
1935 'rcfilters-watchlist-markseen-button',
1936 'rcfilters-watchlist-edit-watchlist-button',
1937 'rcfilters-other-review-tools',
1938 'rcfilters-filter-showlinkedfrom-label',
1939 'rcfilters-filter-showlinkedfrom-option-label',
1940 'rcfilters-filter-showlinkedto-label',
1941 'rcfilters-filter-showlinkedto-option-label',
1942 'rcfilters-target-page-placeholder',
1947 'recentchanges-noresult',
1948 'recentchanges-timeout',
1949 'recentchanges-network',
1950 'recentchanges-notargetpage',
1956 'jquery.makeCollapsible',
1957 'mediawiki.jqueryMsg',
1958 'mediawiki.language',
1961 'mediawiki.widgets',
1962 'mediawiki.rcfilters.filters.dm',
1963 'oojs-ui.styles.icons-content',
1964 'oojs-ui.styles.icons-moderation',
1965 'oojs-ui.styles.icons-editing-core',
1966 'oojs-ui.styles.icons-editing-styling',
1967 'oojs-ui.styles.icons-interactions',
1968 'oojs-ui.styles.icons-layout',
1969 'oojs-ui.styles.icons-media',
1972 'mediawiki.interface.helpers.styles' => [
1973 'class' => ResourceLoaderLessVarFileModule
::class,
1975 'parentheses-start',
1982 'default' => 'resources/src/mediawiki.interface.helpers.styles.less',
1988 'mediawiki.special' => [
1990 'resources/src/mediawiki.special/special.less',
1991 'resources/src/mediawiki.special/apisandbox.css',
1992 'resources/src/mediawiki.special/comparepages.less',
1993 'resources/src/mediawiki.special/edittags.css',
1994 'resources/src/mediawiki.special/movePage.css',
1995 'resources/src/mediawiki.special/newpages.less',
1996 'resources/src/mediawiki.special/pagesWithProp.css',
1997 'resources/src/mediawiki.special/upload.css',
1998 'resources/src/mediawiki.special/userrights.css',
1999 'resources/src/mediawiki.special/watchlist.css',
2000 'resources/src/mediawiki.special/block.less',
2001 'resources/src/mediawiki.special/blocklist.less',
2003 'targets' => [ 'desktop', 'mobile' ],
2005 'mediawiki.special.apisandbox' => [
2006 'styles' => 'resources/src/mediawiki.special.apisandbox/apisandbox.css',
2007 'scripts' => 'resources/src/mediawiki.special.apisandbox/apisandbox.js',
2008 'targets' => [ 'desktop', 'mobile' ],
2011 'mediawiki.jqueryMsg',
2014 'oojs-ui.styles.icons-content',
2015 'oojs-ui.styles.icons-editing-advanced',
2016 'oojs-ui.styles.icons-interactions',
2017 'oojs-ui.styles.icons-moderation',
2018 'mediawiki.widgets',
2019 'mediawiki.widgets.datetime',
2020 'jquery.makeCollapsible',
2024 'apisandbox-submit',
2027 'apisandbox-loading',
2028 'apisandbox-load-error',
2029 'apisandbox-fetch-token',
2030 'apisandbox-add-multi',
2031 'apisandbox-helpurls',
2032 'apisandbox-examples',
2033 'apisandbox-dynamic-parameters',
2034 'apisandbox-dynamic-parameters-add-label',
2035 'apisandbox-dynamic-parameters-add-placeholder',
2036 'apisandbox-dynamic-error-exists',
2037 'apisandbox-templated-parameter-reason',
2038 'apisandbox-deprecated-parameters',
2039 'apisandbox-no-parameters',
2040 'api-help-param-limit',
2041 'api-help-param-limit2',
2042 'api-help-param-integer-min',
2043 'api-help-param-integer-max',
2044 'api-help-param-integer-minmax',
2045 'api-help-param-multi-separate',
2046 'api-help-param-multi-max',
2047 'api-help-param-maxbytes',
2048 'api-help-param-maxchars',
2049 'apisandbox-submit-invalid-fields-title',
2050 'apisandbox-submit-invalid-fields-message',
2051 'apisandbox-results',
2052 'apisandbox-sending-request',
2053 'apisandbox-loading-results',
2054 'apisandbox-results-error',
2055 'apisandbox-results-login-suppressed',
2056 'apisandbox-request-selectformat-label',
2057 'apisandbox-request-format-url-label',
2058 'apisandbox-request-url-label',
2059 'apisandbox-request-format-json-label',
2060 'apisandbox-request-json-label',
2061 'apisandbox-request-time',
2062 'apisandbox-results-fixtoken',
2063 'apisandbox-results-fixtoken-fail',
2064 'apisandbox-alert-page',
2065 'apisandbox-alert-field',
2066 'apisandbox-continue',
2067 'apisandbox-continue-clear',
2068 'apisandbox-continue-help',
2069 'apisandbox-param-limit',
2070 'apisandbox-multivalue-all-namespaces',
2071 'apisandbox-multivalue-all-values',
2072 'api-format-prettyprint-status',
2079 'mediawiki.special.block' => [
2080 'localBasePath' => "$IP/resources/src",
2081 'remoteBasePath' => "$wgResourceBasePath/resources/src",
2083 'mediawiki.special.block.js',
2084 [ 'name' => 'config.json', 'config' => [
2085 'EnablePartialBlocks',
2086 'BlockAllowsUTEdit',
2091 'oojs-ui.styles.icons-editing-core',
2092 'oojs-ui.styles.icons-editing-advanced',
2093 'mediawiki.widgets.DateInputWidget',
2094 'mediawiki.widgets.SelectWithInputWidget',
2095 'mediawiki.widgets.NamespacesMultiselectWidget',
2096 'mediawiki.widgets.TitlesMultiselectWidget',
2097 'mediawiki.widgets.UserInputWidget',
2099 'mediawiki.htmlform',
2102 'targets' => [ 'desktop', 'mobile' ],
2104 // This bundles various small (under 5 KB?) JavaScript files that:
2105 // - .. are not loaded on when viewing or editing wiki pages.
2106 // - .. are used by logged-in users only.
2107 // - .. depend on oojs-ui-core.
2108 // - .. contain UI intialisation code (e.g. no public module exports, because
2109 // requiring or depending on this bundle is awkard)
2110 'mediawiki.misc-authed-ooui' => [
2111 'localBasePath' => "$IP/resources/src/mediawiki.misc-authed-ooui",
2112 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.misc-authed-ooui",
2114 'special.changecredentials.js',
2115 'special.movePage.js',
2117 'special.pageLanguage.js',
2120 'mediawiki.api', // Used by special.changecredentials.js
2121 'mediawiki.htmlform.ooui', // Used by special.changecredentials.js
2122 'mediawiki.widgets.visibleLengthLimit', // Used by special.movePage.js
2123 'mediawiki.widgets', // Used by special.movePage.js
2124 'oojs-ui-core', // Used by special.pageLanguage.js
2126 'targets' => [ 'desktop', 'mobile' ],
2128 'mediawiki.special.changeslist' => [
2130 'resources/src/mediawiki.special.changeslist/changeslist.less'
2133 'default' => 'resources/src/mediawiki.special.changeslist/default.less',
2135 'targets' => [ 'desktop', 'mobile' ],
2137 'mediawiki.special.changeslist.enhanced' => [
2138 'styles' => 'resources/src/mediawiki.special.changeslist.enhanced.less',
2140 'mediawiki.special.changeslist.legend' => [
2141 'styles' => 'resources/src/mediawiki.special.changeslist.legend.less',
2142 'targets' => [ 'desktop', 'mobile' ],
2144 'mediawiki.special.changeslist.legend.js' => [
2145 'scripts' => 'resources/src/mediawiki.special.changeslist.legend.js',
2147 'jquery.makeCollapsible',
2150 'targets' => [ 'desktop', 'mobile' ],
2152 'mediawiki.special.contributions' => [
2153 'scripts' => 'resources/src/mediawiki.special.contributions.js',
2155 'mediawiki.widgets.DateInputWidget',
2156 'mediawiki.jqueryMsg',
2159 'mediawiki.special.edittags' => [
2160 'scripts' => 'resources/src/mediawiki.special.edittags.js',
2163 'jquery.lengthLimit',
2166 'tags-edit-chosen-placeholder',
2167 'tags-edit-chosen-no-results',
2170 'mediawiki.special.import' => [
2171 'scripts' => 'resources/src/mediawiki.special.import.js',
2173 'mediawiki.special.preferences.ooui' => [
2174 'targets' => [ 'desktop', 'mobile' ],
2176 'resources/src/mediawiki.special.preferences.ooui/confirmClose.js',
2177 'resources/src/mediawiki.special.preferences.ooui/convertmessagebox.js',
2178 'resources/src/mediawiki.special.preferences.ooui/editfont.js',
2179 'resources/src/mediawiki.special.preferences.ooui/tabs.js',
2180 'resources/src/mediawiki.special.preferences.ooui/timezone.js',
2181 'resources/src/mediawiki.special.preferences.ooui/personalEmail.js',
2184 'prefs-tabs-navigation-hint',
2185 'prefswarning-warning',
2190 'mediawiki.language',
2191 'mediawiki.confirmCloseWindow',
2192 'mediawiki.notification.convertmessagebox',
2193 'mediawiki.storage',
2195 'mediawiki.widgets.SelectWithInputWidget',
2196 'mediawiki.editfont.styles',
2199 'mediawiki.special.preferences.styles.ooui' => [
2200 'targets' => [ 'desktop', 'mobile' ],
2201 'styles' => 'resources/src/mediawiki.special.preferences.styles.ooui.less',
2203 'mediawiki.special.recentchanges' => [
2204 'scripts' => 'resources/src/mediawiki.special.recentchanges.js',
2205 'targets' => [ 'desktop', 'mobile' ],
2207 'mediawiki.special.revisionDelete' => [
2208 'scripts' => 'resources/src/mediawiki.special.revisionDelete.js',
2210 // @todo Load this message in content language
2214 'jquery.lengthLimit',
2216 'targets' => [ 'desktop', 'mobile' ],
2218 'mediawiki.special.search' => [
2219 'scripts' => 'resources/src/mediawiki.special.search/search.js',
2220 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
2222 'mediawiki.special.search.commonsInterwikiWidget' => [
2223 'scripts' => 'resources/src/mediawiki.special.search.commonsInterwikiWidget.js',
2227 'mediawiki.jqueryMsg'
2229 'targets' => [ 'desktop', 'mobile' ],
2231 'search-interwiki-more-results',
2232 'searchprofile-images'
2235 'mediawiki.special.search.interwikiwidget.styles' => [
2236 'styles' => 'resources/src/mediawiki.special.search.interwikiwidget.styles.less',
2237 'targets' => [ 'desktop', 'mobile' ]
2239 'mediawiki.special.search.styles' => [
2240 'styles' => 'resources/src/mediawiki.special.search.styles.css',
2241 'targets' => [ 'desktop', 'mobile' ],
2243 'mediawiki.special.undelete' => [
2244 'scripts' => 'resources/src/mediawiki.special.undelete.js',
2246 'mediawiki.widgets.visibleLengthLimit',
2247 'mediawiki.widgets',
2250 'mediawiki.special.unwatchedPages' => [
2251 'scripts' => 'resources/src/mediawiki.special.unwatchedPages/unwatchedPages.js',
2252 'styles' => 'resources/src/mediawiki.special.unwatchedPages/unwatchedPages.css',
2254 'addedwatchtext-short',
2255 'removedwatchtext-short',
2269 'mediawiki.special.upload' => [
2271 'thumbnail.html' => 'resources/src/mediawiki.special.upload/templates/thumbnail.html',
2273 'scripts' => 'resources/src/mediawiki.special.upload/upload.js',
2281 'editwarning-warning',
2282 // editwarning-warning uses {{int:prefs-editing}}
2286 'mediawiki.special',
2288 'mediawiki.jqueryMsg',
2290 'mediawiki.libs.jpegmeta',
2293 'mediawiki.confirmCloseWindow',
2297 'mediawiki.special.userlogin.common.styles' => [
2298 'targets' => [ 'desktop', 'mobile' ],
2300 'default' => 'resources/src/mediawiki.special.userlogin.common.styles/userlogin.css',
2303 'mediawiki.special.userlogin.login.styles' => [
2305 'resources/src/mediawiki.special.userlogin.login.styles/login.css',
2308 'mediawiki.special.userlogin.signup.js' => [
2309 'scripts' => 'resources/src/mediawiki.special.userlogin.signup.js',
2311 'createacct-emailrequired',
2314 'createacct-normalization',
2318 'mediawiki.jqueryMsg',
2319 'jquery.throttle-debounce',
2320 'mediawiki.htmlform.checker',
2323 'mediawiki.special.userlogin.signup.styles' => [
2325 'resources/src/mediawiki.special.userlogin.signup.styles/signup.css',
2328 'mediawiki.special.userrights' => [
2329 'scripts' => 'resources/src/mediawiki.special.userrights.js',
2331 'mediawiki.notification.convertmessagebox',
2332 'jquery.lengthLimit',
2335 'mediawiki.special.watchlist' => [
2337 'resources/src/mediawiki.special.watchlist/watchlist.js',
2338 'resources/src/mediawiki.special.watchlist/visitedstatus.js',
2342 'addedwatchtext-talk',
2344 'removedwatchtext-talk',
2346 'tooltip-ca-unwatch',
2347 'watchlist-unwatch',
2348 'watchlist-unwatch-undo',
2352 'mediawiki.jqueryMsg',
2360 'mediawiki.special.version' => [
2361 'styles' => 'resources/src/mediawiki.special.version.css',
2364 /* MediaWiki Installer */
2366 // Used in the web installer. Test it after modifying this definition!
2367 'mediawiki.legacy.config' => [
2368 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2369 'scripts' => 'mw-config/config.js',
2370 'styles' => 'mw-config/config.css',
2373 /* MediaWiki Legacy */
2375 'mediawiki.legacy.commonPrint' => [
2377 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2380 'mediawiki.legacy.protect' => [
2381 'localBasePath' => "$IP/resources/src/mediawiki.legacy",
2382 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.legacy",
2385 [ 'name' => 'config.json', 'config' => [ 'CascadingRestrictionLevels' ] ],
2387 'dependencies' => 'jquery.lengthLimit',
2388 'messages' => [ 'protect-unchain-permissions' ]
2390 // Used in the web installer. Test it after modifying this definition!
2391 'mediawiki.legacy.shared' => [
2392 'targets' => [ 'desktop', 'mobile' ],
2394 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2397 'mediawiki.legacy.oldshared' => [
2399 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2406 'deprecated' => 'Please use OOUI instead.',
2409 'resources/src/mediawiki.ui/default.less',
2412 'targets' => [ 'desktop', 'mobile' ],
2414 'mediawiki.ui.checkbox' => [
2417 'resources/src/mediawiki.ui/components/checkbox.less',
2420 'targets' => [ 'desktop', 'mobile' ],
2422 'mediawiki.ui.radio' => [
2425 'resources/src/mediawiki.ui/components/radio.less',
2428 'targets' => [ 'desktop', 'mobile' ],
2430 // Lightweight module for anchor styles
2431 'mediawiki.ui.anchor' => [
2434 'resources/src/mediawiki.ui/components/anchors.less',
2437 'targets' => [ 'desktop', 'mobile' ],
2439 // Lightweight module for button styles
2440 'mediawiki.ui.button' => [
2443 'resources/src/mediawiki.ui/components/buttons.less',
2446 'targets' => [ 'desktop', 'mobile' ],
2448 'mediawiki.ui.input' => [
2451 'resources/src/mediawiki.ui/components/inputs.less',
2454 'targets' => [ 'desktop', 'mobile' ],
2456 'mediawiki.ui.icon' => [
2459 'resources/src/mediawiki.ui/components/icons.less',
2462 'targets' => [ 'desktop', 'mobile' ],
2464 // Lightweight module for text styles
2465 'mediawiki.ui.text' => [
2468 'resources/src/mediawiki.ui/components/text.less',
2471 'targets' => [ 'desktop', 'mobile' ],
2474 'mediawiki.widgets' => [
2476 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2477 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2478 'resources/src/mediawiki.widgets/mw.widgets.CopyTextLayout.js',
2479 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2480 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2481 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2482 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2483 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2486 'resources/src/mediawiki.widgets/mw.widgets.CopyTextLayout.css',
2490 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2495 'mediawiki.widgets.styles',
2497 'oojs-ui.styles.icons-content',
2505 // NamespaceInputWidget
2509 'mw-widgets-copytextlayout-copy',
2510 'mw-widgets-copytextlayout-copy-fail',
2511 'mw-widgets-copytextlayout-copy-success',
2513 'mw-widgets-titleinput-description-new-page',
2514 'mw-widgets-titleinput-description-redirect',
2516 'targets' => [ 'desktop', 'mobile' ],
2518 'mediawiki.widgets.styles' => [
2521 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2522 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2525 'targets' => [ 'desktop', 'mobile' ],
2527 'mediawiki.widgets.AbandonEditDialog' => [
2529 'resources/src/mediawiki.widgets/mw.widgets.AbandonEditDialog.js',
2532 'mw-widgets-abandonedit',
2533 'mw-widgets-abandonedit-discard',
2534 'mw-widgets-abandonedit-keep',
2535 'mw-widgets-abandonedit-title',
2540 'targets' => [ 'desktop', 'mobile' ],
2542 'mediawiki.widgets.DateInputWidget' => [
2544 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2545 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2549 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2550 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2554 'mw-widgets-dateinput-no-date',
2555 'mw-widgets-dateinput-placeholder-day',
2556 'mw-widgets-dateinput-placeholder-month',
2560 'oojs-ui.styles.icons-movement',
2562 'mediawiki.widgets.DateInputWidget.styles',
2564 'targets' => [ 'desktop', 'mobile' ],
2566 'mediawiki.widgets.DateInputWidget.styles' => [
2569 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.styles.less',
2572 'targets' => [ 'desktop', 'mobile' ],
2574 'mediawiki.widgets.visibleLengthLimit' => [
2576 'resources/src/mediawiki.widgets.visibleLengthLimit/mediawiki.widgets.visibleLengthLimit.js'
2580 'jquery.lengthLimit',
2581 'mediawiki.language',
2584 'targets' => [ 'desktop', 'mobile' ]
2586 'mediawiki.widgets.datetime' => [
2588 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2589 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2590 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2591 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2592 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2596 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2597 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2647 'oojs-ui.styles.icons-moderation',
2648 'oojs-ui.styles.icons-movement',
2650 'targets' => [ 'desktop', 'mobile' ],
2652 'mediawiki.widgets.expiry' => [
2654 'resources/src/mediawiki.widgets/mw.widgets.ExpiryInputWidget.js',
2660 'mediawiki.widgets.datetime'
2663 'default' => 'resources/src/mediawiki.widgets/mw.widgets.ExpiryInputWidget.less',
2665 'targets' => [ 'desktop', 'mobile' ],
2667 'mediawiki.widgets.CheckMatrixWidget' => [
2669 'resources/src/mediawiki.widgets/mw.widgets.CheckMatrixWidget.js',
2674 'targets' => [ 'desktop', 'mobile' ],
2676 'mediawiki.widgets.CategoryMultiselectWidget' => [
2678 'resources/src/mediawiki.widgets/mw.widgets.CategoryTagItemWidget.js',
2679 'resources/src/mediawiki.widgets/mw.widgets.CategoryMultiselectWidget.js',
2684 'mediawiki.ForeignApi',
2689 'mw-widgets-categoryselector-add-category-placeholder',
2691 'targets' => [ 'desktop', 'mobile' ],
2693 'mediawiki.widgets.SelectWithInputWidget' => [
2694 'scripts' => 'resources/src/mediawiki.widgets/mw.widgets.SelectWithInputWidget.js',
2696 'mediawiki.widgets.SelectWithInputWidget.styles',
2699 'targets' => [ 'desktop', 'mobile' ],
2701 'mediawiki.widgets.SelectWithInputWidget.styles' => [
2702 'styles' => 'resources/src/mediawiki.widgets/mw.widgets.SelectWithInputWidget.base.css',
2703 'targets' => [ 'desktop', 'mobile' ],
2705 'mediawiki.widgets.SizeFilterWidget' => [
2706 'scripts' => 'resources/src/mediawiki.widgets/mw.widgets.SizeFilterWidget.js',
2708 'mediawiki.widgets.SizeFilterWidget.styles',
2716 'targets' => [ 'desktop', 'mobile' ],
2718 'mediawiki.widgets.SizeFilterWidget.styles' => [
2719 'styles' => 'resources/src/mediawiki.widgets/mw.widgets.SizeFilterWidget.base.css',
2720 'targets' => [ 'desktop', 'mobile' ],
2722 'mediawiki.widgets.MediaSearch' => [
2724 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsProvider.js',
2725 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsQueue.js',
2726 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceProvider.js',
2727 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchProvider.js',
2728 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceQueue.js',
2729 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchQueue.js',
2730 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.js',
2731 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js',
2734 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.css',
2735 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.css',
2739 'mediawiki.ForeignApi',
2744 'mw-widgets-mediasearch-noresults',
2745 'mw-widgets-mediasearch-input-placeholder',
2747 'targets' => [ 'desktop', 'mobile' ],
2749 'mediawiki.widgets.UserInputWidget' => [
2751 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2757 'targets' => [ 'desktop', 'mobile' ],
2759 'mediawiki.widgets.UsersMultiselectWidget' => [
2761 'resources/src/mediawiki.widgets/mw.widgets.UsersMultiselectWidget.js',
2767 'targets' => [ 'desktop', 'mobile' ],
2769 'mediawiki.widgets.NamespacesMultiselectWidget' => [
2771 'resources/src/mediawiki.widgets/mw.widgets.NamespacesMultiselectWidget.js',
2772 'resources/src/mediawiki.widgets/mw.widgets.NamespacesMenuOptionWidget.js',
2777 'targets' => [ 'desktop', 'mobile' ],
2779 'mediawiki.widgets.TitlesMultiselectWidget' => [
2781 'resources/src/mediawiki.widgets/mw.widgets.TitlesMultiselectWidget.js',
2786 // FIXME: Needs TitleInputWidget only
2787 'mediawiki.widgets',
2789 'targets' => [ 'desktop', 'mobile' ],
2791 'mediawiki.widgets.TagMultiselectWidget.styles' => [
2792 'styles' => 'resources/src/mediawiki.widgets/mw.widgets.TagMultiselectWidget.base.css',
2794 'mediawiki.widgets.SearchInputWidget' => [
2796 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2799 'mediawiki.searchSuggest',
2800 'oojs-ui.styles.icons-interactions',
2801 // FIXME: Needs TitleInputWidget only
2802 'mediawiki.widgets',
2805 'mediawiki.widgets.SearchInputWidget.styles' => [
2808 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2811 'targets' => [ 'desktop', 'mobile' ],
2813 'mediawiki.widgets.StashedFileWidget' => [
2815 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2819 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2828 // @todo FIXME: Remove 7 days after Ib0020b6bd0156 is deployed to all wikis.
2831 'resources/lib/html5shiv/html5shiv.js'
2837 'easy-deflate.core' => [
2838 'scripts' => [ 'resources/lib/easy-deflate/easydeflate.js' ],
2839 'targets' => [ 'desktop', 'mobile' ],
2842 'easy-deflate.deflate' => [
2843 'scripts' => [ 'resources/lib/easy-deflate/deflate.js' ],
2844 'dependencies' => [ 'easy-deflate.core' ],
2845 'targets' => [ 'desktop', 'mobile' ],
2848 'easy-deflate.inflate' => [
2849 'scripts' => [ 'resources/lib/easy-deflate/inflate.js' ],
2850 'dependencies' => [ 'easy-deflate.core' ],
2851 'targets' => [ 'desktop', 'mobile' ],
2857 'resources/lib/oojs/oojs.jquery.js',
2858 'resources/src/oojs-global.js',
2860 'targets' => [ 'desktop', 'mobile' ],
2863 'mediawiki.router' => [
2865 'resources/src/mediawiki.router/index.js',
2867 'targets' => [ 'desktop', 'mobile' ],
2875 'resources/lib/oojs-router/oojs-router.js',
2877 'targets' => [ 'desktop', 'mobile' ],
2893 'targets' => [ 'desktop', 'mobile' ],
2896 // The core JavaScript library.
2898 'class' => ResourceLoaderOOUIFileModule
::class,
2900 'resources/lib/ooui/oojs-ui-core.js',
2901 'resources/src/ooui-local.js',
2903 'themeScripts' => 'core',
2906 'oojs-ui-core.styles',
2907 'oojs-ui-core.icons',
2908 'oojs-ui.styles.indicators',
2909 'mediawiki.language',
2913 'ooui-combobox-button-label',
2915 'targets' => [ 'desktop', 'mobile' ],
2917 // This contains only the styles required by core widgets.
2918 'oojs-ui-core.styles' => [
2919 'class' => ResourceLoaderOOUIFileModule
::class,
2921 'resources/lib/ooui/wikimedia-ui-base.less', // Providing Wikimedia UI LESS variables to all
2923 'themeStyles' => 'core',
2924 'targets' => [ 'desktop', 'mobile' ],
2926 'oojs-ui-core.icons' => [
2927 'class' => ResourceLoaderOOUIIconPackModule
::class,
2928 'icons' => [ 'add', 'alert', 'notice', 'error', 'check', 'close', 'info', 'search', 'subtract' ],
2929 'targets' => [ 'desktop', 'mobile' ],
2931 // Additional widgets and layouts module.
2932 'oojs-ui-widgets' => [
2933 'class' => ResourceLoaderOOUIFileModule
::class,
2934 'scripts' => 'resources/lib/ooui/oojs-ui-widgets.js',
2935 'themeStyles' => 'widgets',
2938 'oojs-ui-widgets.icons',
2942 'ooui-outline-control-move-down',
2943 'ooui-outline-control-move-up',
2944 'ooui-outline-control-remove',
2945 'ooui-selectfile-button-select',
2946 'ooui-selectfile-dragdrop-placeholder',
2947 'ooui-selectfile-not-supported',
2948 'ooui-selectfile-placeholder',
2950 'targets' => [ 'desktop', 'mobile' ],
2952 // You should never directly load this module. The CSS classes it defines are not a public API,
2953 // they depend on the internal structure of OOUI widgets, which can change at any time. If you
2954 // find that you need to load this module, you're probably doing something wrong or very hacky.
2955 'oojs-ui-widgets.styles' => [
2956 'class' => ResourceLoaderOOUIFileModule
::class,
2957 'themeStyles' => 'widgets',
2958 'targets' => [ 'desktop', 'mobile' ],
2960 'oojs-ui-widgets.icons' => [
2961 'class' => ResourceLoaderOOUIIconPackModule
::class,
2962 // Do not repeat icons already used in 'oojs-ui-core.icons'
2963 'icons' => [ 'attachment', 'collapse', 'expand', 'trash', 'upload' ],
2964 'targets' => [ 'desktop', 'mobile' ],
2966 // Toolbar and tools module.
2967 'oojs-ui-toolbars' => [
2968 'class' => ResourceLoaderOOUIFileModule
::class,
2969 'scripts' => 'resources/lib/ooui/oojs-ui-toolbars.js',
2970 'themeStyles' => 'toolbars',
2973 'oojs-ui-toolbars.icons',
2976 'ooui-toolbar-more',
2977 'ooui-toolgroup-collapse',
2978 'ooui-toolgroup-expand',
2980 'targets' => [ 'desktop', 'mobile' ],
2982 'oojs-ui-toolbars.icons' => [
2983 'class' => ResourceLoaderOOUIIconPackModule
::class,
2984 // Do not repeat icons already used in 'oojs-ui-core.icons': 'check'
2985 'icons' => [ 'collapse', 'expand' ],
2986 'targets' => [ 'desktop', 'mobile' ],
2988 // Windows and dialogs module.
2989 'oojs-ui-windows' => [
2990 'class' => ResourceLoaderOOUIFileModule
::class,
2991 'scripts' => 'resources/lib/ooui/oojs-ui-windows.js',
2992 'themeStyles' => 'windows',
2995 'oojs-ui-windows.icons',
2998 'ooui-dialog-message-accept',
2999 'ooui-dialog-message-reject',
3000 'ooui-dialog-process-continue',
3001 'ooui-dialog-process-dismiss',
3002 'ooui-dialog-process-error',
3003 'ooui-dialog-process-retry',
3005 'targets' => [ 'desktop', 'mobile' ],
3007 'oojs-ui-windows.icons' => [
3008 'class' => ResourceLoaderOOUIIconPackModule
::class,
3009 // Do not repeat icons already used in 'oojs-ui-core.icons': 'close'
3010 'icons' => [ 'previous' ],
3011 'targets' => [ 'desktop', 'mobile' ],
3014 'oojs-ui.styles.indicators' => [
3015 'class' => ResourceLoaderOOUIImageModule
::class,
3016 'themeImages' => 'indicators',
3018 'oojs-ui.styles.icons-accessibility' => [
3019 'class' => ResourceLoaderOOUIImageModule
::class,
3020 'themeImages' => 'icons-accessibility',
3022 'oojs-ui.styles.icons-alerts' => [
3023 'class' => ResourceLoaderOOUIImageModule
::class,
3024 'themeImages' => 'icons-alerts',
3026 'oojs-ui.styles.icons-content' => [
3027 'class' => ResourceLoaderOOUIImageModule
::class,
3028 'themeImages' => 'icons-content',
3030 'oojs-ui.styles.icons-editing-advanced' => [
3031 'class' => ResourceLoaderOOUIImageModule
::class,
3032 'themeImages' => 'icons-editing-advanced',
3034 'oojs-ui.styles.icons-editing-citation' => [
3035 'class' => ResourceLoaderOOUIImageModule
::class,
3036 'themeImages' => 'icons-editing-citation',
3038 'oojs-ui.styles.icons-editing-core' => [
3039 'class' => ResourceLoaderOOUIImageModule
::class,
3040 'themeImages' => 'icons-editing-core',
3042 'oojs-ui.styles.icons-editing-list' => [
3043 'class' => ResourceLoaderOOUIImageModule
::class,
3044 'themeImages' => 'icons-editing-list',
3046 'oojs-ui.styles.icons-editing-styling' => [
3047 'class' => ResourceLoaderOOUIImageModule
::class,
3048 'themeImages' => 'icons-editing-styling',
3050 'oojs-ui.styles.icons-interactions' => [
3051 'class' => ResourceLoaderOOUIImageModule
::class,
3052 'themeImages' => 'icons-interactions',
3054 'oojs-ui.styles.icons-layout' => [
3055 'class' => ResourceLoaderOOUIImageModule
::class,
3056 'themeImages' => 'icons-layout',
3058 'oojs-ui.styles.icons-location' => [
3059 'class' => ResourceLoaderOOUIImageModule
::class,
3060 'themeImages' => 'icons-location',
3062 'oojs-ui.styles.icons-media' => [
3063 'class' => ResourceLoaderOOUIImageModule
::class,
3064 'themeImages' => 'icons-media',
3066 'oojs-ui.styles.icons-moderation' => [
3067 'class' => ResourceLoaderOOUIImageModule
::class,
3068 'themeImages' => 'icons-moderation',
3070 'oojs-ui.styles.icons-movement' => [
3071 'class' => ResourceLoaderOOUIImageModule
::class,
3072 'themeImages' => 'icons-movement',
3074 'oojs-ui.styles.icons-user' => [
3075 'class' => ResourceLoaderOOUIImageModule
::class,
3076 'themeImages' => 'icons-user',
3078 'oojs-ui.styles.icons-wikimedia' => [
3079 'class' => ResourceLoaderOOUIImageModule
::class,
3080 'themeImages' => 'icons-wikimedia',