Merge "Special:Upload should not crash on failing previews"
[mediawiki.git] / resources / Resources.php
blob0c15daea9b96b138707b8f77cda5fc32b93e3d9a
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 'action-upload',
1280 'apierror-mustbeloggedin',
1281 'badaccess-groups',
1282 'apierror-unknownerror',
1283 'api-error-unknown-warning',
1284 'fileexists',
1285 'filepageexists',
1286 'file-exists-duplicate',
1287 'file-deleted-duplicate',
1288 'filename-bad-prefix',
1289 'filename-thumb-name',
1290 'filewasdeleted',
1291 'badfilename',
1292 'protectedpagetext',
1295 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1296 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1297 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1298 'dependencies' => [
1299 'mediawiki.ForeignStructuredUpload',
1300 'mediawiki.Upload.BookletLayout',
1301 'mediawiki.widgets.CategorySelector',
1302 'mediawiki.widgets.DateInputWidget',
1303 'mediawiki.jqueryMsg',
1304 'mediawiki.api.messages',
1305 'moment',
1306 'mediawiki.libs.jpegmeta',
1308 'messages' => [
1309 'upload-form-label-own-work',
1310 'upload-form-label-infoform-categories',
1311 'upload-form-label-infoform-date',
1312 'upload-form-label-own-work-message-generic-local',
1313 'upload-form-label-not-own-work-message-generic-local',
1314 'upload-form-label-not-own-work-local-generic-local',
1315 'upload-form-label-own-work-message-generic-foreign',
1316 'upload-form-label-not-own-work-message-generic-foreign',
1317 'upload-form-label-not-own-work-local-generic-foreign',
1320 'mediawiki.toc' => [
1321 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1322 'styles' => [
1323 'resources/src/mediawiki/mediawiki.toc.css'
1324 => [ 'media' => 'screen' ],
1325 'resources/src/mediawiki/mediawiki.toc.print.css'
1326 => [ 'media' => 'print' ],
1328 'dependencies' => 'mediawiki.cookie',
1329 'messages' => [ 'showtoc', 'hidetoc' ],
1330 'targets' => [ 'desktop', 'mobile' ],
1332 'mediawiki.Uri' => [
1333 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1334 'templates' => [
1335 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1336 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1338 'dependencies' => 'mediawiki.util',
1339 'targets' => [ 'desktop', 'mobile' ],
1341 'mediawiki.user.blockcookie' => [
1342 'scripts' => 'resources/src/mediawiki/mediawiki.user.blockcookie.js',
1343 'dependencies' => [ 'mediawiki.cookie', 'mediawiki.storage' ],
1344 'targets' => [ 'desktop', 'mobile' ],
1346 'mediawiki.user' => [
1347 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1348 'dependencies' => [
1349 'mediawiki.cookie',
1350 'mediawiki.api',
1351 'mediawiki.api.user',
1352 'user.options',
1353 'user.tokens',
1355 'targets' => [ 'desktop', 'mobile' ],
1357 'mediawiki.reasonSuggest' => [
1358 'scripts' => 'resources/src/mediawiki/mediawiki.reasonSuggest.js',
1359 'dependencies' => [
1360 'jquery.suggestions',
1361 'mediawiki.api.messages'
1364 'mediawiki.userSuggest' => [
1365 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1366 'dependencies' => [
1367 'jquery.suggestions',
1368 'mediawiki.api'
1371 'mediawiki.util' => [
1372 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1373 'dependencies' => [
1374 'jquery.accessKeyLabel',
1375 'mediawiki.RegExp',
1376 'mediawiki.notify',
1378 'targets' => [ 'desktop', 'mobile' ],
1380 'mediawiki.viewport' => [
1381 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1382 'targets' => [ 'desktop', 'mobile' ],
1384 'mediawiki.checkboxtoggle' => [
1385 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1387 'mediawiki.checkboxtoggle.styles' => [
1388 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1390 'mediawiki.cookie' => [
1391 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1392 'dependencies' => 'jquery.cookie',
1393 'targets' => [ 'desktop', 'mobile' ],
1395 'mediawiki.toolbar' => [
1396 'class' => 'ResourceLoaderEditToolbarModule',
1397 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1398 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1399 'dependencies' => 'jquery.textSelection',
1401 'mediawiki.experiments' => [
1402 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1403 'targets' => [ 'desktop', 'mobile' ],
1406 /* MediaWiki Action */
1408 'mediawiki.action.edit' => [
1409 'scripts' => [
1410 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1411 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1413 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1414 'dependencies' => [
1415 'mediawiki.action.edit.styles',
1416 'jquery.textSelection',
1417 'jquery.byteLimit',
1418 'mediawiki.api',
1421 'mediawiki.action.edit.styles' => [
1422 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1424 'mediawiki.action.edit.collapsibleFooter' => [
1425 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1426 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1427 'dependencies' => [
1428 'jquery.makeCollapsible',
1429 'mediawiki.cookie',
1430 'mediawiki.icon',
1433 'mediawiki.action.edit.preview' => [
1434 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1435 'dependencies' => [
1436 'jquery.form',
1437 'jquery.spinner',
1438 'jquery.textSelection',
1439 'mediawiki.api',
1440 'mediawiki.diff.styles',
1441 'mediawiki.util',
1442 'mediawiki.jqueryMsg',
1444 'messages' => [
1445 // Keep the uses message keys in sync with EditPage#setHeaders
1446 'creating',
1447 'editconflict',
1448 'editing',
1449 'editingcomment',
1450 'editingsection',
1451 'pagetitle',
1452 'otherlanguages',
1453 'summary-preview',
1454 'subject-preview',
1455 'parentheses',
1456 'previewerrortext',
1459 'mediawiki.action.history' => [
1460 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1461 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1463 'mediawiki.action.history.styles' => [
1464 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1466 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1467 'mediawiki.action.history.diff' => [
1468 'styles' => [
1469 'resources/src/mediawiki/mediawiki.diff.styles.css',
1470 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1471 'media' => 'print'
1474 'targets' => [ 'desktop', 'mobile' ],
1476 'mediawiki.action.view.dblClickEdit' => [
1477 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1478 'dependencies' => [
1479 'mediawiki.util',
1480 'mediawiki.page.startup',
1481 'user.options',
1484 'mediawiki.action.view.metadata' => [
1485 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1486 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1487 'messages' => [
1488 'metadata-expand',
1489 'metadata-collapse',
1492 'mediawiki.action.view.categoryPage.styles' => [
1493 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1494 'targets' => [ 'desktop', 'mobile' ]
1496 'mediawiki.action.view.postEdit' => [
1497 'templates' => [
1498 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1500 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1501 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1502 'dependencies' => [
1503 'mediawiki.cookie',
1504 'mediawiki.jqueryMsg'
1506 'messages' => [
1507 'postedit-confirmation-created',
1508 'postedit-confirmation-restored',
1509 'postedit-confirmation-saved',
1512 'mediawiki.action.view.redirect' => [
1513 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1514 'dependencies' => 'jquery.client',
1515 'targets' => [ 'desktop', 'mobile' ],
1517 'mediawiki.action.view.redirectPage' => [
1518 'targets' => [ 'desktop', 'mobile' ],
1519 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1521 'mediawiki.action.view.rightClickEdit' => [
1522 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1524 'mediawiki.action.edit.editWarning' => [
1525 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1526 'dependencies' => [
1527 'jquery.textSelection',
1528 'mediawiki.jqueryMsg',
1529 'mediawiki.confirmCloseWindow',
1530 'user.options',
1532 'messages' => [
1533 'editwarning-warning',
1534 // editwarning-warning uses {{int:prefs-editing}}
1535 'prefs-editing'
1538 'mediawiki.action.view.filepage' => [
1539 'styles' => [
1540 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1541 [ 'media' => 'print' ],
1542 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1546 /* MediaWiki Language */
1548 'mediawiki.language' => [
1549 'scripts' => [
1550 'resources/src/mediawiki.language/mediawiki.language.js',
1551 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1552 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1554 'languageScripts' => [
1555 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1556 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1557 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1558 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1559 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1560 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1561 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1562 'la' => 'resources/src/mediawiki.language/languages/la.js',
1563 'os' => 'resources/src/mediawiki.language/languages/os.js',
1564 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1566 'dependencies' => [
1567 'mediawiki.language.data',
1568 'mediawiki.cldr',
1570 'targets' => [ 'desktop', 'mobile' ],
1571 'messages' => [
1572 'and',
1573 'comma-separator',
1574 'word-separator'
1578 'mediawiki.cldr' => [
1579 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1580 'dependencies' => [
1581 'mediawiki.libs.pluralruleparser',
1583 'targets' => [ 'desktop', 'mobile' ],
1586 'mediawiki.libs.pluralruleparser' => [
1587 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1588 'targets' => [ 'desktop', 'mobile' ],
1591 'mediawiki.language.init' => [
1592 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1593 'targets' => [ 'desktop', 'mobile' ],
1596 'mediawiki.jqueryMsg' => [
1597 // Add data for mediawiki.jqueryMsg, such as allowed tags
1598 'class' => 'ResourceLoaderJqueryMsgModule',
1599 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1600 'dependencies' => [
1601 'mediawiki.util',
1602 'mediawiki.language',
1603 'user.options',
1604 'dom-level2-shim',
1606 'targets' => [ 'desktop', 'mobile' ],
1609 'mediawiki.language.months' => [
1610 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1611 'dependencies' => 'mediawiki.language',
1612 'messages' => array_merge(
1613 Language::$mMonthMsgs,
1614 Language::$mMonthGenMsgs,
1615 Language::$mMonthAbbrevMsgs
1619 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1621 'mediawiki.language.specialCharacters' => [
1622 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1625 /* MediaWiki Libs */
1627 'mediawiki.libs.jpegmeta' => [
1628 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1629 'targets' => [ 'desktop', 'mobile' ],
1632 /* MediaWiki Page */
1634 'mediawiki.page.gallery' => [
1635 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1636 'dependencies' => [
1637 'mediawiki.page.gallery.styles',
1638 'jquery.throttle-debounce',
1641 'mediawiki.page.gallery.styles' => [
1642 'styles' => [
1643 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1644 'resources/src/mediawiki/page/gallery.css',
1646 'targets' => [ 'desktop', 'mobile' ],
1648 'mediawiki.page.gallery.slideshow' => [
1649 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1650 'dependencies' => [
1651 'mediawiki.api',
1652 'mediawiki.Title',
1653 'oojs',
1654 'oojs-ui-core',
1655 'oojs-ui-widgets',
1656 'oojs-ui.styles.icons-media'
1658 'messages' => [
1659 'gallery-slideshow-toggle'
1662 'mediawiki.page.ready' => [
1663 'scripts' => 'resources/src/mediawiki/page/ready.js',
1664 'dependencies' => [
1665 'jquery.accessKeyLabel',
1666 'jquery.checkboxShiftClick',
1667 'jquery.makeCollapsible',
1668 'jquery.placeholder',
1669 'jquery.mw-jump',
1671 'targets' => [ 'desktop', 'mobile' ],
1673 'mediawiki.page.startup' => [
1674 'scripts' => 'resources/src/mediawiki/page/startup.js',
1675 'dependencies' => 'mediawiki.util',
1676 'targets' => [ 'desktop', 'mobile' ],
1678 'mediawiki.page.patrol.ajax' => [
1679 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1680 'dependencies' => [
1681 'mediawiki.page.startup',
1682 'mediawiki.api',
1683 'mediawiki.util',
1684 'mediawiki.Title',
1685 'mediawiki.notify',
1686 'jquery.spinner',
1687 'user.tokens'
1689 'messages' => [
1690 'markedaspatrollednotify',
1691 'markedaspatrollederrornotify',
1692 'markedaspatrollederror-noautopatrol'
1695 'mediawiki.page.watch.ajax' => [
1696 'scripts' => 'resources/src/mediawiki/page/watch.js',
1697 'dependencies' => [
1698 'mediawiki.page.startup',
1699 'mediawiki.api.watch',
1700 'mediawiki.notify',
1701 'mediawiki.util',
1702 'mediawiki.Title',
1703 'mediawiki.jqueryMsg',
1704 'jquery.accessKeyLabel',
1705 'mediawiki.RegExp',
1707 'messages' => [
1708 'watch',
1709 'unwatch',
1710 'watching',
1711 'unwatching',
1712 'tooltip-ca-watch',
1713 'tooltip-ca-unwatch',
1714 'watcherrortext',
1715 'addedwatchtext',
1716 'addedwatchtext-talk',
1717 'removedwatchtext',
1718 'removedwatchtext-talk',
1721 'mediawiki.page.rollback' => [
1722 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1723 'dependencies' => [
1724 'mediawiki.api.rollback',
1725 'mediawiki.notify',
1726 'jquery.spinner',
1728 'messages' => [
1729 'rollbackfailed',
1730 'actioncomplete',
1733 'mediawiki.page.image.pagination' => [
1734 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1735 'dependencies' => [
1736 'mediawiki.util',
1737 'jquery.spinner',
1741 /* MediaWiki Special pages */
1743 'mediawiki.rcfilters.filters' => [
1744 'scripts' => [
1745 'resources/src/mediawiki.rcfilters/mw.rcfilters.js',
1746 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterItem.js',
1747 'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FiltersViewModel.js',
1748 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FiltersListWidget.js',
1749 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterGroupWidget.js',
1750 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemWidget.js',
1751 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterCapsuleMultiselectWidget.js',
1752 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js',
1753 'resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js',
1754 'resources/src/mediawiki.rcfilters/mw.rcfilters.init.js',
1756 'styles' => [
1757 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.less',
1758 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterItemWidget.less',
1759 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterGroupWidget.less',
1760 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FiltersListWidget.less',
1761 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less',
1762 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterCapsuleMultiselectWidget.less',
1764 'messages' => [
1765 'rcfilters-activefilters',
1766 'rcfilters-search-placeholder',
1767 'rcfilters-invalid-filter',
1768 'rcfilters-filterlist-title',
1769 'rcfilters-filterlist-noresults',
1770 'rcfilters-filtergroup-registration',
1771 'rcfilters-filter-registered-label',
1772 'rcfilters-filter-registered-description',
1773 'rcfilters-filter-unregistered-label',
1774 'rcfilters-filter-unregistered-description',
1775 'rcfilters-filtergroup-authorship',
1776 'rcfilters-filter-editsbyself-label',
1777 'rcfilters-filter-editsbyself-description',
1778 'rcfilters-filter-editsbyother-label',
1779 'rcfilters-filter-editsbyother-description',
1780 'rcfilters-filtergroup-userExpLevel',
1781 'rcfilters-filter-userExpLevel-newcomer-label',
1782 'rcfilters-filter-userExpLevel-newcomer-description',
1783 'rcfilters-filter-userExpLevel-learner-label',
1784 'rcfilters-filter-userExpLevel-learner-description',
1785 'rcfilters-filter-userExpLevel-experienced-label',
1786 'rcfilters-filter-userExpLevel-experienced-description',
1787 'rcfilters-filtergroup-automated',
1788 'rcfilters-filter-bots-label',
1789 'rcfilters-filter-bots-description',
1790 'rcfilters-filter-humans-label',
1791 'rcfilters-filter-humans-description',
1792 'rcfilters-filtergroup-significance',
1793 'rcfilters-filter-minor-label',
1794 'rcfilters-filter-minor-description',
1795 'rcfilters-filter-major-label',
1796 'rcfilters-filter-major-description',
1797 'rcfilters-filtergroup-changetype',
1798 'rcfilters-filter-pageedits-label',
1799 'rcfilters-filter-pageedits-description',
1800 'rcfilters-filter-newpages-label',
1801 'rcfilters-filter-newpages-description',
1802 'rcfilters-filter-categorization-label',
1803 'rcfilters-filter-categorization-description',
1804 'rcfilters-filter-logactions-label',
1805 'rcfilters-filter-logactions-description',
1807 'dependencies' => [
1808 'oojs-ui',
1809 'mediawiki.Uri',
1812 'mediawiki.special' => [
1813 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1814 'targets' => [ 'desktop', 'mobile' ],
1816 'mediawiki.special.apisandbox.styles' => [
1817 'targets' => [ 'desktop', 'mobile' ],
1818 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1820 'mediawiki.special.apisandbox' => [
1821 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1822 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1823 'targets' => [ 'desktop', 'mobile' ],
1824 'dependencies' => [
1825 'mediawiki.api',
1826 'mediawiki.jqueryMsg',
1827 'oojs-ui',
1828 'mediawiki.widgets.datetime',
1830 'messages' => [
1831 'apisandbox-intro',
1832 'apisandbox-submit',
1833 'apisandbox-reset',
1834 'apisandbox-fullscreen',
1835 'apisandbox-fullscreen-tooltip',
1836 'apisandbox-unfullscreen',
1837 'apisandbox-unfullscreen-tooltip',
1838 'apisandbox-retry',
1839 'apisandbox-loading',
1840 'apisandbox-load-error',
1841 'apisandbox-fetch-token',
1842 'apisandbox-helpurls',
1843 'apisandbox-examples',
1844 'apisandbox-dynamic-parameters',
1845 'apisandbox-dynamic-parameters-add-label',
1846 'apisandbox-dynamic-parameters-add-placeholder',
1847 'apisandbox-dynamic-error-exists',
1848 'apisandbox-deprecated-parameters',
1849 'apisandbox-no-parameters',
1850 'api-help-param-limit',
1851 'api-help-param-limit2',
1852 'api-help-param-integer-min',
1853 'api-help-param-integer-max',
1854 'api-help-param-integer-minmax',
1855 'api-help-param-multi-separate',
1856 'api-help-param-multi-max',
1857 'apisandbox-submit-invalid-fields-title',
1858 'apisandbox-submit-invalid-fields-message',
1859 'apisandbox-results',
1860 'apisandbox-sending-request',
1861 'apisandbox-loading-results',
1862 'apisandbox-results-error',
1863 'apisandbox-request-params-json',
1864 'apisandbox-request-url-label',
1865 'apisandbox-request-time',
1866 'apisandbox-results-fixtoken',
1867 'apisandbox-results-fixtoken-fail',
1868 'apisandbox-alert-page',
1869 'apisandbox-alert-field',
1870 'apisandbox-continue',
1871 'apisandbox-continue-clear',
1872 'apisandbox-continue-help',
1873 'apisandbox-param-limit',
1874 'apisandbox-multivalue-all-namespaces',
1875 'apisandbox-multivalue-all-values',
1876 'api-format-prettyprint-status',
1877 'blanknamespace',
1880 'mediawiki.special.block' => [
1881 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1882 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1883 'dependencies' => 'mediawiki.util',
1885 'mediawiki.special.changeslist' => [
1886 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1887 'targets' => [ 'desktop', 'mobile' ],
1889 'mediawiki.special.changeslist.legend' => [
1890 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1891 'targets' => [ 'desktop', 'mobile' ],
1893 'mediawiki.special.changeslist.legend.js' => [
1894 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1895 'dependencies' => [
1896 'jquery.makeCollapsible',
1897 'mediawiki.cookie',
1899 'targets' => [ 'desktop', 'mobile' ],
1901 'mediawiki.special.changeslist.enhanced' => [
1902 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1904 'mediawiki.special.changeslist.visitedstatus' => [
1905 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1907 'mediawiki.special.comparepages.styles' => [
1908 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1910 'mediawiki.special.edittags' => [
1911 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1912 'dependencies' => [
1913 'jquery.chosen',
1915 'messages' => [
1916 'tags-edit-chosen-placeholder',
1917 'tags-edit-chosen-no-results',
1920 'mediawiki.special.edittags.styles' => [
1921 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1923 'mediawiki.special.import' => [
1924 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1926 'mediawiki.special.movePage' => [
1927 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1928 'dependencies' => [
1929 'jquery.byteLimit',
1930 'mediawiki.widgets',
1933 'mediawiki.special.movePage.styles' => [
1934 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1936 'mediawiki.special.pageLanguage' => [
1937 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1938 'dependencies' => [
1939 'oojs-ui-core',
1942 'mediawiki.special.pagesWithProp' => [
1943 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1945 'mediawiki.special.preferences' => [
1946 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1947 'messages' => [
1948 'prefs-tabs-navigation-hint',
1949 'prefswarning-warning',
1950 'saveprefs',
1951 'savedprefs',
1953 'dependencies' => [
1954 'mediawiki.language',
1955 'mediawiki.confirmCloseWindow',
1956 'mediawiki.notification.convertmessagebox',
1959 'mediawiki.special.userrights' => [
1960 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
1961 'dependencies' => [
1962 'mediawiki.notification.convertmessagebox',
1965 'mediawiki.special.preferences.styles' => [
1966 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1968 'mediawiki.special.recentchanges' => [
1969 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1970 'targets' => [ 'desktop', 'mobile' ],
1972 'mediawiki.special.search' => [
1973 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1974 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1975 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
1976 'messages' => [
1977 'powersearch-togglelabel',
1978 'powersearch-toggleall',
1979 'powersearch-togglenone',
1982 'mediawiki.special.search.styles' => [
1983 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
1984 'targets' => [ 'desktop', 'mobile' ],
1986 'mediawiki.special.undelete' => [
1987 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1989 'mediawiki.special.upload' => [
1990 'templates' => [
1991 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1993 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1994 'messages' => [
1995 'widthheight',
1996 'size-bytes',
1997 'size-kilobytes',
1998 'size-megabytes',
1999 'size-gigabytes',
2000 'largefileserver',
2001 'editwarning-warning',
2002 // editwarning-warning uses {{int:prefs-editing}}
2003 'prefs-editing',
2005 'dependencies' => [
2006 'mediawiki.special.upload.styles',
2007 'jquery.spinner',
2008 'mediawiki.jqueryMsg',
2009 'mediawiki.api',
2010 'mediawiki.libs.jpegmeta',
2011 'mediawiki.Title',
2012 'mediawiki.util',
2013 'mediawiki.confirmCloseWindow',
2014 'user.options',
2017 'mediawiki.special.upload.styles' => [
2018 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2020 'mediawiki.special.userlogin.common.styles' => [
2021 'styles' => [
2022 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2025 'mediawiki.special.userlogin.signup.styles' => [
2026 'styles' => [
2027 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2030 'mediawiki.special.userlogin.login.styles' => [
2031 'styles' => [
2032 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2035 'mediawiki.special.userlogin.signup.js' => [
2036 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2037 'messages' => [
2038 'createacct-error',
2039 'createacct-emailrequired',
2040 'noname',
2041 'userexists',
2043 'dependencies' => [
2044 'mediawiki.api',
2045 'mediawiki.jqueryMsg',
2046 'jquery.throttle-debounce',
2049 'mediawiki.special.unwatchedPages' => [
2050 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2051 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2052 'messages' => [
2053 'addedwatchtext-short',
2054 'removedwatchtext-short',
2055 'unwatch',
2056 'unwatching',
2057 'watch',
2058 'watcherrortext',
2059 'watching',
2061 'dependencies' => [
2062 'mediawiki.api',
2063 'mediawiki.api.watch',
2064 'mediawiki.notify',
2065 'mediawiki.Title',
2066 'mediawiki.util',
2069 'mediawiki.special.watchlist' => [
2070 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2071 'dependencies' => [
2072 'mediawiki.api',
2073 'oojs-ui-core',
2074 'user.options',
2077 'mediawiki.special.version' => [
2078 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2081 /* MediaWiki Installer */
2083 // Used in the web installer. Test it after modifying this definition!
2084 'mediawiki.legacy.config' => [
2085 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2086 'scripts' => 'mw-config/config.js',
2087 'styles' => 'mw-config/config.css',
2090 /* MediaWiki Legacy */
2092 'mediawiki.legacy.commonPrint' => [
2093 'styles' => [
2094 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2097 'mediawiki.legacy.protect' => [
2098 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2099 'dependencies' => 'jquery.byteLimit',
2100 'messages' => [ 'protect-unchain-permissions' ]
2102 // Used in the web installer. Test it after modifying this definition!
2103 'mediawiki.legacy.shared' => [
2104 'styles' => [
2105 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2108 'mediawiki.legacy.oldshared' => [
2109 'styles' => [
2110 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2113 'mediawiki.legacy.wikibits' => [
2114 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2115 'dependencies' => 'mediawiki.util',
2116 'targets' => [ 'desktop', 'mobile' ],
2119 /* MediaWiki UI */
2121 'mediawiki.ui' => [
2122 'skinStyles' => [
2123 'default' => [
2124 'resources/src/mediawiki.ui/default.less',
2127 'targets' => [ 'desktop', 'mobile' ],
2129 'mediawiki.ui.checkbox' => [
2130 'skinStyles' => [
2131 'default' => [
2132 'resources/src/mediawiki.ui/components/checkbox.less',
2135 'targets' => [ 'desktop', 'mobile' ],
2137 'mediawiki.ui.radio' => [
2138 'skinStyles' => [
2139 'default' => [
2140 'resources/src/mediawiki.ui/components/radio.less',
2143 'targets' => [ 'desktop', 'mobile' ],
2145 // Lightweight module for anchor styles
2146 'mediawiki.ui.anchor' => [
2147 'skinStyles' => [
2148 'default' => [
2149 'resources/src/mediawiki.ui/components/anchors.less',
2152 'targets' => [ 'desktop', 'mobile' ],
2154 // Lightweight module for button styles
2155 'mediawiki.ui.button' => [
2156 'skinStyles' => [
2157 'default' => [
2158 'resources/src/mediawiki.ui/components/buttons.less',
2161 'targets' => [ 'desktop', 'mobile' ],
2163 'mediawiki.ui.input' => [
2164 'skinStyles' => [
2165 'default' => [
2166 'resources/src/mediawiki.ui/components/inputs.less',
2169 'targets' => [ 'desktop', 'mobile' ],
2171 'mediawiki.ui.icon' => [
2172 'skinStyles' => [
2173 'default' => [
2174 'resources/src/mediawiki.ui/components/icons.less',
2177 'targets' => [ 'desktop', 'mobile' ],
2179 // Lightweight module for text styles
2180 'mediawiki.ui.text' => [
2181 'skinStyles' => [
2182 'default' => [
2183 'resources/src/mediawiki.ui/components/text.less',
2186 'targets' => [ 'desktop', 'mobile' ],
2189 'mediawiki.widgets' => [
2190 'scripts' => [
2191 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2192 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2193 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2194 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2195 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2196 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2197 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2199 'skinStyles' => [
2200 'default' => [
2201 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2204 'dependencies' => [
2205 'oojs-ui-widgets',
2206 'mediawiki.widgets.styles',
2207 // TitleInputWidget
2208 'mediawiki.Title',
2209 'mediawiki.api',
2210 'jquery.byteLimit',
2211 // TitleOptionWidget
2212 'jquery.autoEllipsis',
2214 'messages' => [
2215 // NamespaceInputWidget
2216 'blanknamespace',
2217 'namespacesall',
2218 // TitleInputWidget
2219 'mw-widgets-titleinput-description-new-page',
2220 'mw-widgets-titleinput-description-redirect',
2222 'targets' => [ 'desktop', 'mobile' ],
2224 'mediawiki.widgets.styles' => [
2225 'skinStyles' => [
2226 'default' => [
2227 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2228 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2231 'targets' => [ 'desktop', 'mobile' ],
2233 'mediawiki.widgets.DateInputWidget' => [
2234 'scripts' => [
2235 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2236 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2238 'skinStyles' => [
2239 'default' => [
2240 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2241 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2244 'messages' => [
2245 'mw-widgets-dateinput-no-date',
2246 'mw-widgets-dateinput-placeholder-day',
2247 'mw-widgets-dateinput-placeholder-month',
2249 'dependencies' => [
2250 'oojs-ui-widgets',
2251 'moment',
2253 'targets' => [ 'desktop', 'mobile' ],
2255 'mediawiki.widgets.datetime' => [
2256 'scripts' => [
2257 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2258 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2259 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2260 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2261 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2263 'skinStyles' => [
2264 'default' => [
2265 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2266 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2269 'messages' => [
2270 'timezone-utc',
2271 'timezone-local',
2272 'january',
2273 'february',
2274 'march',
2275 'april',
2276 'may_long',
2277 'june',
2278 'july',
2279 'august',
2280 'september',
2281 'october',
2282 'november',
2283 'december',
2284 'jan',
2285 'feb',
2286 'mar',
2287 'apr',
2288 'may',
2289 'jun',
2290 'jul',
2291 'aug',
2292 'sep',
2293 'oct',
2294 'nov',
2295 'dec',
2296 'sunday',
2297 'monday',
2298 'tuesday',
2299 'wednesday',
2300 'thursday',
2301 'friday',
2302 'saturday',
2303 'sun',
2304 'mon',
2305 'tue',
2306 'wed',
2307 'thu',
2308 'fri',
2309 'sat',
2310 'period-am',
2311 'period-pm',
2313 'dependencies' => [
2314 'oojs-ui-core',
2316 'targets' => [ 'desktop', 'mobile' ],
2318 'mediawiki.widgets.CategorySelector' => [
2319 'scripts' => [
2320 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2321 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2323 'dependencies' => [
2324 'oojs-ui-widgets',
2325 'mediawiki.api',
2326 'mediawiki.ForeignApi',
2327 'mediawiki.Title',
2329 'messages' => [
2330 'red-link-title',
2331 'mw-widgets-categoryselector-add-category-placeholder'
2333 'targets' => [ 'desktop', 'mobile' ],
2335 'mediawiki.widgets.MediaSearch' => [
2336 'scripts' => [
2337 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsProvider.js',
2338 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsQueue.js',
2339 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceProvider.js',
2340 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchProvider.js',
2341 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceQueue.js',
2342 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchQueue.js',
2343 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.js',
2344 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js',
2346 'styles' => [
2347 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.css',
2348 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.css',
2350 'dependencies' => [
2351 'oojs-ui-widgets',
2352 'mediawiki.ForeignApi',
2353 'mediawiki.Title',
2355 'messages' => [
2356 'mw-widgets-mediasearch-noresults',
2357 'mw-widgets-mediasearch-input-placeholder',
2359 'targets' => [ 'desktop', 'mobile' ],
2361 'mediawiki.widgets.UserInputWidget' => [
2362 'scripts' => [
2363 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2365 'dependencies' => [
2366 'oojs-ui-widgets',
2368 'targets' => [ 'desktop', 'mobile' ],
2370 'mediawiki.widgets.SearchInputWidget' => [
2371 'scripts' => [
2372 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2374 'dependencies' => [
2375 'mediawiki.searchSuggest',
2376 // FIXME: Needs TitleInputWidget only
2377 'mediawiki.widgets',
2380 'mediawiki.widgets.SearchInputWidget.styles' => [
2381 'skinStyles' => [
2382 'default' => [
2383 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2386 'targets' => [ 'desktop', 'mobile' ],
2388 'mediawiki.widgets.StashedFileWidget' => [
2389 'scripts' => [
2390 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2392 'skinStyles' => [
2393 'default' => [
2394 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2397 'dependencies' => [
2398 'oojs-ui-core',
2401 /* es5-shim */
2402 'es5-shim' => [
2403 'scripts' => [
2404 'resources/lib/es5-shim/es5-shim.js',
2405 'resources/src/polyfill-object-create.js',
2407 'targets' => [ 'desktop', 'mobile' ],
2408 'skipFunction' => 'resources/src/es5-skip.js',
2411 /* dom-level2-shim */
2412 // IE 8
2413 'dom-level2-shim' => [
2414 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2415 'targets' => [ 'desktop', 'mobile' ],
2416 'skipFunction' => 'resources/src/dom-level2-skip.js',
2419 /* OOjs */
2420 'oojs' => [
2421 'scripts' => [
2422 'resources/lib/oojs/oojs.jquery.js',
2423 'resources/src/oojs-global.js',
2425 'targets' => [ 'desktop', 'mobile' ],
2426 'dependencies' => [
2427 'es5-shim',
2431 'mediawiki.router' => [
2432 'scripts' => [
2433 'resources/src/mediawiki.router/index.js',
2435 'targets' => [ 'desktop', 'mobile' ],
2436 'dependencies' => [
2437 'oojs-router',
2441 'oojs-router' => [
2442 'scripts' => [
2443 'resources/lib/oojs-router/oojs-router.js',
2445 'targets' => [ 'desktop', 'mobile' ],
2446 'dependencies' => [
2447 'oojs',
2451 /* OOjs UI */
2452 // @see ResourcesOOUI.php