3 * Definition of core ResourceLoader modules.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * http://www.gnu.org/copyleft/gpl.html
23 if ( !defined( 'MEDIAWIKI' ) ) {
24 die( 'Not an entry point.' );
30 * Special modules who have their own classes
32 'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
34 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
35 'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
37 'class' => 'ResourceLoaderWikiModule',
38 'styles' => array( 'MediaWiki:Noscript.css' ),
39 'group' => 'noscript',
43 'class' => 'ResourceLoaderWikiModule',
44 'styles' => array( 'MediaWiki:Filepage.css' ),
46 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
48 // Scripts managed by the current user (stored in their user space)
49 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
51 // Scripts generated based on the current user's preferences
52 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
54 // Populate mediawiki.user placeholders with information about the current user
55 'user.defaults' => array( 'class' => 'ResourceLoaderUserDefaultsModule' ),
56 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
57 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
59 // Scripts for the dynamic language specific data, like grammar forms.
60 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
62 /* MediaWiki base skinning modules */
65 * Common skin styles, grouped into three graded levels.
68 * The base level that only contains the most basic of common skin styles.
69 * Only styles for single elements are included, no styling for complex structures like the
70 * TOC is present. This level is for skins that want to implement the entire style of even
71 * content area structures like the TOC themselves.
74 * The most commonly used level for skins implemented from scratch. This level includes all
75 * the single element styles from "elements" as well as styles for complex structures such
76 * as the TOC that are output in the content area by MediaWiki rather than the skin.
77 * Essentially this is the common level that lets skins leave the style of the content area
78 * as it is normally styled, while leaving the rest of the skin up to the skin
81 * Level 3 "interface":
82 * The highest level, this stylesheet contains extra common styles for classes like
83 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
84 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
85 * common to MonoBook clones. And since practically every skin that currently exists within
86 * core is a MonoBook clone, all our core skins currently use this level.
88 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
89 * dependency management. As a result they contain duplicate stylesheet references instead of
90 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
91 * including more than one of them into your skin as this will result in duplicate CSS.
93 'mediawiki.skinning.elements' => array(
96 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
99 'mediawiki.skinning.content' => array(
102 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
103 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
106 // Used in the web installer. Test it after modifying this definition!
107 'mediawiki.skinning.interface' => array(
109 'class' => 'ResourceLoaderSkinModule',
111 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
112 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
113 'resources/src/mediawiki.skinning/interface.css' => array( 'media' => 'screen' ),
117 'mediawiki.skinning.content.parsoid' => array(
119 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
120 // with the interface.css styles; skinStyles should be used if your
121 // skin over-rides common content styling.
122 'skinStyles' => array(
123 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
125 'targets' => array( 'desktop', 'mobile' ),
128 'mediawiki.skinning.content.externallinks' => array(
129 'position' => 'bottom',
131 'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
139 'resources/lib/jquery/jquery.js',
142 'targets' => array( 'desktop', 'mobile' ),
147 'jquery.accessKeyLabel' => array(
148 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
149 'dependencies' => array(
153 'messages' => array( 'brackets', 'word-separator' ),
154 'targets' => array( 'mobile', 'desktop' ),
156 'jquery.appear' => array(
157 'scripts' => 'resources/lib/jquery/jquery.appear.js',
159 'jquery.arrowSteps' => array(
160 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
161 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
163 'jquery.async' => array(
164 'scripts' => 'resources/lib/jquery/jquery.async.js',
166 'jquery.autoEllipsis' => array(
167 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
168 'dependencies' => 'jquery.highlightText',
169 'targets' => array( 'desktop', 'mobile' ),
171 'jquery.badge' => array(
172 'scripts' => 'resources/src/jquery/jquery.badge.js',
173 'styles' => 'resources/src/jquery/jquery.badge.css',
174 'dependencies' => 'mediawiki.language',
176 'jquery.byteLength' => array(
177 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
178 'targets' => array( 'desktop', 'mobile' ),
180 'jquery.byteLimit' => array(
181 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
182 'dependencies' => 'jquery.byteLength',
183 'targets' => array( 'desktop', 'mobile' ),
185 'jquery.checkboxShiftClick' => array(
186 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
187 'targets' => array( 'desktop', 'mobile' ),
189 'jquery.chosen' => array(
190 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
191 'styles' => 'resources/lib/jquery.chosen/chosen.css',
193 'jquery.client' => array(
194 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
195 'targets' => array( 'desktop', 'mobile' ),
197 'jquery.color' => array(
198 'scripts' => 'resources/src/jquery/jquery.color.js',
199 'dependencies' => 'jquery.colorUtil',
201 'jquery.colorUtil' => array(
202 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
204 'jquery.confirmable' => array(
206 'resources/src/jquery/jquery.confirmable.js',
207 'resources/src/jquery/jquery.confirmable.mediawiki.js',
210 'confirmable-confirm',
215 'styles' => 'resources/src/jquery/jquery.confirmable.css',
216 'dependencies' => 'mediawiki.jqueryMsg',
218 'jquery.cookie' => array(
219 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
220 'targets' => array( 'desktop', 'mobile' ),
222 'jquery.expandableField' => array(
223 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
225 'jquery.farbtastic' => array(
226 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
227 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
228 'dependencies' => 'jquery.colorUtil',
230 'jquery.footHovzer' => array(
231 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
232 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
234 'jquery.form' => array(
235 'scripts' => 'resources/lib/jquery/jquery.form.js',
237 'jquery.fullscreen' => array(
238 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
240 'jquery.getAttrs' => array(
241 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
242 'targets' => array( 'desktop', 'mobile' ),
244 'jquery.hidpi' => array(
245 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
246 'targets' => array( 'desktop', 'mobile' ),
248 'jquery.highlightText' => array(
249 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
250 'dependencies' => array(
254 'targets' => array( 'desktop', 'mobile' ),
256 'jquery.hoverIntent' => array(
257 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
259 'jquery.i18n' => array(
261 'resources/lib/jquery.i18n/src/jquery.i18n.js',
262 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
263 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
264 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
265 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
267 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
269 'dependencies' => 'mediawiki.libs.pluralruleparser',
270 'languageScripts' => array(
271 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
272 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
273 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
274 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
275 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
276 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
277 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
278 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
279 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
280 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
281 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
282 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
283 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
284 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
286 'targets' => array( 'desktop', 'mobile' ),
288 'jquery.localize' => array(
289 'scripts' => 'resources/src/jquery/jquery.localize.js',
291 'jquery.makeCollapsible' => array(
292 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
293 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
294 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
295 'targets' => array( 'desktop', 'mobile' ),
297 'jquery.mockjax' => array(
298 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
300 'jquery.mw-jump' => array(
301 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
302 'targets' => array( 'desktop', 'mobile' ),
304 'jquery.mwExtension' => array(
305 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
306 'targets' => array( 'desktop', 'mobile' ),
308 'jquery.placeholder' => array(
309 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
310 'targets' => array( 'desktop', 'mobile' ),
312 'jquery.qunit' => array(
313 'scripts' => 'resources/lib/qunitjs/qunit.js',
314 'styles' => 'resources/lib/qunitjs/qunit.css',
316 'targets' => array( 'desktop', 'mobile' ),
318 'jquery.qunit.completenessTest' => array(
319 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
320 'dependencies' => 'jquery.qunit',
321 'targets' => array( 'desktop', 'mobile' ),
323 'jquery.spinner' => array(
324 'scripts' => 'resources/src/jquery/jquery.spinner.js',
325 'styles' => 'resources/src/jquery/jquery.spinner.css',
327 'jquery.jStorage' => array(
328 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
329 'dependencies' => 'json',
331 'jquery.suggestions' => array(
332 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
333 'styles' => 'resources/src/jquery/jquery.suggestions.css',
334 'dependencies' => 'jquery.highlightText',
336 'jquery.tabIndex' => array(
337 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
339 'jquery.tablesorter' => array(
340 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
341 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
342 'messages' => array( 'sort-descending', 'sort-ascending' ),
343 'dependencies' => array(
346 'mediawiki.language.months',
349 'jquery.textSelection' => array(
350 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
351 'dependencies' => 'jquery.client',
352 'targets' => array( 'mobile', 'desktop' ),
354 'jquery.throttle-debounce' => array(
355 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
356 'targets' => array( 'desktop', 'mobile' ),
358 'jquery.xmldom' => array(
359 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
364 'jquery.tipsy' => array(
365 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
366 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
371 'jquery.ui.core' => array(
372 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
373 'dependencies' => array(
374 'jquery.ui.core.styles',
376 'group' => 'jquery.ui',
378 'jquery.ui.core.styles' => array(
380 'skinStyles' => array(
382 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
383 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
386 'group' => 'jquery.ui',
388 'jquery.ui.accordion' => array(
389 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
390 'dependencies' => array(
394 'skinStyles' => array(
395 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
397 'group' => 'jquery.ui',
399 'jquery.ui.autocomplete' => array(
400 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
401 'dependencies' => array(
404 'jquery.ui.position',
407 'skinStyles' => array(
408 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
410 'group' => 'jquery.ui',
412 'jquery.ui.button' => array(
413 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
414 'dependencies' => array(
418 'skinStyles' => array(
419 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
421 'group' => 'jquery.ui',
423 'jquery.ui.datepicker' => array(
424 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
425 'dependencies' => 'jquery.ui.core',
426 'skinStyles' => array(
427 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
429 'languageScripts' => array(
430 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
431 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
432 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
433 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
434 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
435 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
436 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
437 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
438 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
439 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
440 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
441 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
442 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
443 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
444 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
445 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
446 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
447 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
448 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
449 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
450 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
451 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
452 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
453 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
454 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
455 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
456 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
457 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
458 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
459 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
460 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
461 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
462 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
463 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
464 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
465 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
466 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
467 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
468 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
469 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
470 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
471 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
472 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
473 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
474 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
475 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
476 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
477 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
478 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
479 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
480 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
481 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
482 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
483 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
484 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
485 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
486 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
487 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
488 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
489 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
490 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
491 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
492 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
493 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
494 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
495 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
496 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
498 'group' => 'jquery.ui',
500 'jquery.ui.dialog' => array(
501 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
502 'dependencies' => array(
506 'jquery.ui.draggable',
508 'jquery.ui.position',
509 'jquery.ui.resizable',
511 'skinStyles' => array(
512 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
514 'group' => 'jquery.ui',
516 'jquery.ui.draggable' => array(
517 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
518 'dependencies' => array(
523 'group' => 'jquery.ui',
525 'jquery.ui.droppable' => array(
526 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
527 'dependencies' => array(
531 'jquery.ui.draggable',
533 'group' => 'jquery.ui',
535 'jquery.ui.menu' => array(
536 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
537 'dependencies' => array(
540 'jquery.ui.position',
542 'skinStyles' => array(
543 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
545 'group' => 'jquery.ui',
547 'jquery.ui.mouse' => array(
548 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
549 'dependencies' => 'jquery.ui.widget',
550 'group' => 'jquery.ui',
552 'jquery.ui.position' => array(
553 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
554 'group' => 'jquery.ui',
556 'jquery.ui.progressbar' => array(
557 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
558 'dependencies' => array(
562 'skinStyles' => array(
563 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
565 'group' => 'jquery.ui',
567 'jquery.ui.resizable' => array(
568 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
569 'dependencies' => array(
574 'skinStyles' => array(
575 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
577 'group' => 'jquery.ui',
579 'jquery.ui.selectable' => array(
580 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
581 'dependencies' => array(
586 'skinStyles' => array(
587 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
589 'group' => 'jquery.ui',
591 'jquery.ui.slider' => array(
592 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
593 'dependencies' => array(
598 'skinStyles' => array(
599 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
601 'group' => 'jquery.ui',
603 'jquery.ui.sortable' => array(
604 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
605 'dependencies' => array(
610 'group' => 'jquery.ui',
612 'jquery.ui.spinner' => array(
613 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
614 'dependencies' => array(
619 'skinStyles' => array(
620 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
622 'group' => 'jquery.ui',
624 'jquery.ui.tabs' => array(
625 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
626 'dependencies' => array(
630 'skinStyles' => array(
631 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
633 'group' => 'jquery.ui',
635 'jquery.ui.tooltip' => array(
636 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
637 'dependencies' => array(
640 'jquery.ui.position',
642 'skinStyles' => array(
643 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
645 'group' => 'jquery.ui',
647 'jquery.ui.widget' => array(
648 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
649 'group' => 'jquery.ui',
652 'jquery.effects.core' => array(
653 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
654 'group' => 'jquery.ui',
656 'jquery.effects.blind' => array(
657 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
658 'dependencies' => 'jquery.effects.core',
659 'group' => 'jquery.ui',
661 'jquery.effects.bounce' => array(
662 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
663 'dependencies' => 'jquery.effects.core',
664 'group' => 'jquery.ui',
666 'jquery.effects.clip' => array(
667 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
668 'dependencies' => 'jquery.effects.core',
669 'group' => 'jquery.ui',
671 'jquery.effects.drop' => array(
672 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
673 'dependencies' => 'jquery.effects.core',
674 'group' => 'jquery.ui',
676 'jquery.effects.explode' => array(
677 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
678 'dependencies' => 'jquery.effects.core',
679 'group' => 'jquery.ui',
681 'jquery.effects.fade' => array(
682 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
683 'dependencies' => 'jquery.effects.core',
684 'group' => 'jquery.ui',
686 'jquery.effects.fold' => array(
687 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
688 'dependencies' => 'jquery.effects.core',
689 'group' => 'jquery.ui',
691 'jquery.effects.highlight' => array(
692 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
693 'dependencies' => 'jquery.effects.core',
694 'group' => 'jquery.ui',
696 'jquery.effects.pulsate' => array(
697 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
698 'dependencies' => 'jquery.effects.core',
699 'group' => 'jquery.ui',
701 'jquery.effects.scale' => array(
702 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
703 'dependencies' => 'jquery.effects.core',
704 'group' => 'jquery.ui',
706 'jquery.effects.shake' => array(
707 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
708 'dependencies' => 'jquery.effects.core',
709 'group' => 'jquery.ui',
711 'jquery.effects.slide' => array(
712 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
713 'dependencies' => 'jquery.effects.core',
714 'group' => 'jquery.ui',
716 'jquery.effects.transfer' => array(
717 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
718 'dependencies' => 'jquery.effects.core',
719 'group' => 'jquery.ui',
725 'scripts' => 'resources/lib/json2/json2.js',
726 'targets' => array( 'desktop', 'mobile' ),
727 'skipFunction' => 'resources/src/json-skip.js',
734 'resources/lib/moment/moment.js',
735 'resources/src/moment-local-dmy.js',
737 'languageScripts' => array(
738 'af' => 'resources/lib/moment/locale/af.js',
739 'ar' => 'resources/lib/moment/locale/ar.js',
740 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
741 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
742 'az' => 'resources/lib/moment/locale/az.js',
743 'be' => 'resources/lib/moment/locale/be.js',
744 'bg' => 'resources/lib/moment/locale/bg.js',
745 'bn' => 'resources/lib/moment/locale/bn.js',
746 'bo' => 'resources/lib/moment/locale/bo.js',
747 'br' => 'resources/lib/moment/locale/br.js',
748 'bs' => 'resources/lib/moment/locale/bs.js',
749 'ca' => 'resources/lib/moment/locale/ca.js',
750 'cs' => 'resources/lib/moment/locale/cs.js',
751 'cv' => 'resources/lib/moment/locale/cv.js',
752 'cy' => 'resources/lib/moment/locale/cy.js',
753 'da' => 'resources/lib/moment/locale/da.js',
754 'de' => 'resources/lib/moment/locale/de.js',
755 'de-at' => 'resources/lib/moment/locale/de-at.js',
756 'el' => 'resources/lib/moment/locale/el.js',
757 'en-au' => 'resources/lib/moment/locale/en-au.js',
758 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
759 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
760 'eo' => 'resources/lib/moment/locale/eo.js',
761 'es' => 'resources/lib/moment/locale/es.js',
762 'et' => 'resources/lib/moment/locale/et.js',
763 'eu' => 'resources/lib/moment/locale/eu.js',
764 'fa' => 'resources/lib/moment/locale/fa.js',
765 'fi' => 'resources/lib/moment/locale/fi.js',
766 'fo' => 'resources/lib/moment/locale/fo.js',
767 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
768 'fr' => 'resources/lib/moment/locale/fr.js',
769 'gl' => 'resources/lib/moment/locale/gl.js',
770 'he' => 'resources/lib/moment/locale/he.js',
771 'hi' => 'resources/lib/moment/locale/hi.js',
772 'hr' => 'resources/lib/moment/locale/hr.js',
773 'hu' => 'resources/lib/moment/locale/hu.js',
774 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
775 'id' => 'resources/lib/moment/locale/id.js',
776 'is' => 'resources/lib/moment/locale/is.js',
777 'it' => 'resources/lib/moment/locale/it.js',
778 'ja' => 'resources/lib/moment/locale/ja.js',
779 'ka' => 'resources/lib/moment/locale/ka.js',
780 'ko' => 'resources/lib/moment/locale/ko.js',
781 'lt' => 'resources/lib/moment/locale/lt.js',
782 'lv' => 'resources/lib/moment/locale/lv.js',
783 'mk' => 'resources/lib/moment/locale/mk.js',
784 'ml' => 'resources/lib/moment/locale/ml.js',
785 'mr' => 'resources/lib/moment/locale/mr.js',
786 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
787 'my' => 'resources/lib/moment/locale/my.js',
788 'nb' => 'resources/lib/moment/locale/nb.js',
789 'ne' => 'resources/lib/moment/locale/ne.js',
790 'nl' => 'resources/lib/moment/locale/nl.js',
791 'nn' => 'resources/lib/moment/locale/nn.js',
792 'pl' => 'resources/lib/moment/locale/pl.js',
793 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
794 'pt' => 'resources/lib/moment/locale/pt.js',
795 'ro' => 'resources/lib/moment/locale/ro.js',
796 'ru' => 'resources/lib/moment/locale/ru.js',
797 'sk' => 'resources/lib/moment/locale/sk.js',
798 'sl' => 'resources/lib/moment/locale/sl.js',
799 'sq' => 'resources/lib/moment/locale/sq.js',
800 'sr' => 'resources/lib/moment/locale/sr.js',
801 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
802 'sv' => 'resources/lib/moment/locale/sv.js',
803 'ta' => 'resources/lib/moment/locale/ta.js',
804 'th' => 'resources/lib/moment/locale/th.js',
805 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
806 'tr' => 'resources/lib/moment/locale/tr.js',
807 'tzm' => 'resources/lib/moment/locale/tzm.js',
808 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
809 'uk' => 'resources/lib/moment/locale/uk.js',
810 'uz' => 'resources/lib/moment/locale/uz.js',
811 'vi' => 'resources/lib/moment/locale/vi.js',
812 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
813 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
815 'targets' => array( 'desktop', 'mobile' ),
820 'mediawiki' => array(
821 'class' => 'ResourceLoaderRawFileModule',
822 // Keep in sync with maintenance/jsduck/eg-iframe.html
824 'resources/lib/phpjs-sha1/sha1.js',
825 'resources/src/mediawiki/mediawiki.js',
826 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
827 'resources/src/mediawiki/mediawiki.errorLogger.js',
829 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
830 'targets' => array( 'desktop', 'mobile' ),
832 'mediawiki.apihelp' => array(
833 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
834 'targets' => array( 'desktop' ),
837 'mediawiki.template' => array(
838 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
839 'targets' => array( 'desktop', 'mobile' ),
841 'mediawiki.template.mustache' => array(
843 'resources/lib/mustache/mustache.js',
844 'resources/src/mediawiki/mediawiki.template.mustache.js',
846 'targets' => array( 'desktop', 'mobile' ),
847 'dependencies' => 'mediawiki.template',
849 'mediawiki.template.regexp' => array(
850 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
851 'targets' => array( 'desktop', 'mobile' ),
852 'dependencies' => 'mediawiki.template',
854 'mediawiki.apipretty' => array(
855 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
856 'targets' => array( 'desktop', 'mobile' ),
859 'mediawiki.api' => array(
860 'scripts' => 'resources/src/mediawiki/api.js',
861 'dependencies' => array(
865 'targets' => array( 'desktop', 'mobile' ),
867 'mediawiki.api.category' => array(
868 'scripts' => 'resources/src/mediawiki/api/category.js',
869 'dependencies' => array(
874 'mediawiki.api.edit' => array(
875 'scripts' => 'resources/src/mediawiki/api/edit.js',
876 'dependencies' => array(
880 'targets' => array( 'desktop', 'mobile' ),
882 'mediawiki.api.login' => array(
883 'scripts' => 'resources/src/mediawiki/api/login.js',
884 'dependencies' => 'mediawiki.api',
886 'mediawiki.api.options' => array(
887 'scripts' => 'resources/src/mediawiki/api/options.js',
888 'dependencies' => 'mediawiki.api',
889 'targets' => array( 'desktop', 'mobile' ),
891 'mediawiki.api.parse' => array(
892 'scripts' => 'resources/src/mediawiki/api/parse.js',
893 'dependencies' => 'mediawiki.api',
894 'targets' => array( 'desktop', 'mobile' ),
896 'mediawiki.api.upload' => array(
897 'scripts' => 'resources/src/mediawiki/api/upload.js',
898 'dependencies' => array(
901 'mediawiki.api.edit',
905 'mediawiki.api.user' => array(
906 'scripts' => 'resources/src/mediawiki/api/user.js',
907 'dependencies' => array(
910 'targets' => array( 'desktop', 'mobile' ),
912 'mediawiki.api.watch' => array(
913 'scripts' => 'resources/src/mediawiki/api/watch.js',
914 'dependencies' => array(
918 'mediawiki.api.messages' => array(
919 'scripts' => 'resources/src/mediawiki/api/messages.js',
920 'dependencies' => array(
924 'mediawiki.content.json' => array(
926 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
928 'mediawiki.confirmCloseWindow' => array(
930 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
932 'targets' => array( 'desktop', 'mobile' ),
934 'mediawiki.debug' => array(
936 'resources/src/mediawiki/mediawiki.debug.js',
939 'resources/src/mediawiki/mediawiki.debug.less',
941 'dependencies' => array(
945 'position' => 'bottom',
947 'mediawiki.debug.init' => array(
948 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
949 'dependencies' => 'mediawiki.debug',
950 // Uses a custom mw.config variable that is set in debughtml,
951 // must be loaded on the bottom
952 'position' => 'bottom',
954 'mediawiki.feedback' => array(
955 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
956 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
957 'dependencies' => array(
958 'mediawiki.messagePoster',
966 'feedback-dialog-intro',
967 'feedback-external-bug-report-button',
969 'feedback-bugornote',
972 'feedback-dialog-title',
973 'feedback-error-title',
982 'feedback-termsofuse',
984 'feedback-thanks-title',
988 'mediawiki.feedlink' => array(
990 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
992 'mediawiki.filewarning' => array(
993 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
994 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
995 'dependencies' => array(
999 'mediawiki.ForeignApi' => array(
1000 'targets' => array( 'desktop', 'mobile' ),
1001 'class' => 'ResourceLoaderForeignApiModule',
1002 // Additional dependencies generated dynamically
1003 'dependencies' => 'mediawiki.ForeignApi.core',
1005 'mediawiki.ForeignApi.core' => array(
1006 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1007 'dependencies' => array(
1011 'targets' => array( 'desktop', 'mobile' ),
1013 'mediawiki.helplink' => array(
1014 'position' => 'top',
1016 'resources/src/mediawiki/mediawiki.helplink.less',
1018 'targets' => array( 'desktop', 'mobile' ),
1020 'mediawiki.hidpi' => array(
1021 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1022 'dependencies' => 'jquery.hidpi',
1023 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1024 'targets' => array( 'desktop', 'mobile' ),
1026 'mediawiki.hlist' => array(
1027 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1029 'mediawiki.htmlform' => array(
1030 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
1031 'dependencies' => array(
1035 'messages' => array(
1036 'htmlform-chosen-placeholder',
1037 // @todo Load this message in content language
1041 'mediawiki.htmlform.styles' => array(
1042 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.css',
1043 'position' => 'top',
1045 'mediawiki.htmlform.ooui.styles' => array(
1046 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.css',
1047 'position' => 'top',
1049 'mediawiki.icon' => array(
1050 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1052 'mediawiki.inspect' => array(
1053 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1054 'dependencies' => array(
1055 'jquery.byteLength',
1059 'targets' => array( 'desktop', 'mobile' ),
1061 'mediawiki.messagePoster' => array(
1063 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1064 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1066 'dependencies' => array(
1069 'mediawiki.ForeignApi',
1071 'targets' => array( 'desktop', 'mobile' ),
1073 'mediawiki.messagePoster.wikitext' => array(
1075 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1077 'dependencies' => array(
1078 'mediawiki.api.edit',
1079 'mediawiki.messagePoster',
1081 'targets' => array( 'desktop', 'mobile' ),
1083 'mediawiki.notification' => array(
1085 'resources/src/mediawiki/mediawiki.notification.common.css',
1086 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
1087 => array( 'media' => 'print' ),
1089 'skinStyles' => array(
1090 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1092 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1093 'dependencies' => 'mediawiki.page.startup',
1094 'targets' => array( 'desktop', 'mobile' ),
1096 'mediawiki.notify' => array(
1097 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1098 'targets' => array( 'desktop', 'mobile' ),
1100 'mediawiki.RegExp' => array(
1101 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1102 'targets' => array( 'desktop', 'mobile' ),
1104 'mediawiki.pager.tablePager' => array(
1105 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1106 'position' => 'top',
1108 'mediawiki.searchSuggest' => array(
1109 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1110 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1111 'messages' => array(
1112 'searchsuggest-search',
1113 'searchsuggest-containing',
1115 'dependencies' => array(
1117 'jquery.placeholder',
1118 'jquery.suggestions',
1123 'mediawiki.sectionAnchor' => array(
1124 'position' => 'top',
1125 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1126 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1127 'targets' => array( 'desktop', 'mobile' ),
1129 'mediawiki.storage' => array(
1130 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1131 'targets' => array( 'desktop', 'mobile' ),
1133 'mediawiki.Title' => array(
1134 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1135 'dependencies' => array(
1136 'jquery.byteLength',
1139 'targets' => array( 'desktop', 'mobile' ),
1141 'mediawiki.Upload' => array(
1142 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1143 'dependencies' => array(
1145 'mediawiki.api.upload',
1148 'mediawiki.ForeignUpload' => array(
1149 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1150 'dependencies' => array(
1151 'mediawiki.ForeignApi',
1156 'mediawiki.ForeignStructuredUpload' => array(
1157 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1158 'dependencies' => array(
1159 'mediawiki.ForeignUpload',
1162 'mediawiki.Upload.Dialog' => array(
1164 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1166 'dependencies' => array(
1167 'mediawiki.Upload.BookletLayout',
1169 'messages' => array(
1170 'upload-dialog-title',
1171 'upload-dialog-button-cancel',
1172 'upload-dialog-button-done',
1173 'upload-dialog-button-save',
1174 'upload-dialog-button-upload',
1177 'mediawiki.Upload.BookletLayout' => array(
1179 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1181 'dependencies' => array(
1186 'mediawiki.jqueryMsg',
1188 'messages' => array(
1189 'upload-form-label-select-file',
1190 'upload-form-label-infoform-title',
1191 'upload-form-label-infoform-name',
1192 'upload-form-label-infoform-name-tooltip',
1193 'upload-form-label-infoform-description',
1194 'upload-form-label-infoform-description-tooltip',
1195 'upload-form-label-usage-title',
1196 'upload-form-label-usage-filename',
1197 'api-error-unknownerror',
1198 'api-error-unknown-warning',
1199 'api-error-badaccess-groups',
1200 'api-error-badtoken',
1201 'api-error-copyuploaddisabled',
1202 'api-error-duplicate',
1203 'api-error-duplicate-archive',
1204 'api-error-empty-file',
1205 'api-error-emptypage',
1206 'api-error-fetchfileerror',
1207 'api-error-fileexists-forbidden',
1208 'api-error-fileexists-shared-forbidden',
1209 'api-error-file-too-large',
1210 'api-error-filename-tooshort',
1211 'api-error-filetype-banned',
1212 'api-error-filetype-banned-type',
1213 'api-error-filetype-missing',
1214 'api-error-hookaborted',
1216 'api-error-illegal-filename',
1217 'api-error-internal-error',
1218 'api-error-invalid-file-key',
1219 'api-error-missingparam',
1220 'api-error-missingresult',
1221 'api-error-mustbeloggedin',
1222 'api-error-mustbeposted',
1223 'api-error-noimageinfo',
1224 'api-error-nomodule',
1225 'api-error-ok-but-empty',
1226 'api-error-overwrite',
1227 'api-error-stashfailed',
1228 'api-error-publishfailed',
1229 'api-error-stasherror',
1230 'api-error-stashedfilenotfound',
1231 'api-error-stashpathinvalid',
1232 'api-error-stashfilestorage',
1233 'api-error-stashzerolength',
1234 'api-error-stashnotloggedin',
1235 'api-error-stashwrongowner',
1236 'api-error-stashnosuchfilekey',
1237 'api-error-timeout',
1238 'api-error-unclassified',
1239 'api-error-unknown-code',
1240 'api-error-unknown-error',
1241 'api-error-uploaddisabled',
1242 'api-error-verification-error',
1245 'filename-bad-prefix',
1246 'filename-thumb-name',
1248 'api-error-blacklisted', // HACK
1251 'mediawiki.ForeignStructuredUpload.BookletLayout' => array(
1252 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1253 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1254 'dependencies' => array(
1255 'mediawiki.ForeignStructuredUpload',
1256 'mediawiki.Upload.BookletLayout',
1257 'mediawiki.widgets.CategorySelector',
1258 'mediawiki.widgets.DateInputWidget',
1259 'mediawiki.jqueryMsg',
1261 'mediawiki.libs.jpegmeta',
1263 'messages' => array(
1264 'foreign-structured-upload-form-label-own-work',
1265 'foreign-structured-upload-form-label-infoform-categories',
1266 'foreign-structured-upload-form-label-infoform-date',
1267 'foreign-structured-upload-form-label-own-work-message-default',
1268 'foreign-structured-upload-form-label-not-own-work-message-default',
1269 'foreign-structured-upload-form-label-not-own-work-local-default',
1270 'foreign-structured-upload-form-label-own-work-message-shared',
1271 'foreign-structured-upload-form-label-not-own-work-message-shared',
1272 'foreign-structured-upload-form-label-not-own-work-local-shared',
1273 'foreign-structured-upload-form-label-own-work-message-local',
1274 'foreign-structured-upload-form-label-not-own-work-message-local',
1275 'foreign-structured-upload-form-label-not-own-work-local-local',
1276 'foreign-structured-upload-form-2-label-intro',
1277 'foreign-structured-upload-form-2-label-ownwork',
1278 'foreign-structured-upload-form-2-label-noderiv',
1279 'foreign-structured-upload-form-2-label-useful',
1280 'foreign-structured-upload-form-2-label-ccbysa',
1281 'foreign-structured-upload-form-2-label-alternative',
1282 'foreign-structured-upload-form-2-label-termsofuse',
1283 'foreign-structured-upload-form-3-label-question-website',
1284 'foreign-structured-upload-form-3-label-question-ownwork',
1285 'foreign-structured-upload-form-3-label-question-noderiv',
1286 'foreign-structured-upload-form-3-label-yes',
1287 'foreign-structured-upload-form-3-label-no',
1288 'foreign-structured-upload-form-3-label-alternative',
1289 'foreign-structured-upload-form-4-label-good',
1290 'foreign-structured-upload-form-4-label-bad',
1292 'templates' => array(
1293 'guide.html' => 'resources/src/mediawiki/bookletlayout/option4/guide.html',
1296 'mediawiki.toc' => array(
1297 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1299 'resources/src/mediawiki/mediawiki.toc.css'
1300 => array( 'media' => 'screen' ),
1301 'resources/src/mediawiki/mediawiki.toc.print.css'
1302 => array( 'media' => 'print' ),
1304 'dependencies' => 'mediawiki.cookie',
1305 'messages' => array( 'showtoc', 'hidetoc' ),
1306 'targets' => array( 'desktop', 'mobile' ),
1308 'mediawiki.Uri' => array(
1309 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1310 'templates' => array(
1311 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1312 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1314 'dependencies' => 'mediawiki.util',
1315 'targets' => array( 'desktop', 'mobile' ),
1317 'mediawiki.user' => array(
1318 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1319 'dependencies' => array(
1322 'mediawiki.api.user',
1326 'targets' => array( 'desktop', 'mobile' ),
1328 'mediawiki.userSuggest' => array(
1329 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1330 'dependencies' => array(
1331 'jquery.suggestions',
1335 'mediawiki.util' => array(
1336 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1337 'dependencies' => array(
1338 'jquery.accessKeyLabel',
1342 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
1343 'targets' => array( 'desktop', 'mobile' ),
1345 'mediawiki.cookie' => array(
1346 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1347 'dependencies' => 'jquery.cookie',
1348 'targets' => array( 'desktop', 'mobile' ),
1350 'mediawiki.toolbar' => array(
1351 'class' => 'ResourceLoaderEditToolbarModule',
1352 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1353 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1354 'position' => 'top',
1356 'mediawiki.experiments' => array(
1357 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1358 'targets' => array( 'desktop', 'mobile' ),
1360 'mediawiki.raggett' => array(
1361 'styles' => 'resources/src/mediawiki/mediawiki.raggett.css',
1362 'targets' => array( 'desktop', 'mobile' ),
1365 /* MediaWiki Action */
1367 'mediawiki.action.edit' => array(
1368 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1369 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1370 'dependencies' => array(
1371 'mediawiki.action.edit.styles',
1372 'jquery.textSelection',
1375 'position' => 'top',
1377 'mediawiki.action.edit.styles' => array(
1378 'position' => 'top',
1379 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1381 'mediawiki.action.edit.collapsibleFooter' => array(
1382 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1383 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1384 'dependencies' => array(
1385 'jquery.makeCollapsible',
1390 'mediawiki.action.edit.preview' => array(
1391 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1392 'dependencies' => array(
1395 'jquery.textSelection',
1397 'mediawiki.action.history.diff',
1399 'mediawiki.jqueryMsg',
1401 'messages' => array(
1402 // Keep the uses message keys in sync with EditPage#setHeaders
1416 'mediawiki.action.edit.stash' => array(
1417 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1418 'dependencies' => array(
1423 'mediawiki.action.history' => array(
1424 'position' => 'top',
1425 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1426 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1428 'mediawiki.action.history.diff' => array(
1429 'position' => 'top',
1431 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1432 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array(
1436 'targets' => array( 'desktop', 'mobile' ),
1438 'mediawiki.action.view.dblClickEdit' => array(
1439 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1440 'dependencies' => array(
1442 'mediawiki.page.startup',
1446 'mediawiki.action.view.metadata' => array(
1447 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1448 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1449 'messages' => array(
1451 'metadata-collapse',
1454 'mediawiki.action.view.categoryPage.styles' => array(
1455 'position' => 'top',
1456 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1457 'targets' => array( 'desktop', 'mobile' )
1459 'mediawiki.action.view.postEdit' => array(
1460 'templates' => array(
1461 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1463 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1464 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1465 'dependencies' => array(
1467 'mediawiki.jqueryMsg'
1469 'messages' => array(
1470 'postedit-confirmation-created',
1471 'postedit-confirmation-restored',
1472 'postedit-confirmation-saved',
1475 'mediawiki.action.view.redirect' => array(
1476 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1477 'dependencies' => 'jquery.client',
1478 'position' => 'top',
1479 'targets' => array( 'desktop', 'mobile' ),
1481 'mediawiki.action.view.redirectPage' => array(
1482 'position' => 'top',
1483 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1485 'mediawiki.action.view.rightClickEdit' => array(
1486 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1488 'mediawiki.action.edit.editWarning' => array(
1489 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1490 'dependencies' => array(
1491 'jquery.textSelection',
1492 'mediawiki.jqueryMsg',
1493 'mediawiki.confirmCloseWindow',
1496 'messages' => array(
1497 'editwarning-warning',
1498 // editwarning-warning uses {{int:prefs-editing}}
1502 'mediawiki.action.view.filepage' => array(
1504 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1505 array( 'media' => 'print' ),
1506 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1508 'position' => 'top',
1511 /* MediaWiki Language */
1513 'mediawiki.language' => array(
1515 'resources/src/mediawiki.language/mediawiki.language.js',
1516 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1517 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1519 'languageScripts' => array(
1520 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1521 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1522 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1523 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1524 'he' => 'resources/src/mediawiki.language/languages/he.js',
1525 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1526 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1527 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1528 'la' => 'resources/src/mediawiki.language/languages/la.js',
1529 'os' => 'resources/src/mediawiki.language/languages/os.js',
1530 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1531 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1532 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1534 'dependencies' => array(
1535 'mediawiki.language.data',
1538 'targets' => array( 'desktop', 'mobile' ),
1539 'messages' => array(
1546 'mediawiki.cldr' => array(
1547 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1548 'dependencies' => array(
1549 'mediawiki.libs.pluralruleparser',
1551 'targets' => array( 'desktop', 'mobile' ),
1554 'mediawiki.libs.pluralruleparser' => array(
1555 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1556 'targets' => array( 'desktop', 'mobile' ),
1559 'mediawiki.language.init' => array(
1560 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1561 'targets' => array( 'desktop', 'mobile' ),
1564 'mediawiki.jqueryMsg' => array(
1565 // Add data for mediawiki.jqueryMsg, such as allowed tags
1566 'class' => 'ResourceLoaderJqueryMsgModule',
1567 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1568 'dependencies' => array(
1570 'mediawiki.language',
1574 'targets' => array( 'desktop', 'mobile' ),
1577 'mediawiki.language.months' => array(
1578 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1579 'dependencies' => 'mediawiki.language',
1580 'messages' => array_merge(
1581 Language
::$mMonthMsgs,
1582 Language
::$mMonthGenMsgs,
1583 Language
::$mMonthAbbrevMsgs
1587 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1589 'mediawiki.language.specialCharacters' => array(
1590 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1593 /* MediaWiki Libs */
1595 'mediawiki.libs.jpegmeta' => array(
1596 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1599 /* MediaWiki Page */
1601 'mediawiki.page.gallery' => array(
1602 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1603 'dependencies' => array(
1604 'mediawiki.page.gallery.styles',
1605 'jquery.throttle-debounce',
1608 'mediawiki.page.gallery.styles' => array(
1610 'resources/src/mediawiki/page/gallery-print.css' => array( 'media' => 'print' ),
1611 'resources/src/mediawiki/page/gallery.css',
1613 'position' => 'top',
1614 'targets' => array( 'desktop', 'mobile' ),
1616 'mediawiki.page.ready' => array(
1617 'scripts' => 'resources/src/mediawiki/page/ready.js',
1618 'dependencies' => array(
1619 'jquery.accessKeyLabel',
1620 'jquery.checkboxShiftClick',
1621 'jquery.makeCollapsible',
1622 'jquery.placeholder',
1625 'targets' => array( 'desktop', 'mobile' ),
1627 'mediawiki.page.startup' => array(
1628 'scripts' => 'resources/src/mediawiki/page/startup.js',
1629 'dependencies' => 'mediawiki.util',
1630 'position' => 'top',
1631 'targets' => array( 'desktop', 'mobile' ),
1633 'mediawiki.page.patrol.ajax' => array(
1634 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1635 'dependencies' => array(
1636 'mediawiki.page.startup',
1644 'messages' => array(
1645 'markedaspatrollednotify',
1646 'markedaspatrollederrornotify',
1647 'markedaspatrollederror-noautopatrol'
1650 'mediawiki.page.watch.ajax' => array(
1651 'scripts' => 'resources/src/mediawiki/page/watch.js',
1652 'dependencies' => array(
1653 'mediawiki.page.startup',
1654 'mediawiki.api.watch',
1657 'jquery.accessKeyLabel',
1660 'messages' => array(
1666 'tooltip-ca-unwatch',
1670 'mediawiki.page.image.pagination' => array(
1671 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1672 'dependencies' => array(
1679 /* MediaWiki Special pages */
1681 'mediawiki.special' => array(
1682 'position' => 'top',
1683 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1684 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1686 'mediawiki.special.block' => array(
1687 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1688 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1689 'dependencies' => 'mediawiki.util',
1691 'mediawiki.special.blocklist' => array(
1692 'styles' => 'resources/src/mediawiki.special/mediawiki.special.blocklist.css',
1693 'position' => 'top',
1695 'mediawiki.special.changeslist' => array(
1696 'position' => 'top',
1697 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1699 'mediawiki.special.changeslist.legend' => array(
1700 'position' => 'top',
1701 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1703 'mediawiki.special.changeslist.legend.js' => array(
1704 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1705 'dependencies' => array(
1706 'jquery.makeCollapsible',
1710 'mediawiki.special.changeslist.enhanced' => array(
1711 'position' => 'top',
1712 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1714 'mediawiki.special.changeslist.visitedstatus' => array(
1715 'position' => 'top',
1716 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1718 'mediawiki.special.comparepages.styles' => array(
1719 'position' => 'top',
1720 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1722 'mediawiki.special.edittags' => array(
1723 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1724 'dependencies' => array(
1727 'messages' => array(
1728 'tags-edit-chosen-placeholder',
1729 'tags-edit-chosen-no-results',
1732 'mediawiki.special.edittags.styles' => array(
1733 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1734 'position' => 'top',
1736 'mediawiki.special.import' => array(
1737 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1739 'mediawiki.special.movePage' => array(
1740 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1741 'dependencies' => array(
1743 'mediawiki.widgets',
1746 'mediawiki.special.movePage.styles' => array(
1747 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1748 'position' => 'top',
1750 'mediawiki.special.pageLanguage' => array(
1751 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1753 'mediawiki.special.pagesWithProp' => array(
1754 'position' => 'top',
1755 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1757 'mediawiki.special.preferences' => array(
1758 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1759 'position' => 'top',
1760 'messages' => array(
1761 'prefs-tabs-navigation-hint',
1762 'prefswarning-warning',
1766 'dependencies' => array(
1767 'mediawiki.language',
1768 'mediawiki.confirmCloseWindow',
1769 'mediawiki.notification',
1772 'mediawiki.special.preferences.styles' => array(
1773 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1774 'position' => 'top',
1776 'mediawiki.special.recentchanges' => array(
1777 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1778 'dependencies' => 'mediawiki.special',
1779 'position' => 'top',
1781 'mediawiki.special.search' => array(
1782 'position' => 'top',
1783 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1784 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1785 'messages' => array(
1786 'powersearch-togglelabel',
1787 'powersearch-toggleall',
1788 'powersearch-togglenone',
1791 'mediawiki.special.undelete' => array(
1792 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1794 'mediawiki.special.upload' => array(
1795 'templates' => array(
1796 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1798 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1799 'messages' => array(
1806 'editwarning-warning',
1807 // editwarning-warning uses {{int:prefs-editing}}
1810 'dependencies' => array(
1812 'mediawiki.jqueryMsg',
1814 'mediawiki.libs.jpegmeta',
1817 'mediawiki.confirmCloseWindow',
1821 'mediawiki.special.userlogin.common.styles' => array(
1823 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1825 'position' => 'top',
1827 'mediawiki.special.userlogin.signup.styles' => array(
1828 'position' => 'top',
1830 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1833 'mediawiki.special.userlogin.login.styles' => array(
1834 'position' => 'top',
1836 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1839 'mediawiki.special.userlogin.signup.js' => array(
1840 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1841 'messages' => array(
1843 'createacct-emailrequired',
1847 'dependencies' => array(
1849 'mediawiki.jqueryMsg',
1850 'jquery.throttle-debounce',
1853 'mediawiki.special.unwatchedPages' => array(
1854 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1855 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1856 'messages' => array(
1857 'addedwatchtext-short',
1858 'removedwatchtext-short',
1865 'dependencies' => array(
1867 'mediawiki.api.watch',
1873 'mediawiki.special.watchlist' => array(
1874 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
1876 'mediawiki.special.version' => array(
1877 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1880 /* MediaWiki Installer */
1882 // Used in the web installer. Test it after modifying this definition!
1883 'mediawiki.legacy.config' => array(
1884 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1885 'scripts' => 'mw-config/config.js',
1886 'styles' => 'mw-config/config.css',
1889 /* MediaWiki Legacy */
1891 'mediawiki.legacy.commonPrint' => array(
1892 'position' => 'top',
1894 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1897 'mediawiki.legacy.protect' => array(
1898 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1899 'dependencies' => 'jquery.byteLimit',
1900 'messages' => array( 'protect-unchain-permissions' )
1902 // Used in the web installer. Test it after modifying this definition!
1903 'mediawiki.legacy.shared' => array(
1904 'position' => 'top',
1906 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1909 'mediawiki.legacy.oldshared' => array(
1910 'position' => 'top',
1912 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1915 'mediawiki.legacy.wikibits' => array(
1916 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1917 'dependencies' => 'mediawiki.util',
1918 'position' => 'top',
1919 'targets' => array( 'desktop', 'mobile' ),
1924 'mediawiki.ui' => array(
1925 'position' => 'top',
1926 'skinStyles' => array(
1928 'resources/src/mediawiki.ui/default.less',
1931 'targets' => array( 'desktop', 'mobile' ),
1933 'mediawiki.ui.checkbox' => array(
1934 'position' => 'top',
1935 'skinStyles' => array(
1937 'resources/src/mediawiki.ui/components/checkbox.less',
1940 'targets' => array( 'desktop', 'mobile' ),
1942 'mediawiki.ui.radio' => array(
1943 'position' => 'top',
1944 'skinStyles' => array(
1946 'resources/src/mediawiki.ui/components/radio.less',
1949 'targets' => array( 'desktop', 'mobile' ),
1951 // Lightweight module for anchor styles
1952 'mediawiki.ui.anchor' => array(
1953 'position' => 'top',
1954 'skinStyles' => array(
1956 'resources/src/mediawiki.ui/components/anchors.less',
1959 'targets' => array( 'desktop', 'mobile' ),
1961 // Lightweight module for button styles
1962 'mediawiki.ui.button' => array(
1963 'position' => 'top',
1964 'skinStyles' => array(
1966 'resources/src/mediawiki.ui/components/buttons.less',
1969 'targets' => array( 'desktop', 'mobile' ),
1971 'mediawiki.ui.input' => array(
1972 'position' => 'top',
1973 'skinStyles' => array(
1975 'resources/src/mediawiki.ui/components/inputs.less',
1978 'targets' => array( 'desktop', 'mobile' ),
1980 'mediawiki.ui.icon' => array(
1981 'position' => 'top',
1982 'skinStyles' => array(
1984 'resources/src/mediawiki.ui/components/icons.less',
1987 'targets' => array( 'desktop', 'mobile' ),
1989 // Lightweight module for text styles
1990 'mediawiki.ui.text' => array(
1991 'position' => 'top',
1992 'skinStyles' => array(
1994 'resources/src/mediawiki.ui/components/text.less',
1997 'targets' => array( 'desktop', 'mobile' ),
2000 'mediawiki.widgets' => array(
2002 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2003 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2004 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2005 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2006 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2007 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2008 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2010 'skinStyles' => array(
2012 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2015 'dependencies' => array(
2017 'mediawiki.widgets.styles',
2022 // TitleOptionWidget
2023 'jquery.autoEllipsis',
2024 // FIXME: Kept for bc
2025 'mediawiki.widgets.CategorySelector',
2027 'messages' => array(
2028 // NamespaceInputWidget
2032 'mw-widgets-titleinput-description-new-page',
2033 'mw-widgets-titleinput-description-redirect',
2035 'targets' => array( 'desktop', 'mobile' ),
2037 'mediawiki.widgets.styles' => array(
2038 'skinStyles' => array(
2040 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2041 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2044 'position' => 'top',
2045 'targets' => array( 'desktop', 'mobile' ),
2047 'mediawiki.widgets.DateInputWidget' => array(
2049 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2050 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2052 'skinStyles' => array(
2054 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2055 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2058 'messages' => array(
2059 'mw-widgets-dateinput-no-date',
2060 'mw-widgets-dateinput-placeholder-day',
2061 'mw-widgets-dateinput-placeholder-month',
2063 'dependencies' => array(
2067 'targets' => array( 'desktop', 'mobile' ),
2069 'mediawiki.widgets.datetime' => array(
2071 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2072 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2073 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2074 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2075 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2077 'skinStyles' => array(
2079 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2080 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2083 'messages' => array(
2127 'dependencies' => array(
2130 'targets' => array( 'desktop', 'mobile' ),
2132 'mediawiki.widgets.CategorySelector' => array(
2134 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2135 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2137 'dependencies' => array(
2140 'mediawiki.ForeignApi',
2143 'messages' => array(
2146 'targets' => array( 'desktop', 'mobile' ),
2148 'mediawiki.widgets.UserInputWidget' => array(
2150 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2152 'dependencies' => array(
2158 'es5-shim' => array(
2160 'resources/lib/es5-shim/es5-shim.js',
2161 'resources/src/polyfill-object-create.js',
2163 'targets' => array( 'desktop', 'mobile' ),
2164 'skipFunction' => 'resources/src/es5-skip.js',
2167 /* dom-level2-shim */
2169 'dom-level2-shim' => array(
2170 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2171 'targets' => array( 'desktop', 'mobile' ),
2172 'skipFunction' => 'resources/src/dom-level2-skip.js',
2178 'resources/lib/oojs/oojs.jquery.js',
2180 'targets' => array( 'desktop', 'mobile' ),
2181 'dependencies' => array(
2188 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
2189 // if loaded in browsers that don't support ES5
2190 // @see ResourcesOOUI.php