Special case opus mime detction
[mediawiki.git] / resources / Resources.php
blob7c00feb0522a2d5521d677644b6dbe7d2470478f
1 <?php
2 /**
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
20 * @file
23 if ( !defined( 'MEDIAWIKI' ) ) {
24 die( 'Not an entry point.' );
27 return [
29 /**
30 * Special modules who have their own classes
32 'startup' => [ 'class' => 'ResourceLoaderStartUpModule' ],
34 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
35 'site' => [ 'class' => 'ResourceLoaderSiteModule' ],
36 'site.styles' => [ 'class' => 'ResourceLoaderSiteStylesModule' ],
37 'noscript' => [
38 'class' => 'ResourceLoaderWikiModule',
39 'styles' => [ 'MediaWiki:Noscript.css' ],
40 'group' => 'noscript',
42 'filepage' => [
43 'class' => 'ResourceLoaderWikiModule',
44 'styles' => [ 'MediaWiki:Filepage.css' ],
46 'user.groups' => [
47 // Merged into 'user' since MediaWiki 1.28 - kept for back-compat
48 'dependencies' => 'user',
49 'targets' => [ 'desktop', 'mobile' ],
52 // Scripts managed by the current user (stored in their user space)
53 'user' => [ 'class' => 'ResourceLoaderUserModule' ],
54 'user.styles' => [ 'class' => 'ResourceLoaderUserStylesModule' ],
56 // Populate mediawiki.user placeholders with information about the current user
57 'user.defaults' => [ 'class' => 'ResourceLoaderUserDefaultsModule' ],
58 'user.options' => [ 'class' => 'ResourceLoaderUserOptionsModule' ],
59 'user.tokens' => [ 'class' => 'ResourceLoaderUserTokensModule' ],
61 // Scripts for the dynamic language specific data, like grammar forms.
62 'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
64 /* MediaWiki base skinning modules */
66 /**
67 * Common skin styles, grouped into three graded levels.
69 * Level 1 "elements":
70 * The base level that only contains the most basic of common skin styles.
71 * Only styles for single elements are included, no styling for complex structures like the
72 * TOC is present. This level is for skins that want to implement the entire style of even
73 * content area structures like the TOC themselves.
75 * Level 2 "content":
76 * The most commonly used level for skins implemented from scratch. This level includes all
77 * the single element styles from "elements" as well as styles for complex structures such
78 * as the TOC that are output in the content area by MediaWiki rather than the skin.
79 * Essentially this is the common level that lets skins leave the style of the content area
80 * as it is normally styled, while leaving the rest of the skin up to the skin
81 * implementation.
83 * Level 3 "interface":
84 * The highest level, this stylesheet contains extra common styles for classes like
85 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
86 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
87 * common to MonoBook clones. And since practically every skin that currently exists within
88 * core is a MonoBook clone, all our core skins currently use this level.
90 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
91 * dependency management. As a result they contain duplicate stylesheet references instead of
92 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
93 * including more than one of them into your skin as this will result in duplicate CSS.
95 'mediawiki.skinning.elements' => [
96 'styles' => [
97 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
100 'mediawiki.skinning.content' => [
101 'styles' => [
102 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
103 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
106 // Used in the web installer. Test it after modifying this definition!
107 'mediawiki.skinning.interface' => [
108 'class' => 'ResourceLoaderSkinModule',
109 'styles' => [
110 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
111 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
112 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
116 'mediawiki.skinning.content.parsoid' => [
117 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
118 // with the interface.css styles; skinStyles should be used if your
119 // skin over-rides common content styling.
120 'skinStyles' => [
121 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
123 'targets' => [ 'desktop', 'mobile' ],
126 'mediawiki.skinning.content.externallinks' => [
127 'styles' => [
128 'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
132 /* jQuery */
134 'jquery' => [
135 'scripts' => [
136 'resources/lib/jquery/jquery.js',
138 'raw' => true,
139 'targets' => [ 'desktop', 'mobile' ],
142 /* jQuery Plugins */
144 'jquery.accessKeyLabel' => [
145 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
146 'dependencies' => [
147 'jquery.client',
148 'mediawiki.RegExp',
150 'messages' => [ 'brackets', 'word-separator' ],
151 'targets' => [ 'mobile', 'desktop' ],
153 'jquery.appear' => [
154 'deprecated' => [
155 'message' => 'Please use "mediawiki.viewport" instead.',
157 'scripts' => 'resources/lib/jquery/jquery.appear.js',
159 'jquery.arrowSteps' => [
160 'deprecated' => true,
161 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
162 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
163 'targets' => [ 'desktop', 'mobile' ],
165 'jquery.async' => [
166 'scripts' => 'resources/lib/jquery/jquery.async.js',
168 'jquery.autoEllipsis' => [
169 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
170 'dependencies' => 'jquery.highlightText',
171 'targets' => [ 'desktop', 'mobile' ],
173 'jquery.badge' => [
174 'scripts' => 'resources/src/jquery/jquery.badge.js',
175 'styles' => 'resources/src/jquery/jquery.badge.css',
176 'dependencies' => 'mediawiki.language',
178 'jquery.byteLength' => [
179 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
180 'targets' => [ 'desktop', 'mobile' ],
182 'jquery.byteLimit' => [
183 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
184 'dependencies' => 'jquery.byteLength',
185 'targets' => [ 'desktop', 'mobile' ],
187 'jquery.checkboxShiftClick' => [
188 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
189 'targets' => [ 'desktop', 'mobile' ],
191 'jquery.chosen' => [
192 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
193 'styles' => 'resources/lib/jquery.chosen/chosen.css',
195 'jquery.client' => [
196 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
197 'targets' => [ 'desktop', 'mobile' ],
199 'jquery.color' => [
200 'scripts' => 'resources/src/jquery/jquery.color.js',
201 'dependencies' => 'jquery.colorUtil',
203 'jquery.colorUtil' => [
204 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
206 'jquery.confirmable' => [
207 'scripts' => [
208 'resources/src/jquery/jquery.confirmable.js',
209 'resources/src/jquery/jquery.confirmable.mediawiki.js',
211 'messages' => [
212 'confirmable-confirm',
213 'confirmable-yes',
214 'confirmable-no',
215 'word-separator',
217 'styles' => 'resources/src/jquery/jquery.confirmable.css',
218 'dependencies' => 'mediawiki.jqueryMsg',
220 'jquery.cookie' => [
221 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
222 'targets' => [ 'desktop', 'mobile' ],
224 'jquery.expandableField' => [
225 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
227 'jquery.farbtastic' => [
228 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
229 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
230 'dependencies' => 'jquery.colorUtil',
232 'jquery.footHovzer' => [
233 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
234 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
236 'jquery.form' => [
237 'scripts' => 'resources/lib/jquery/jquery.form.js',
239 'jquery.fullscreen' => [
240 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
242 'jquery.getAttrs' => [
243 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
244 'targets' => [ 'desktop', 'mobile' ],
246 'jquery.hidpi' => [
247 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
248 'targets' => [ 'desktop', 'mobile' ],
250 'jquery.highlightText' => [
251 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
252 'dependencies' => [
253 'mediawiki.RegExp',
254 'dom-level2-shim',
256 'targets' => [ 'desktop', 'mobile' ],
258 'jquery.hoverIntent' => [
259 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
261 'jquery.i18n' => [
262 'scripts' => [
263 'resources/lib/jquery.i18n/src/jquery.i18n.js',
264 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
265 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
267 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
268 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
269 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
271 'dependencies' => 'mediawiki.libs.pluralruleparser',
272 'languageScripts' => [
273 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
274 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
275 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
276 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
277 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
278 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
279 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
280 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
281 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
282 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
283 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
284 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
285 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
286 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
288 'targets' => [ 'desktop', 'mobile' ],
290 'jquery.localize' => [
291 'scripts' => 'resources/src/jquery/jquery.localize.js',
293 'jquery.makeCollapsible' => [
294 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
295 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
296 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
297 'targets' => [ 'desktop', 'mobile' ],
299 'jquery.mockjax' => [
300 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
302 'jquery.mw-jump' => [
303 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
304 'targets' => [ 'desktop', 'mobile' ],
306 'jquery.mwExtension' => [
307 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
308 'targets' => [ 'desktop', 'mobile' ],
310 'jquery.placeholder' => [
311 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
312 'targets' => [ 'desktop', 'mobile' ],
314 'jquery.qunit' => [
315 'scripts' => 'resources/lib/qunitjs/qunit.js',
316 'styles' => 'resources/lib/qunitjs/qunit.css',
317 'targets' => [ 'desktop', 'mobile' ],
319 'jquery.qunit.completenessTest' => [
320 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
321 'dependencies' => 'jquery.qunit',
322 'targets' => [ 'desktop', 'mobile' ],
324 'jquery.spinner' => [
325 'scripts' => 'resources/src/jquery/jquery.spinner.js',
326 'styles' => 'resources/src/jquery/jquery.spinner.css',
327 'targets' => [ 'desktop', 'mobile' ],
329 'jquery.jStorage' => [
330 'deprecated' => [
331 'message' => 'Please use "mediawiki.storage" instead.',
333 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
335 'jquery.suggestions' => [
336 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
337 'styles' => 'resources/src/jquery/jquery.suggestions.css',
338 'dependencies' => 'jquery.highlightText',
340 'jquery.tabIndex' => [
341 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
343 'jquery.tablesorter' => [
344 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
345 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
346 'messages' => [ 'sort-descending', 'sort-ascending' ],
347 'dependencies' => [
348 'dom-level2-shim',
349 'mediawiki.RegExp',
350 'mediawiki.language.months',
353 'jquery.textSelection' => [
354 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
355 'dependencies' => 'jquery.client',
356 'targets' => [ 'mobile', 'desktop' ],
358 'jquery.throttle-debounce' => [
359 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
360 'targets' => [ 'desktop', 'mobile' ],
362 'jquery.xmldom' => [
363 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
366 /* jQuery Tipsy */
368 'jquery.tipsy' => [
369 'deprecated' => true,
370 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
371 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
374 /* jQuery UI */
376 'jquery.ui.core' => [
377 'deprecated' => [
378 'message' => 'Please use "mediawiki.ui.button" or "oojs-ui" instead.',
380 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
381 'dependencies' => [
382 'jquery.ui.core.styles',
384 'group' => 'jquery.ui',
386 'jquery.ui.core.styles' => [
387 'skinStyles' => [
388 'default' => [
389 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
390 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
393 'group' => 'jquery.ui',
395 'jquery.ui.accordion' => [
396 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
397 'dependencies' => [
398 'jquery.ui.core',
399 'jquery.ui.widget',
401 'skinStyles' => [
402 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
404 'group' => 'jquery.ui',
406 'jquery.ui.autocomplete' => [
407 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
408 'dependencies' => [
409 'jquery.ui.core',
410 'jquery.ui.widget',
411 'jquery.ui.position',
412 'jquery.ui.menu',
414 'skinStyles' => [
415 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
417 'group' => 'jquery.ui',
419 'jquery.ui.button' => [
420 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
421 'dependencies' => [
422 'jquery.ui.core',
423 'jquery.ui.widget',
425 'skinStyles' => [
426 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
428 'group' => 'jquery.ui',
430 'jquery.ui.datepicker' => [
431 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
432 'dependencies' => 'jquery.ui.core',
433 'skinStyles' => [
434 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
436 'languageScripts' => [
437 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
438 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
439 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
440 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
441 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
442 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
443 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
444 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
445 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
446 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
447 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
448 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
449 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
450 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
451 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
452 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
453 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
454 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
455 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
456 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
457 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
458 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
459 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
460 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
461 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
462 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
463 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
464 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
465 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
466 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
467 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
468 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
469 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
470 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
471 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
472 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
473 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
474 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
475 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
476 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
477 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
478 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
479 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
480 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
481 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
482 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
483 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
484 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
485 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
486 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
487 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
488 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
489 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
490 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
491 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
492 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
493 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
494 'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
495 'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
496 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
497 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
498 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
499 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
500 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
501 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
502 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
503 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
504 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
505 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
507 'group' => 'jquery.ui',
509 'jquery.ui.dialog' => [
510 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
511 'dependencies' => [
512 'jquery.ui.core',
513 'jquery.ui.widget',
514 'jquery.ui.button',
515 'jquery.ui.draggable',
516 'jquery.ui.mouse',
517 'jquery.ui.position',
518 'jquery.ui.resizable',
520 'skinStyles' => [
521 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
523 'group' => 'jquery.ui',
525 'jquery.ui.draggable' => [
526 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
527 'dependencies' => [
528 'jquery.ui.core',
529 'jquery.ui.mouse',
530 'jquery.ui.widget',
532 'group' => 'jquery.ui',
534 'jquery.ui.droppable' => [
535 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
536 'dependencies' => [
537 'jquery.ui.core',
538 'jquery.ui.mouse',
539 'jquery.ui.widget',
540 'jquery.ui.draggable',
542 'group' => 'jquery.ui',
544 'jquery.ui.menu' => [
545 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
546 'dependencies' => [
547 'jquery.ui.core',
548 'jquery.ui.widget',
549 'jquery.ui.position',
551 'skinStyles' => [
552 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
554 'group' => 'jquery.ui',
556 'jquery.ui.mouse' => [
557 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
558 'dependencies' => 'jquery.ui.widget',
559 'group' => 'jquery.ui',
561 'jquery.ui.position' => [
562 'deprecated' => true,
563 'targets' => [ 'mobile', 'desktop' ],
564 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
565 'group' => 'jquery.ui',
567 'jquery.ui.progressbar' => [
568 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
569 'dependencies' => [
570 'jquery.ui.core',
571 'jquery.ui.widget',
573 'skinStyles' => [
574 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
576 'group' => 'jquery.ui',
578 'jquery.ui.resizable' => [
579 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
580 'dependencies' => [
581 'jquery.ui.core',
582 'jquery.ui.widget',
583 'jquery.ui.mouse',
585 'skinStyles' => [
586 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
588 'group' => 'jquery.ui',
590 'jquery.ui.selectable' => [
591 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
592 'dependencies' => [
593 'jquery.ui.core',
594 'jquery.ui.widget',
595 'jquery.ui.mouse',
597 'skinStyles' => [
598 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
600 'group' => 'jquery.ui',
602 'jquery.ui.slider' => [
603 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
604 'dependencies' => [
605 'jquery.ui.core',
606 'jquery.ui.widget',
607 'jquery.ui.mouse',
609 'skinStyles' => [
610 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
612 'group' => 'jquery.ui',
614 'jquery.ui.sortable' => [
615 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
616 'dependencies' => [
617 'jquery.ui.core',
618 'jquery.ui.mouse',
619 'jquery.ui.widget',
621 'group' => 'jquery.ui',
623 'jquery.ui.spinner' => [
624 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
625 'dependencies' => [
626 'jquery.ui.core',
627 'jquery.ui.widget',
628 'jquery.ui.button',
630 'skinStyles' => [
631 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
633 'group' => 'jquery.ui',
635 'jquery.ui.tabs' => [
636 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
637 'dependencies' => [
638 'jquery.ui.core',
639 'jquery.ui.widget',
641 'skinStyles' => [
642 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
644 'group' => 'jquery.ui',
646 'jquery.ui.tooltip' => [
647 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
648 'dependencies' => [
649 'jquery.ui.core',
650 'jquery.ui.widget',
651 'jquery.ui.position',
653 'skinStyles' => [
654 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
656 'group' => 'jquery.ui',
658 'jquery.ui.widget' => [
659 'deprecated' => true,
660 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
661 'group' => 'jquery.ui',
663 // Effects
664 'jquery.effects.core' => [
665 'deprecated' => true,
666 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
667 'group' => 'jquery.ui',
669 'jquery.effects.blind' => [
670 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
671 'dependencies' => 'jquery.effects.core',
672 'group' => 'jquery.ui',
674 'jquery.effects.bounce' => [
675 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
676 'dependencies' => 'jquery.effects.core',
677 'group' => 'jquery.ui',
679 'jquery.effects.clip' => [
680 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
681 'dependencies' => 'jquery.effects.core',
682 'group' => 'jquery.ui',
684 'jquery.effects.drop' => [
685 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
686 'dependencies' => 'jquery.effects.core',
687 'group' => 'jquery.ui',
689 'jquery.effects.explode' => [
690 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
691 'dependencies' => 'jquery.effects.core',
692 'group' => 'jquery.ui',
694 'jquery.effects.fade' => [
695 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
696 'dependencies' => 'jquery.effects.core',
697 'group' => 'jquery.ui',
699 'jquery.effects.fold' => [
700 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
701 'dependencies' => 'jquery.effects.core',
702 'group' => 'jquery.ui',
704 'jquery.effects.highlight' => [
705 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
706 'dependencies' => 'jquery.effects.core',
707 'group' => 'jquery.ui',
709 'jquery.effects.pulsate' => [
710 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
711 'dependencies' => 'jquery.effects.core',
712 'group' => 'jquery.ui',
714 'jquery.effects.scale' => [
715 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
716 'dependencies' => 'jquery.effects.core',
717 'group' => 'jquery.ui',
719 'jquery.effects.shake' => [
720 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
721 'dependencies' => 'jquery.effects.core',
722 'group' => 'jquery.ui',
724 'jquery.effects.slide' => [
725 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
726 'dependencies' => 'jquery.effects.core',
727 'group' => 'jquery.ui',
729 'jquery.effects.transfer' => [
730 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
731 'dependencies' => 'jquery.effects.core',
732 'group' => 'jquery.ui',
735 /* json2 */
737 // Deprecated since MediaWiki 1.29.0
738 'json' => [
739 'deprecated' => 'Use of the "json" MediaWiki module is deprecated since MediaWiki 1.29.0',
740 'targets' => [ 'desktop', 'mobile' ],
743 /* Moment.js */
745 'moment' => [
746 'scripts' => [
747 'resources/lib/moment/moment.js',
748 'resources/src/moment-global.js',
750 'languageScripts' => [
751 'af' => 'resources/lib/moment/locale/af.js',
752 'ar' => 'resources/lib/moment/locale/ar.js',
753 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
754 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
755 'az' => 'resources/lib/moment/locale/az.js',
756 'be' => 'resources/lib/moment/locale/be.js',
757 'bg' => 'resources/lib/moment/locale/bg.js',
758 'bn' => 'resources/lib/moment/locale/bn.js',
759 'bo' => 'resources/lib/moment/locale/bo.js',
760 'br' => 'resources/lib/moment/locale/br.js',
761 'bs' => 'resources/lib/moment/locale/bs.js',
762 'ca' => 'resources/lib/moment/locale/ca.js',
763 'cs' => 'resources/lib/moment/locale/cs.js',
764 'cv' => 'resources/lib/moment/locale/cv.js',
765 'cy' => 'resources/lib/moment/locale/cy.js',
766 'da' => 'resources/lib/moment/locale/da.js',
767 'de' => 'resources/lib/moment/locale/de.js',
768 'de-at' => 'resources/lib/moment/locale/de-at.js',
769 'el' => 'resources/lib/moment/locale/el.js',
770 'en' => 'resources/src/moment-dmy.js',
771 'en-au' => 'resources/lib/moment/locale/en-au.js',
772 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
773 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
774 'eo' => 'resources/lib/moment/locale/eo.js',
775 'es' => 'resources/lib/moment/locale/es.js',
776 'et' => 'resources/lib/moment/locale/et.js',
777 'eu' => 'resources/lib/moment/locale/eu.js',
778 'fa' => 'resources/lib/moment/locale/fa.js',
779 'fi' => 'resources/lib/moment/locale/fi.js',
780 'fo' => 'resources/lib/moment/locale/fo.js',
781 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
782 'fr' => 'resources/lib/moment/locale/fr.js',
783 'gl' => 'resources/lib/moment/locale/gl.js',
784 'he' => 'resources/lib/moment/locale/he.js',
785 'hi' => 'resources/lib/moment/locale/hi.js',
786 'hr' => 'resources/lib/moment/locale/hr.js',
787 'hu' => 'resources/lib/moment/locale/hu.js',
788 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
789 'id' => 'resources/lib/moment/locale/id.js',
790 'is' => 'resources/lib/moment/locale/is.js',
791 'it' => 'resources/lib/moment/locale/it.js',
792 'ja' => 'resources/lib/moment/locale/ja.js',
793 'ka' => 'resources/lib/moment/locale/ka.js',
794 'ko' => 'resources/lib/moment/locale/ko.js',
795 'lt' => 'resources/lib/moment/locale/lt.js',
796 'lv' => 'resources/lib/moment/locale/lv.js',
797 'mk' => 'resources/lib/moment/locale/mk.js',
798 'ml' => 'resources/lib/moment/locale/ml.js',
799 'mr' => 'resources/lib/moment/locale/mr.js',
800 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
801 'my' => 'resources/lib/moment/locale/my.js',
802 'nb' => 'resources/lib/moment/locale/nb.js',
803 'ne' => 'resources/lib/moment/locale/ne.js',
804 'nl' => 'resources/lib/moment/locale/nl.js',
805 'nn' => 'resources/lib/moment/locale/nn.js',
806 'pl' => 'resources/lib/moment/locale/pl.js',
807 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
808 'pt' => 'resources/lib/moment/locale/pt.js',
809 'ro' => 'resources/lib/moment/locale/ro.js',
810 'ru' => 'resources/lib/moment/locale/ru.js',
811 'sk' => 'resources/lib/moment/locale/sk.js',
812 'sl' => 'resources/lib/moment/locale/sl.js',
813 'sq' => 'resources/lib/moment/locale/sq.js',
814 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
815 'sr-el' => 'resources/lib/moment/locale/sr.js',
816 'sv' => 'resources/lib/moment/locale/sv.js',
817 'ta' => 'resources/lib/moment/locale/ta.js',
818 'th' => 'resources/lib/moment/locale/th.js',
819 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
820 'tr' => 'resources/lib/moment/locale/tr.js',
821 'tzm' => 'resources/lib/moment/locale/tzm.js',
822 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
823 'uk' => 'resources/lib/moment/locale/uk.js',
824 'uz' => 'resources/lib/moment/locale/uz.js',
825 'vi' => 'resources/lib/moment/locale/vi.js',
826 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
827 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
828 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
829 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
831 // HACK: skinScripts come after languageScripts, and we need locale overrides to come
832 // after locale definitions
833 'skinScripts' => [
834 'default' => [
835 'resources/src/moment-locale-overrides.js',
838 'dependencies' => [
839 'mediawiki.language',
841 'targets' => [ 'desktop', 'mobile' ],
844 /* MediaWiki */
846 'mediawiki' => [
847 'class' => 'ResourceLoaderRawFileModule',
848 // Keep in sync with maintenance/jsduck/eg-iframe.html
849 'scripts' => [
850 'resources/src/mediawiki/mediawiki.js',
851 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
852 'resources/src/mediawiki/mediawiki.errorLogger.js',
854 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
855 'targets' => [ 'desktop', 'mobile' ],
857 'mediawiki.apihelp' => [
858 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
859 'targets' => [ 'desktop' ],
861 'mediawiki.template' => [
862 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
863 'targets' => [ 'desktop', 'mobile' ],
865 'mediawiki.template.mustache' => [
866 'scripts' => [
867 'resources/lib/mustache/mustache.js',
868 'resources/src/mediawiki/mediawiki.template.mustache.js',
870 'targets' => [ 'desktop', 'mobile' ],
871 'dependencies' => 'mediawiki.template',
873 'mediawiki.template.regexp' => [
874 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
875 'targets' => [ 'desktop', 'mobile' ],
876 'dependencies' => 'mediawiki.template',
878 'mediawiki.apipretty' => [
879 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
880 'targets' => [ 'desktop', 'mobile' ],
882 'mediawiki.api' => [
883 'scripts' => 'resources/src/mediawiki/api.js',
884 'dependencies' => [
885 'mediawiki.util',
886 'user.tokens',
888 'targets' => [ 'desktop', 'mobile' ],
890 'mediawiki.api.category' => [
891 'scripts' => 'resources/src/mediawiki/api/category.js',
892 'dependencies' => [
893 'mediawiki.api',
894 'mediawiki.Title',
897 'mediawiki.api.edit' => [
898 'scripts' => 'resources/src/mediawiki/api/edit.js',
899 'dependencies' => [
900 'mediawiki.api',
901 'mediawiki.Title',
903 'targets' => [ 'desktop', 'mobile' ],
905 'mediawiki.api.login' => [
906 'scripts' => 'resources/src/mediawiki/api/login.js',
907 'dependencies' => 'mediawiki.api',
909 'mediawiki.api.options' => [
910 'scripts' => 'resources/src/mediawiki/api/options.js',
911 'dependencies' => 'mediawiki.api',
912 'targets' => [ 'desktop', 'mobile' ],
914 'mediawiki.api.parse' => [
915 'scripts' => 'resources/src/mediawiki/api/parse.js',
916 'dependencies' => 'mediawiki.api',
917 'targets' => [ 'desktop', 'mobile' ],
919 'mediawiki.api.upload' => [
920 'scripts' => 'resources/src/mediawiki/api/upload.js',
921 'dependencies' => [
922 'dom-level2-shim',
923 'mediawiki.api',
924 'mediawiki.api.edit',
926 'targets' => [ 'desktop', 'mobile' ],
928 'mediawiki.api.user' => [
929 'scripts' => 'resources/src/mediawiki/api/user.js',
930 'dependencies' => [
931 'mediawiki.api',
933 'targets' => [ 'desktop', 'mobile' ],
935 'mediawiki.api.watch' => [
936 'scripts' => 'resources/src/mediawiki/api/watch.js',
937 'dependencies' => [
938 'mediawiki.api',
941 'mediawiki.api.messages' => [
942 'scripts' => 'resources/src/mediawiki/api/messages.js',
943 'dependencies' => [
944 'mediawiki.api',
946 'targets' => [ 'desktop', 'mobile' ],
948 'mediawiki.api.rollback' => [
949 'scripts' => 'resources/src/mediawiki/api/rollback.js',
950 'dependencies' => [
951 'mediawiki.api',
954 'mediawiki.content.json' => [
955 'styles' => 'resources/src/mediawiki/mediawiki.content.json.less',
957 'mediawiki.confirmCloseWindow' => [
958 'scripts' => [
959 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
961 'targets' => [ 'desktop', 'mobile' ],
963 'mediawiki.debug' => [
964 'scripts' => [
965 'resources/src/mediawiki/mediawiki.debug.js',
967 'styles' => [
968 'resources/src/mediawiki/mediawiki.debug.less',
970 'dependencies' => [
971 'jquery.footHovzer',
974 'mediawiki.diff.styles' => [
975 'styles' => [
976 'resources/src/mediawiki/mediawiki.diff.styles.css',
977 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
978 'media' => 'print'
981 'targets' => [ 'desktop', 'mobile' ],
983 'mediawiki.feedback' => [
984 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
985 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
986 'dependencies' => [
987 'mediawiki.messagePoster',
988 'mediawiki.Title',
989 'oojs-ui-core',
990 'oojs-ui-windows',
992 'messages' => [
993 'feedback-adding',
994 'feedback-back',
995 'feedback-bugcheck',
996 'feedback-dialog-intro',
997 'feedback-external-bug-report-button',
998 'feedback-bugnew',
999 'feedback-bugornote',
1000 'feedback-cancel',
1001 'feedback-close',
1002 'feedback-dialog-title',
1003 'feedback-error1',
1004 'feedback-error2',
1005 'feedback-error3',
1006 'feedback-error4',
1007 'feedback-message',
1008 'feedback-subject',
1009 'feedback-submit',
1010 'feedback-terms',
1011 'feedback-termsofuse',
1012 'feedback-thanks',
1013 'feedback-thanks-title',
1014 'feedback-useragent'
1016 'targets' => [ 'desktop', 'mobile' ],
1018 'mediawiki.feedlink' => [
1019 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1021 'mediawiki.filewarning' => [
1022 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1023 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1024 'dependencies' => [
1025 'oojs-ui-core',
1028 'mediawiki.ForeignApi' => [
1029 'targets' => [ 'desktop', 'mobile' ],
1030 'class' => 'ResourceLoaderForeignApiModule',
1031 // Additional dependencies generated dynamically
1032 'dependencies' => 'mediawiki.ForeignApi.core',
1034 'mediawiki.ForeignApi.core' => [
1035 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1036 'dependencies' => [
1037 'mediawiki.api',
1038 'oojs',
1040 'targets' => [ 'desktop', 'mobile' ],
1042 'mediawiki.helplink' => [
1043 'styles' => [
1044 'resources/src/mediawiki/mediawiki.helplink.less',
1046 'targets' => [ 'desktop', 'mobile' ],
1048 'mediawiki.hidpi' => [
1049 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1050 'dependencies' => 'jquery.hidpi',
1051 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1052 'targets' => [ 'desktop', 'mobile' ],
1054 'mediawiki.hlist' => [
1055 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1057 'mediawiki.htmlform' => [
1058 'scripts' => [
1059 'resources/src/mediawiki/htmlform/htmlform.js',
1060 'resources/src/mediawiki/htmlform/autocomplete.js',
1061 'resources/src/mediawiki/htmlform/autoinfuse.js',
1062 'resources/src/mediawiki/htmlform/checkmatrix.js',
1063 'resources/src/mediawiki/htmlform/cloner.js',
1064 'resources/src/mediawiki/htmlform/hide-if.js',
1065 'resources/src/mediawiki/htmlform/multiselect.js',
1066 'resources/src/mediawiki/htmlform/selectandother.js',
1067 'resources/src/mediawiki/htmlform/selectorother.js',
1069 'dependencies' => [
1070 'mediawiki.RegExp',
1071 'jquery.byteLimit',
1073 'messages' => [
1074 'htmlform-chosen-placeholder',
1075 // @todo Load this message in content language
1076 'colon-separator',
1078 'targets' => [ 'desktop', 'mobile' ],
1080 'mediawiki.htmlform.ooui' => [
1081 'scripts' => [
1082 'resources/src/mediawiki/htmlform/htmlform.Element.js',
1084 'dependencies' => [
1085 'oojs-ui-core',
1087 'targets' => [ 'desktop', 'mobile' ],
1089 'mediawiki.htmlform.styles' => [
1090 'styles' => 'resources/src/mediawiki/htmlform/styles.css',
1091 'targets' => [ 'desktop', 'mobile' ],
1093 'mediawiki.htmlform.ooui.styles' => [
1094 'styles' => 'resources/src/mediawiki/htmlform/ooui.styles.css',
1095 'targets' => [ 'desktop', 'mobile' ],
1097 'mediawiki.icon' => [
1098 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1099 'targets' => [ 'desktop', 'mobile' ],
1101 'mediawiki.inspect' => [
1102 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1103 'dependencies' => [
1104 'jquery.byteLength',
1105 'mediawiki.RegExp',
1107 'targets' => [ 'desktop', 'mobile' ],
1109 'mediawiki.messagePoster' => [
1110 'scripts' => [
1111 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1112 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1114 'dependencies' => [
1115 'oojs',
1116 'mediawiki.api',
1117 'mediawiki.ForeignApi',
1119 'targets' => [ 'desktop', 'mobile' ],
1121 'mediawiki.messagePoster.wikitext' => [
1122 'scripts' => [
1123 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1125 'dependencies' => [
1126 'mediawiki.api.edit',
1127 'mediawiki.messagePoster',
1129 'targets' => [ 'desktop', 'mobile' ],
1131 'mediawiki.notification' => [
1132 'styles' => [
1133 'resources/src/mediawiki/mediawiki.notification.common.css',
1134 'resources/src/mediawiki/mediawiki.notification.print.css'
1135 => [ 'media' => 'print' ],
1137 'skinStyles' => [
1138 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1140 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1141 'dependencies' => 'mediawiki.page.startup',
1142 'targets' => [ 'desktop', 'mobile' ],
1144 'mediawiki.notify' => [
1145 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1146 'targets' => [ 'desktop', 'mobile' ],
1148 'mediawiki.notification.convertmessagebox' => [
1149 'dependencies' => [
1150 'mediawiki.notification',
1152 'scripts' => 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.js',
1153 'targets' => [ 'desktop', 'mobile' ],
1155 'mediawiki.notification.convertmessagebox.styles' => [
1156 'styles' => [
1157 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.styles.less',
1159 'targets' => [ 'desktop', 'mobile' ],
1161 'mediawiki.RegExp' => [
1162 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1163 'targets' => [ 'desktop', 'mobile' ],
1165 'mediawiki.pager.tablePager' => [
1166 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1168 'mediawiki.searchSuggest' => [
1169 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1170 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1171 'messages' => [
1172 'searchsuggest-search',
1173 'searchsuggest-containing',
1175 'dependencies' => [
1176 'jquery.placeholder',
1177 'jquery.suggestions',
1178 'jquery.getAttrs',
1179 'mediawiki.api',
1182 'mediawiki.sectionAnchor' => [
1183 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1184 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1185 'targets' => [ 'desktop', 'mobile' ],
1187 'mediawiki.storage' => [
1188 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1189 'targets' => [ 'desktop', 'mobile' ],
1191 'mediawiki.Title' => [
1192 'scripts' => [
1193 'resources/src/mediawiki/mediawiki.Title.js',
1194 'resources/src/mediawiki/mediawiki.Title.phpCharToUpper.js',
1196 'dependencies' => [
1197 'jquery.byteLength',
1198 'mediawiki.util',
1200 'targets' => [ 'desktop', 'mobile' ],
1202 'mediawiki.Upload' => [
1203 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1204 'dependencies' => [
1205 'dom-level2-shim',
1206 'mediawiki.api.upload',
1209 'mediawiki.ForeignUpload' => [
1210 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1211 'dependencies' => [
1212 'mediawiki.ForeignApi',
1213 'mediawiki.Upload',
1214 'oojs',
1216 'messages' => [
1217 'uploaddisabledtext',
1218 'upload-dialog-disabled',
1219 'upload-foreign-cant-upload',
1222 'mediawiki.ForeignStructuredUpload.config' => [
1223 'class' => 'ResourceLoaderUploadDialogModule',
1225 'mediawiki.ForeignStructuredUpload' => [
1226 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1227 'dependencies' => [
1228 'mediawiki.ForeignUpload',
1229 'mediawiki.ForeignStructuredUpload.config',
1231 'messages' => [
1232 'upload-foreign-cant-load-config',
1235 'mediawiki.Upload.Dialog' => [
1236 'scripts' => [
1237 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1239 'dependencies' => [
1240 'mediawiki.Upload.BookletLayout',
1242 'messages' => [
1243 'upload-dialog-title',
1244 'upload-dialog-button-cancel',
1245 'upload-dialog-button-back',
1246 'upload-dialog-button-done',
1247 'upload-dialog-button-save',
1248 'upload-dialog-button-upload',
1251 'mediawiki.Upload.BookletLayout' => [
1252 'scripts' => [
1253 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1255 'styles' => [
1256 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1258 'dependencies' => [
1259 'oojs-ui-core',
1260 'oojs-ui-widgets',
1261 'oojs-ui-windows',
1262 'oojs-ui.styles.icons-content',
1263 'oojs-ui.styles.icons-editing-advanced',
1264 'moment',
1265 'mediawiki.Title',
1266 'mediawiki.user',
1267 'mediawiki.Upload',
1268 'mediawiki.jqueryMsg',
1269 'mediawiki.widgets.StashedFileWidget'
1271 'messages' => [
1272 'upload-form-label-infoform-title',
1273 'upload-form-label-infoform-name',
1274 'upload-form-label-infoform-name-tooltip',
1275 'upload-form-label-infoform-description',
1276 'upload-form-label-infoform-description-tooltip',
1277 'upload-form-label-usage-title',
1278 'upload-form-label-usage-filename',
1279 'api-error-unknownerror',
1280 'api-error-unknown-warning',
1281 'api-error-autoblocked',
1282 'api-error-blocked',
1283 'api-error-badaccess-groups',
1284 'api-error-badtoken',
1285 'api-error-copyuploaddisabled',
1286 'api-error-duplicate',
1287 'api-error-duplicate-archive',
1288 'api-error-empty-file',
1289 'api-error-emptypage',
1290 'api-error-fetchfileerror',
1291 'api-error-fileexists-forbidden',
1292 'api-error-fileexists-shared-forbidden',
1293 'api-error-file-too-large',
1294 'api-error-filename-tooshort',
1295 'api-error-filetype-banned',
1296 'api-error-filetype-banned-type',
1297 'api-error-filetype-missing',
1298 'api-error-hookaborted',
1299 'api-error-http',
1300 'api-error-illegal-filename',
1301 'api-error-internal-error',
1302 'api-error-invalid-file-key',
1303 'api-error-missingparam',
1304 'api-error-missingresult',
1305 'api-error-mustbeloggedin',
1306 'api-error-mustbeposted',
1307 'api-error-noimageinfo',
1308 'api-error-nomodule',
1309 'api-error-ok-but-empty',
1310 'api-error-overwrite',
1311 'api-error-stashfailed',
1312 'api-error-publishfailed',
1313 'api-error-stasherror',
1314 'api-error-stashedfilenotfound',
1315 'api-error-stashpathinvalid',
1316 'api-error-stashfilestorage',
1317 'api-error-stashzerolength',
1318 'api-error-stashnotloggedin',
1319 'api-error-stashwrongowner',
1320 'api-error-stashnosuchfilekey',
1321 'api-error-timeout',
1322 'api-error-unclassified',
1323 'api-error-unknown-code',
1324 'api-error-unknown-error',
1325 'api-error-uploaddisabled',
1326 'api-error-verification-error',
1327 'api-error-was-deleted',
1328 'fileexists',
1329 'filepageexists',
1330 'filename-bad-prefix',
1331 'filename-thumb-name',
1332 'badfilename',
1333 'protectedpagetext',
1336 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1337 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1338 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1339 'dependencies' => [
1340 'mediawiki.ForeignStructuredUpload',
1341 'mediawiki.Upload.BookletLayout',
1342 'mediawiki.widgets.CategorySelector',
1343 'mediawiki.widgets.DateInputWidget',
1344 'mediawiki.jqueryMsg',
1345 'mediawiki.api.messages',
1346 'moment',
1347 'mediawiki.libs.jpegmeta',
1349 'messages' => [
1350 'upload-form-label-own-work',
1351 'upload-form-label-infoform-categories',
1352 'upload-form-label-infoform-date',
1353 'upload-form-label-own-work-message-generic-local',
1354 'upload-form-label-not-own-work-message-generic-local',
1355 'upload-form-label-not-own-work-local-generic-local',
1356 'upload-form-label-own-work-message-generic-foreign',
1357 'upload-form-label-not-own-work-message-generic-foreign',
1358 'upload-form-label-not-own-work-local-generic-foreign',
1361 'mediawiki.toc' => [
1362 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1363 'styles' => [
1364 'resources/src/mediawiki/mediawiki.toc.css'
1365 => [ 'media' => 'screen' ],
1366 'resources/src/mediawiki/mediawiki.toc.print.css'
1367 => [ 'media' => 'print' ],
1369 'dependencies' => 'mediawiki.cookie',
1370 'messages' => [ 'showtoc', 'hidetoc' ],
1371 'targets' => [ 'desktop', 'mobile' ],
1373 'mediawiki.Uri' => [
1374 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1375 'templates' => [
1376 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1377 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1379 'dependencies' => 'mediawiki.util',
1380 'targets' => [ 'desktop', 'mobile' ],
1382 'mediawiki.user.blockcookie' => [
1383 'scripts' => 'resources/src/mediawiki/mediawiki.user.blockcookie.js',
1384 'dependencies' => [ 'mediawiki.cookie', 'mediawiki.storage' ],
1385 'targets' => [ 'desktop', 'mobile' ],
1387 'mediawiki.user' => [
1388 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1389 'dependencies' => [
1390 'mediawiki.cookie',
1391 'mediawiki.api',
1392 'mediawiki.api.user',
1393 'user.options',
1394 'user.tokens',
1396 'targets' => [ 'desktop', 'mobile' ],
1398 'mediawiki.reasonSuggest' => [
1399 'scripts' => 'resources/src/mediawiki/mediawiki.reasonSuggest.js',
1400 'dependencies' => [
1401 'jquery.suggestions',
1402 'mediawiki.api.messages'
1405 'mediawiki.userSuggest' => [
1406 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1407 'dependencies' => [
1408 'jquery.suggestions',
1409 'mediawiki.api'
1412 'mediawiki.util' => [
1413 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1414 'dependencies' => [
1415 'jquery.accessKeyLabel',
1416 'mediawiki.RegExp',
1417 'mediawiki.notify',
1419 'targets' => [ 'desktop', 'mobile' ],
1421 'mediawiki.viewport' => [
1422 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1423 'targets' => [ 'desktop', 'mobile' ],
1425 'mediawiki.checkboxtoggle' => [
1426 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1428 'mediawiki.checkboxtoggle.styles' => [
1429 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1431 'mediawiki.cookie' => [
1432 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1433 'dependencies' => 'jquery.cookie',
1434 'targets' => [ 'desktop', 'mobile' ],
1436 'mediawiki.toolbar' => [
1437 'class' => 'ResourceLoaderEditToolbarModule',
1438 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1439 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1440 'dependencies' => 'jquery.textSelection',
1442 'mediawiki.experiments' => [
1443 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1444 'targets' => [ 'desktop', 'mobile' ],
1447 /* MediaWiki Action */
1449 'mediawiki.action.edit' => [
1450 'scripts' => [
1451 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1452 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1454 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1455 'dependencies' => [
1456 'mediawiki.action.edit.styles',
1457 'jquery.textSelection',
1458 'jquery.byteLimit',
1459 'mediawiki.api',
1462 'mediawiki.action.edit.styles' => [
1463 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1465 'mediawiki.action.edit.collapsibleFooter' => [
1466 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1467 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1468 'dependencies' => [
1469 'jquery.makeCollapsible',
1470 'mediawiki.cookie',
1471 'mediawiki.icon',
1474 'mediawiki.action.edit.preview' => [
1475 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1476 'dependencies' => [
1477 'jquery.form',
1478 'jquery.spinner',
1479 'jquery.textSelection',
1480 'mediawiki.api',
1481 'mediawiki.diff.styles',
1482 'mediawiki.util',
1483 'mediawiki.jqueryMsg',
1485 'messages' => [
1486 // Keep the uses message keys in sync with EditPage#setHeaders
1487 'creating',
1488 'editconflict',
1489 'editing',
1490 'editingcomment',
1491 'editingsection',
1492 'pagetitle',
1493 'otherlanguages',
1494 'summary-preview',
1495 'subject-preview',
1496 'parentheses',
1497 'previewerrortext',
1500 'mediawiki.action.history' => [
1501 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1502 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1504 'mediawiki.action.history.styles' => [
1505 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1507 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1508 'mediawiki.action.history.diff' => [
1509 'styles' => [
1510 'resources/src/mediawiki/mediawiki.diff.styles.css',
1511 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1512 'media' => 'print'
1515 'targets' => [ 'desktop', 'mobile' ],
1517 'mediawiki.action.view.dblClickEdit' => [
1518 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1519 'dependencies' => [
1520 'mediawiki.util',
1521 'mediawiki.page.startup',
1522 'user.options',
1525 'mediawiki.action.view.metadata' => [
1526 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1527 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1528 'messages' => [
1529 'metadata-expand',
1530 'metadata-collapse',
1533 'mediawiki.action.view.categoryPage.styles' => [
1534 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1535 'targets' => [ 'desktop', 'mobile' ]
1537 'mediawiki.action.view.postEdit' => [
1538 'templates' => [
1539 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1541 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1542 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1543 'dependencies' => [
1544 'mediawiki.cookie',
1545 'mediawiki.jqueryMsg'
1547 'messages' => [
1548 'postedit-confirmation-created',
1549 'postedit-confirmation-restored',
1550 'postedit-confirmation-saved',
1553 'mediawiki.action.view.redirect' => [
1554 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1555 'dependencies' => 'jquery.client',
1556 'targets' => [ 'desktop', 'mobile' ],
1558 'mediawiki.action.view.redirectPage' => [
1559 'targets' => [ 'desktop', 'mobile' ],
1560 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1562 'mediawiki.action.view.rightClickEdit' => [
1563 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1565 'mediawiki.action.edit.editWarning' => [
1566 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1567 'dependencies' => [
1568 'jquery.textSelection',
1569 'mediawiki.jqueryMsg',
1570 'mediawiki.confirmCloseWindow',
1571 'user.options',
1573 'messages' => [
1574 'editwarning-warning',
1575 // editwarning-warning uses {{int:prefs-editing}}
1576 'prefs-editing'
1579 'mediawiki.action.view.filepage' => [
1580 'styles' => [
1581 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1582 [ 'media' => 'print' ],
1583 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1587 /* MediaWiki Language */
1589 'mediawiki.language' => [
1590 'scripts' => [
1591 'resources/src/mediawiki.language/mediawiki.language.js',
1592 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1593 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1595 'languageScripts' => [
1596 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1597 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1598 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1599 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1600 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1601 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1602 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1603 'la' => 'resources/src/mediawiki.language/languages/la.js',
1604 'os' => 'resources/src/mediawiki.language/languages/os.js',
1605 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1607 'dependencies' => [
1608 'mediawiki.language.data',
1609 'mediawiki.cldr',
1611 'targets' => [ 'desktop', 'mobile' ],
1612 'messages' => [
1613 'and',
1614 'comma-separator',
1615 'word-separator'
1619 'mediawiki.cldr' => [
1620 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1621 'dependencies' => [
1622 'mediawiki.libs.pluralruleparser',
1624 'targets' => [ 'desktop', 'mobile' ],
1627 'mediawiki.libs.pluralruleparser' => [
1628 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1629 'targets' => [ 'desktop', 'mobile' ],
1632 'mediawiki.language.init' => [
1633 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1634 'targets' => [ 'desktop', 'mobile' ],
1637 'mediawiki.jqueryMsg' => [
1638 // Add data for mediawiki.jqueryMsg, such as allowed tags
1639 'class' => 'ResourceLoaderJqueryMsgModule',
1640 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1641 'dependencies' => [
1642 'mediawiki.util',
1643 'mediawiki.language',
1644 'user.options',
1645 'dom-level2-shim',
1647 'targets' => [ 'desktop', 'mobile' ],
1650 'mediawiki.language.months' => [
1651 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1652 'dependencies' => 'mediawiki.language',
1653 'messages' => array_merge(
1654 Language::$mMonthMsgs,
1655 Language::$mMonthGenMsgs,
1656 Language::$mMonthAbbrevMsgs
1660 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1662 'mediawiki.language.specialCharacters' => [
1663 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1666 /* MediaWiki Libs */
1668 'mediawiki.libs.jpegmeta' => [
1669 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1670 'targets' => [ 'desktop', 'mobile' ],
1673 /* MediaWiki Page */
1675 'mediawiki.page.gallery' => [
1676 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1677 'dependencies' => [
1678 'mediawiki.page.gallery.styles',
1679 'jquery.throttle-debounce',
1682 'mediawiki.page.gallery.styles' => [
1683 'styles' => [
1684 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1685 'resources/src/mediawiki/page/gallery.css',
1687 'targets' => [ 'desktop', 'mobile' ],
1689 'mediawiki.page.gallery.slideshow' => [
1690 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1691 'dependencies' => [
1692 'mediawiki.api',
1693 'mediawiki.Title',
1694 'oojs',
1695 'oojs-ui-core',
1696 'oojs-ui-widgets',
1697 'oojs-ui.styles.icons-media'
1699 'messages' => [
1700 'gallery-slideshow-toggle'
1703 'mediawiki.page.ready' => [
1704 'scripts' => 'resources/src/mediawiki/page/ready.js',
1705 'dependencies' => [
1706 'jquery.accessKeyLabel',
1707 'jquery.checkboxShiftClick',
1708 'jquery.makeCollapsible',
1709 'jquery.placeholder',
1710 'jquery.mw-jump',
1712 'targets' => [ 'desktop', 'mobile' ],
1714 'mediawiki.page.startup' => [
1715 'scripts' => 'resources/src/mediawiki/page/startup.js',
1716 'dependencies' => 'mediawiki.util',
1717 'targets' => [ 'desktop', 'mobile' ],
1719 'mediawiki.page.patrol.ajax' => [
1720 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1721 'dependencies' => [
1722 'mediawiki.page.startup',
1723 'mediawiki.api',
1724 'mediawiki.util',
1725 'mediawiki.Title',
1726 'mediawiki.notify',
1727 'jquery.spinner',
1728 'user.tokens'
1730 'messages' => [
1731 'markedaspatrollednotify',
1732 'markedaspatrollederrornotify',
1733 'markedaspatrollederror-noautopatrol'
1736 'mediawiki.page.watch.ajax' => [
1737 'scripts' => 'resources/src/mediawiki/page/watch.js',
1738 'dependencies' => [
1739 'mediawiki.page.startup',
1740 'mediawiki.api.watch',
1741 'mediawiki.notify',
1742 'mediawiki.util',
1743 'mediawiki.Title',
1744 'mediawiki.jqueryMsg',
1745 'jquery.accessKeyLabel',
1746 'mediawiki.RegExp',
1748 'messages' => [
1749 'watch',
1750 'unwatch',
1751 'watching',
1752 'unwatching',
1753 'tooltip-ca-watch',
1754 'tooltip-ca-unwatch',
1755 'watcherrortext',
1756 'addedwatchtext',
1757 'addedwatchtext-talk',
1758 'removedwatchtext',
1759 'removedwatchtext-talk',
1762 'mediawiki.page.rollback' => [
1763 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1764 'dependencies' => [
1765 'mediawiki.api.rollback',
1766 'mediawiki.notify',
1767 'jquery.spinner',
1769 'messages' => [
1770 'rollbackfailed',
1771 'actioncomplete',
1774 'mediawiki.page.image.pagination' => [
1775 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1776 'dependencies' => [
1777 'mediawiki.util',
1778 'jquery.spinner',
1782 /* MediaWiki Special pages */
1784 'mediawiki.rcfilters.filters' => [
1785 'scripts' => [
1786 'resources/src/mediawiki.rcfilters/mw.rcfilters.js',
1787 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterItem.js',
1788 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FiltersViewModel.js',
1789 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FiltersListWidget.js',
1790 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterGroupWidget.js',
1791 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemWidget.js',
1792 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterCapsuleMultiselectWidget.js',
1793 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js',
1794 'resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js',
1795 'resources/src/mediawiki.rcfilters/mw.rcfilters.init.js',
1797 'styles' => [
1798 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.less',
1799 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterItemWidget.less',
1800 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterGroupWidget.less',
1801 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FiltersListWidget.less',
1802 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less',
1803 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterCapsuleMultiselectWidget.less',
1805 'messages' => [
1806 'rcfilters-activefilters',
1807 'rcfilters-search-placeholder',
1808 'rcfilters-invalid-filter',
1809 'rcfilters-filterlist-title',
1810 'rcfilters-filterlist-noresults',
1811 'rcfilters-filtergroup-authorship',
1812 'rcfilters-filter-editsbyself-label',
1813 'rcfilters-filter-editsbyself-description',
1814 'rcfilters-filter-editsbyother-label',
1815 'rcfilters-filter-editsbyother-description',
1816 'rcfilters-filtergroup-userExpLevel',
1817 'rcfilters-filter-userExpLevel-newcomer-label',
1818 'rcfilters-filter-userExpLevel-newcomer-description',
1819 'rcfilters-filter-userExpLevel-learner-label',
1820 'rcfilters-filter-userExpLevel-learner-description',
1821 'rcfilters-filter-userExpLevel-experienced-label',
1822 'rcfilters-filter-userExpLevel-experienced-description',
1824 'dependencies' => [
1825 'oojs-ui',
1826 'mediawiki.Uri',
1829 'mediawiki.special' => [
1830 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1831 'targets' => [ 'desktop', 'mobile' ],
1833 'mediawiki.special.apisandbox.styles' => [
1834 'targets' => [ 'desktop', 'mobile' ],
1835 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1837 'mediawiki.special.apisandbox' => [
1838 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1839 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1840 'targets' => [ 'desktop', 'mobile' ],
1841 'dependencies' => [
1842 'mediawiki.api',
1843 'mediawiki.jqueryMsg',
1844 'oojs-ui',
1845 'mediawiki.widgets.datetime',
1847 'messages' => [
1848 'apisandbox-intro',
1849 'apisandbox-submit',
1850 'apisandbox-reset',
1851 'apisandbox-fullscreen',
1852 'apisandbox-fullscreen-tooltip',
1853 'apisandbox-unfullscreen',
1854 'apisandbox-unfullscreen-tooltip',
1855 'apisandbox-retry',
1856 'apisandbox-loading',
1857 'apisandbox-load-error',
1858 'apisandbox-fetch-token',
1859 'apisandbox-helpurls',
1860 'apisandbox-examples',
1861 'apisandbox-dynamic-parameters',
1862 'apisandbox-dynamic-parameters-add-label',
1863 'apisandbox-dynamic-parameters-add-placeholder',
1864 'apisandbox-dynamic-error-exists',
1865 'apisandbox-deprecated-parameters',
1866 'apisandbox-no-parameters',
1867 'api-help-param-limit',
1868 'api-help-param-limit2',
1869 'api-help-param-integer-min',
1870 'api-help-param-integer-max',
1871 'api-help-param-integer-minmax',
1872 'api-help-param-multi-separate',
1873 'api-help-param-multi-max',
1874 'apisandbox-submit-invalid-fields-title',
1875 'apisandbox-submit-invalid-fields-message',
1876 'apisandbox-results',
1877 'apisandbox-sending-request',
1878 'apisandbox-loading-results',
1879 'apisandbox-results-error',
1880 'apisandbox-request-params-json',
1881 'apisandbox-request-url-label',
1882 'apisandbox-request-time',
1883 'apisandbox-results-fixtoken',
1884 'apisandbox-results-fixtoken-fail',
1885 'apisandbox-alert-page',
1886 'apisandbox-alert-field',
1887 'apisandbox-continue',
1888 'apisandbox-continue-clear',
1889 'apisandbox-continue-help',
1890 'apisandbox-param-limit',
1891 'apisandbox-multivalue-all-namespaces',
1892 'apisandbox-multivalue-all-values',
1893 'api-format-prettyprint-status',
1894 'blanknamespace',
1897 'mediawiki.special.block' => [
1898 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1899 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1900 'dependencies' => 'mediawiki.util',
1902 'mediawiki.special.changeslist' => [
1903 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1904 'targets' => [ 'desktop', 'mobile' ],
1906 'mediawiki.special.changeslist.legend' => [
1907 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1908 'targets' => [ 'desktop', 'mobile' ],
1910 'mediawiki.special.changeslist.legend.js' => [
1911 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1912 'dependencies' => [
1913 'jquery.makeCollapsible',
1914 'mediawiki.cookie',
1916 'targets' => [ 'desktop', 'mobile' ],
1918 'mediawiki.special.changeslist.enhanced' => [
1919 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1921 'mediawiki.special.changeslist.visitedstatus' => [
1922 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1924 'mediawiki.special.comparepages.styles' => [
1925 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1927 'mediawiki.special.edittags' => [
1928 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1929 'dependencies' => [
1930 'jquery.chosen',
1932 'messages' => [
1933 'tags-edit-chosen-placeholder',
1934 'tags-edit-chosen-no-results',
1937 'mediawiki.special.edittags.styles' => [
1938 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1940 'mediawiki.special.import' => [
1941 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1943 'mediawiki.special.movePage' => [
1944 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1945 'dependencies' => [
1946 'jquery.byteLimit',
1947 'mediawiki.widgets',
1950 'mediawiki.special.movePage.styles' => [
1951 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1953 'mediawiki.special.pageLanguage' => [
1954 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1955 'dependencies' => [
1956 'oojs-ui-core',
1959 'mediawiki.special.pagesWithProp' => [
1960 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1962 'mediawiki.special.preferences' => [
1963 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1964 'messages' => [
1965 'prefs-tabs-navigation-hint',
1966 'prefswarning-warning',
1967 'saveprefs',
1968 'savedprefs',
1970 'dependencies' => [
1971 'mediawiki.language',
1972 'mediawiki.confirmCloseWindow',
1973 'mediawiki.notification.convertmessagebox',
1976 'mediawiki.special.userrights' => [
1977 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
1978 'dependencies' => [
1979 'mediawiki.notification.convertmessagebox',
1982 'mediawiki.special.preferences.styles' => [
1983 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1985 'mediawiki.special.recentchanges' => [
1986 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1987 'targets' => [ 'desktop', 'mobile' ],
1989 'mediawiki.special.search' => [
1990 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1991 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1992 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
1993 'messages' => [
1994 'powersearch-togglelabel',
1995 'powersearch-toggleall',
1996 'powersearch-togglenone',
1999 'mediawiki.special.search.styles' => [
2000 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
2001 'targets' => [ 'desktop', 'mobile' ],
2003 'mediawiki.special.undelete' => [
2004 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
2006 'mediawiki.special.upload' => [
2007 'templates' => [
2008 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
2010 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
2011 'messages' => [
2012 'widthheight',
2013 'size-bytes',
2014 'size-kilobytes',
2015 'size-megabytes',
2016 'size-gigabytes',
2017 'largefileserver',
2018 'editwarning-warning',
2019 // editwarning-warning uses {{int:prefs-editing}}
2020 'prefs-editing',
2022 'dependencies' => [
2023 'mediawiki.special.upload.styles',
2024 'jquery.spinner',
2025 'mediawiki.jqueryMsg',
2026 'mediawiki.api',
2027 'mediawiki.libs.jpegmeta',
2028 'mediawiki.Title',
2029 'mediawiki.util',
2030 'mediawiki.confirmCloseWindow',
2031 'user.options',
2034 'mediawiki.special.upload.styles' => [
2035 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2037 'mediawiki.special.userlogin.common.styles' => [
2038 'styles' => [
2039 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2042 'mediawiki.special.userlogin.signup.styles' => [
2043 'styles' => [
2044 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2047 'mediawiki.special.userlogin.login.styles' => [
2048 'styles' => [
2049 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2052 'mediawiki.special.userlogin.signup.js' => [
2053 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2054 'messages' => [
2055 'createacct-error',
2056 'createacct-emailrequired',
2057 'noname',
2058 'userexists',
2060 'dependencies' => [
2061 'mediawiki.api',
2062 'mediawiki.jqueryMsg',
2063 'jquery.throttle-debounce',
2066 'mediawiki.special.unwatchedPages' => [
2067 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2068 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2069 'messages' => [
2070 'addedwatchtext-short',
2071 'removedwatchtext-short',
2072 'unwatch',
2073 'unwatching',
2074 'watch',
2075 'watcherrortext',
2076 'watching',
2078 'dependencies' => [
2079 'mediawiki.api',
2080 'mediawiki.api.watch',
2081 'mediawiki.notify',
2082 'mediawiki.Title',
2083 'mediawiki.util',
2086 'mediawiki.special.watchlist' => [
2087 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2088 'dependencies' => [
2089 'mediawiki.api',
2090 'oojs-ui-core',
2091 'user.options',
2094 'mediawiki.special.version' => [
2095 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2098 /* MediaWiki Installer */
2100 // Used in the web installer. Test it after modifying this definition!
2101 'mediawiki.legacy.config' => [
2102 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2103 'scripts' => 'mw-config/config.js',
2104 'styles' => 'mw-config/config.css',
2107 /* MediaWiki Legacy */
2109 'mediawiki.legacy.commonPrint' => [
2110 'styles' => [
2111 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2114 'mediawiki.legacy.protect' => [
2115 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2116 'dependencies' => 'jquery.byteLimit',
2117 'messages' => [ 'protect-unchain-permissions' ]
2119 // Used in the web installer. Test it after modifying this definition!
2120 'mediawiki.legacy.shared' => [
2121 'styles' => [
2122 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2125 'mediawiki.legacy.oldshared' => [
2126 'styles' => [
2127 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2130 'mediawiki.legacy.wikibits' => [
2131 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2132 'dependencies' => 'mediawiki.util',
2133 'targets' => [ 'desktop', 'mobile' ],
2136 /* MediaWiki UI */
2138 'mediawiki.ui' => [
2139 'skinStyles' => [
2140 'default' => [
2141 'resources/src/mediawiki.ui/default.less',
2144 'targets' => [ 'desktop', 'mobile' ],
2146 'mediawiki.ui.checkbox' => [
2147 'skinStyles' => [
2148 'default' => [
2149 'resources/src/mediawiki.ui/components/checkbox.less',
2152 'targets' => [ 'desktop', 'mobile' ],
2154 'mediawiki.ui.radio' => [
2155 'skinStyles' => [
2156 'default' => [
2157 'resources/src/mediawiki.ui/components/radio.less',
2160 'targets' => [ 'desktop', 'mobile' ],
2162 // Lightweight module for anchor styles
2163 'mediawiki.ui.anchor' => [
2164 'skinStyles' => [
2165 'default' => [
2166 'resources/src/mediawiki.ui/components/anchors.less',
2169 'targets' => [ 'desktop', 'mobile' ],
2171 // Lightweight module for button styles
2172 'mediawiki.ui.button' => [
2173 'skinStyles' => [
2174 'default' => [
2175 'resources/src/mediawiki.ui/components/buttons.less',
2178 'targets' => [ 'desktop', 'mobile' ],
2180 'mediawiki.ui.input' => [
2181 'skinStyles' => [
2182 'default' => [
2183 'resources/src/mediawiki.ui/components/inputs.less',
2186 'targets' => [ 'desktop', 'mobile' ],
2188 'mediawiki.ui.icon' => [
2189 'skinStyles' => [
2190 'default' => [
2191 'resources/src/mediawiki.ui/components/icons.less',
2194 'targets' => [ 'desktop', 'mobile' ],
2196 // Lightweight module for text styles
2197 'mediawiki.ui.text' => [
2198 'skinStyles' => [
2199 'default' => [
2200 'resources/src/mediawiki.ui/components/text.less',
2203 'targets' => [ 'desktop', 'mobile' ],
2206 'mediawiki.widgets' => [
2207 'scripts' => [
2208 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2209 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2210 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2211 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2212 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2213 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2214 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2216 'skinStyles' => [
2217 'default' => [
2218 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2221 'dependencies' => [
2222 'oojs-ui-widgets',
2223 'mediawiki.widgets.styles',
2224 // TitleInputWidget
2225 'mediawiki.Title',
2226 'mediawiki.api',
2227 'jquery.byteLimit',
2228 // TitleOptionWidget
2229 'jquery.autoEllipsis',
2231 'messages' => [
2232 // NamespaceInputWidget
2233 'blanknamespace',
2234 'namespacesall',
2235 // TitleInputWidget
2236 'mw-widgets-titleinput-description-new-page',
2237 'mw-widgets-titleinput-description-redirect',
2239 'targets' => [ 'desktop', 'mobile' ],
2241 'mediawiki.widgets.styles' => [
2242 'skinStyles' => [
2243 'default' => [
2244 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2245 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2248 'targets' => [ 'desktop', 'mobile' ],
2250 'mediawiki.widgets.DateInputWidget' => [
2251 'scripts' => [
2252 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2253 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2255 'skinStyles' => [
2256 'default' => [
2257 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2258 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2261 'messages' => [
2262 'mw-widgets-dateinput-no-date',
2263 'mw-widgets-dateinput-placeholder-day',
2264 'mw-widgets-dateinput-placeholder-month',
2266 'dependencies' => [
2267 'oojs-ui-widgets',
2268 'moment',
2270 'targets' => [ 'desktop', 'mobile' ],
2272 'mediawiki.widgets.datetime' => [
2273 'scripts' => [
2274 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2275 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2276 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2277 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2278 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2280 'skinStyles' => [
2281 'default' => [
2282 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2283 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2286 'messages' => [
2287 'timezone-utc',
2288 'timezone-local',
2289 'january',
2290 'february',
2291 'march',
2292 'april',
2293 'may_long',
2294 'june',
2295 'july',
2296 'august',
2297 'september',
2298 'october',
2299 'november',
2300 'december',
2301 'jan',
2302 'feb',
2303 'mar',
2304 'apr',
2305 'may',
2306 'jun',
2307 'jul',
2308 'aug',
2309 'sep',
2310 'oct',
2311 'nov',
2312 'dec',
2313 'sunday',
2314 'monday',
2315 'tuesday',
2316 'wednesday',
2317 'thursday',
2318 'friday',
2319 'saturday',
2320 'sun',
2321 'mon',
2322 'tue',
2323 'wed',
2324 'thu',
2325 'fri',
2326 'sat',
2327 'period-am',
2328 'period-pm',
2330 'dependencies' => [
2331 'oojs-ui-core',
2333 'targets' => [ 'desktop', 'mobile' ],
2335 'mediawiki.widgets.CategorySelector' => [
2336 'scripts' => [
2337 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2338 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2340 'dependencies' => [
2341 'oojs-ui-widgets',
2342 'mediawiki.api',
2343 'mediawiki.ForeignApi',
2344 'mediawiki.Title',
2346 'messages' => [
2347 'red-link-title',
2348 'mw-widgets-categoryselector-add-category-placeholder'
2350 'targets' => [ 'desktop', 'mobile' ],
2352 'mediawiki.widgets.MediaSearch' => [
2353 'scripts' => [
2354 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsProvider.js',
2355 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsQueue.js',
2356 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceProvider.js',
2357 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchProvider.js',
2358 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceQueue.js',
2359 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchQueue.js',
2360 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.js',
2361 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js',
2363 'styles' => [
2364 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.css',
2365 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.css',
2367 'dependencies' => [
2368 'oojs-ui-widgets',
2369 'mediawiki.ForeignApi',
2370 'mediawiki.Title',
2372 'messages' => [
2373 'mw-widgets-mediasearch-noresults',
2374 'mw-widgets-mediasearch-input-placeholder',
2376 'targets' => [ 'desktop', 'mobile' ],
2378 'mediawiki.widgets.UserInputWidget' => [
2379 'scripts' => [
2380 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2382 'dependencies' => [
2383 'oojs-ui-widgets',
2385 'targets' => [ 'desktop', 'mobile' ],
2387 'mediawiki.widgets.SearchInputWidget' => [
2388 'scripts' => [
2389 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2391 'dependencies' => [
2392 'mediawiki.searchSuggest',
2393 // FIXME: Needs TitleInputWidget only
2394 'mediawiki.widgets',
2397 'mediawiki.widgets.SearchInputWidget.styles' => [
2398 'skinStyles' => [
2399 'default' => [
2400 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2403 'targets' => [ 'desktop', 'mobile' ],
2405 'mediawiki.widgets.StashedFileWidget' => [
2406 'scripts' => [
2407 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2409 'skinStyles' => [
2410 'default' => [
2411 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2414 'dependencies' => [
2415 'oojs-ui-core',
2418 /* es5-shim */
2419 'es5-shim' => [
2420 'scripts' => [
2421 'resources/lib/es5-shim/es5-shim.js',
2422 'resources/src/polyfill-object-create.js',
2424 'targets' => [ 'desktop', 'mobile' ],
2425 'skipFunction' => 'resources/src/es5-skip.js',
2428 /* dom-level2-shim */
2429 // IE 8
2430 'dom-level2-shim' => [
2431 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2432 'targets' => [ 'desktop', 'mobile' ],
2433 'skipFunction' => 'resources/src/dom-level2-skip.js',
2436 /* OOjs */
2437 'oojs' => [
2438 'scripts' => [
2439 'resources/lib/oojs/oojs.jquery.js',
2440 'resources/src/oojs-global.js',
2442 'targets' => [ 'desktop', 'mobile' ],
2443 'dependencies' => [
2444 'es5-shim',
2448 'mediawiki.router' => [
2449 'scripts' => [
2450 'resources/src/mediawiki.router/index.js',
2452 'targets' => [ 'desktop', 'mobile' ],
2453 'dependencies' => [
2454 'oojs-router',
2458 'oojs-router' => [
2459 'scripts' => [
2460 'resources/lib/oojs-router/oojs-router.js',
2462 'targets' => [ 'desktop', 'mobile' ],
2463 'dependencies' => [
2464 'oojs',
2468 /* OOjs UI */
2469 // @see ResourcesOOUI.php