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.validate' => array(
359 'scripts' => 'resources/lib/jquery/jquery.validate.js',
361 'jquery.xmldom' => array(
362 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
367 'jquery.tipsy' => array(
368 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
369 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
374 'jquery.ui.core' => array(
375 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
376 'dependencies' => array(
377 'jquery.ui.core.styles',
379 'group' => 'jquery.ui',
381 'jquery.ui.core.styles' => array(
383 'skinStyles' => array(
385 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
386 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
389 'group' => 'jquery.ui',
391 'jquery.ui.accordion' => array(
392 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
393 'dependencies' => array(
397 'skinStyles' => array(
398 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
400 'group' => 'jquery.ui',
402 'jquery.ui.autocomplete' => array(
403 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
404 'dependencies' => array(
407 'jquery.ui.position',
410 'skinStyles' => array(
411 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
413 'group' => 'jquery.ui',
415 'jquery.ui.button' => array(
416 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
417 'dependencies' => array(
421 'skinStyles' => array(
422 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
424 'group' => 'jquery.ui',
426 'jquery.ui.datepicker' => array(
427 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
428 'dependencies' => 'jquery.ui.core',
429 'skinStyles' => array(
430 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
432 'languageScripts' => array(
433 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
434 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
435 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
436 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
437 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
438 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
439 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
440 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
441 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
442 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
443 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
444 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
445 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
446 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
447 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
448 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
449 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
450 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
451 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
452 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
453 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
454 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
455 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
456 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
457 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
458 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
459 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
460 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
461 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
462 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
463 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
464 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
465 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
466 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
467 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
468 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
469 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
470 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
471 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
472 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
473 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
474 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
475 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
476 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
477 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
478 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
479 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
480 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
481 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
482 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
483 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
484 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
485 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
486 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
487 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
488 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
489 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
490 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
491 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
492 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
493 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
494 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
495 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
496 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
497 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
498 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
499 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
501 'group' => 'jquery.ui',
503 'jquery.ui.dialog' => array(
504 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
505 'dependencies' => array(
509 'jquery.ui.draggable',
511 'jquery.ui.position',
512 'jquery.ui.resizable',
514 'skinStyles' => array(
515 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
517 'group' => 'jquery.ui',
519 'jquery.ui.draggable' => array(
520 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
521 'dependencies' => array(
526 'group' => 'jquery.ui',
528 'jquery.ui.droppable' => array(
529 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
530 'dependencies' => array(
534 'jquery.ui.draggable',
536 'group' => 'jquery.ui',
538 'jquery.ui.menu' => array(
539 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
540 'dependencies' => array(
543 'jquery.ui.position',
545 'skinStyles' => array(
546 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
548 'group' => 'jquery.ui',
550 'jquery.ui.mouse' => array(
551 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
552 'dependencies' => 'jquery.ui.widget',
553 'group' => 'jquery.ui',
555 'jquery.ui.position' => array(
556 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
557 'group' => 'jquery.ui',
559 'jquery.ui.progressbar' => array(
560 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
561 'dependencies' => array(
565 'skinStyles' => array(
566 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
568 'group' => 'jquery.ui',
570 'jquery.ui.resizable' => array(
571 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
572 'dependencies' => array(
577 'skinStyles' => array(
578 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
580 'group' => 'jquery.ui',
582 'jquery.ui.selectable' => array(
583 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
584 'dependencies' => array(
589 'skinStyles' => array(
590 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
592 'group' => 'jquery.ui',
594 'jquery.ui.slider' => array(
595 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
596 'dependencies' => array(
601 'skinStyles' => array(
602 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
604 'group' => 'jquery.ui',
606 'jquery.ui.sortable' => array(
607 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
608 'dependencies' => array(
613 'group' => 'jquery.ui',
615 'jquery.ui.spinner' => array(
616 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
617 'dependencies' => array(
622 'skinStyles' => array(
623 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
625 'group' => 'jquery.ui',
627 'jquery.ui.tabs' => array(
628 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
629 'dependencies' => array(
633 'skinStyles' => array(
634 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
636 'group' => 'jquery.ui',
638 'jquery.ui.tooltip' => array(
639 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
640 'dependencies' => array(
643 'jquery.ui.position',
645 'skinStyles' => array(
646 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
648 'group' => 'jquery.ui',
650 'jquery.ui.widget' => array(
651 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
652 'group' => 'jquery.ui',
655 'jquery.effects.core' => array(
656 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
657 'group' => 'jquery.ui',
659 'jquery.effects.blind' => array(
660 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
661 'dependencies' => 'jquery.effects.core',
662 'group' => 'jquery.ui',
664 'jquery.effects.bounce' => array(
665 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
666 'dependencies' => 'jquery.effects.core',
667 'group' => 'jquery.ui',
669 'jquery.effects.clip' => array(
670 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
671 'dependencies' => 'jquery.effects.core',
672 'group' => 'jquery.ui',
674 'jquery.effects.drop' => array(
675 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
676 'dependencies' => 'jquery.effects.core',
677 'group' => 'jquery.ui',
679 'jquery.effects.explode' => array(
680 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
681 'dependencies' => 'jquery.effects.core',
682 'group' => 'jquery.ui',
684 'jquery.effects.fade' => array(
685 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
686 'dependencies' => 'jquery.effects.core',
687 'group' => 'jquery.ui',
689 'jquery.effects.fold' => array(
690 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
691 'dependencies' => 'jquery.effects.core',
692 'group' => 'jquery.ui',
694 'jquery.effects.highlight' => array(
695 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
696 'dependencies' => 'jquery.effects.core',
697 'group' => 'jquery.ui',
699 'jquery.effects.pulsate' => array(
700 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
701 'dependencies' => 'jquery.effects.core',
702 'group' => 'jquery.ui',
704 'jquery.effects.scale' => array(
705 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
706 'dependencies' => 'jquery.effects.core',
707 'group' => 'jquery.ui',
709 'jquery.effects.shake' => array(
710 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
711 'dependencies' => 'jquery.effects.core',
712 'group' => 'jquery.ui',
714 'jquery.effects.slide' => array(
715 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
716 'dependencies' => 'jquery.effects.core',
717 'group' => 'jquery.ui',
719 'jquery.effects.transfer' => array(
720 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
721 'dependencies' => 'jquery.effects.core',
722 'group' => 'jquery.ui',
728 'scripts' => 'resources/lib/json2/json2.js',
729 'targets' => array( 'desktop', 'mobile' ),
730 'skipFunction' => 'resources/src/json-skip.js',
737 'resources/lib/moment/moment.js',
738 'resources/src/moment-local-dmy.js',
740 'languageScripts' => array(
741 'af' => 'resources/lib/moment/locale/af.js',
742 'ar' => 'resources/lib/moment/locale/ar.js',
743 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
744 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
745 'az' => 'resources/lib/moment/locale/az.js',
746 'be' => 'resources/lib/moment/locale/be.js',
747 'bg' => 'resources/lib/moment/locale/bg.js',
748 'bn' => 'resources/lib/moment/locale/bn.js',
749 'bo' => 'resources/lib/moment/locale/bo.js',
750 'br' => 'resources/lib/moment/locale/br.js',
751 'bs' => 'resources/lib/moment/locale/bs.js',
752 'ca' => 'resources/lib/moment/locale/ca.js',
753 'cs' => 'resources/lib/moment/locale/cs.js',
754 'cv' => 'resources/lib/moment/locale/cv.js',
755 'cy' => 'resources/lib/moment/locale/cy.js',
756 'da' => 'resources/lib/moment/locale/da.js',
757 'de' => 'resources/lib/moment/locale/de.js',
758 'de-at' => 'resources/lib/moment/locale/de-at.js',
759 'el' => 'resources/lib/moment/locale/el.js',
760 'en-au' => 'resources/lib/moment/locale/en-au.js',
761 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
762 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
763 'eo' => 'resources/lib/moment/locale/eo.js',
764 'es' => 'resources/lib/moment/locale/es.js',
765 'et' => 'resources/lib/moment/locale/et.js',
766 'eu' => 'resources/lib/moment/locale/eu.js',
767 'fa' => 'resources/lib/moment/locale/fa.js',
768 'fi' => 'resources/lib/moment/locale/fi.js',
769 'fo' => 'resources/lib/moment/locale/fo.js',
770 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
771 'fr' => 'resources/lib/moment/locale/fr.js',
772 'gl' => 'resources/lib/moment/locale/gl.js',
773 'he' => 'resources/lib/moment/locale/he.js',
774 'hi' => 'resources/lib/moment/locale/hi.js',
775 'hr' => 'resources/lib/moment/locale/hr.js',
776 'hu' => 'resources/lib/moment/locale/hu.js',
777 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
778 'id' => 'resources/lib/moment/locale/id.js',
779 'is' => 'resources/lib/moment/locale/is.js',
780 'it' => 'resources/lib/moment/locale/it.js',
781 'ja' => 'resources/lib/moment/locale/ja.js',
782 'ka' => 'resources/lib/moment/locale/ka.js',
783 'ko' => 'resources/lib/moment/locale/ko.js',
784 'lt' => 'resources/lib/moment/locale/lt.js',
785 'lv' => 'resources/lib/moment/locale/lv.js',
786 'mk' => 'resources/lib/moment/locale/mk.js',
787 'ml' => 'resources/lib/moment/locale/ml.js',
788 'mr' => 'resources/lib/moment/locale/mr.js',
789 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
790 'my' => 'resources/lib/moment/locale/my.js',
791 'nb' => 'resources/lib/moment/locale/nb.js',
792 'ne' => 'resources/lib/moment/locale/ne.js',
793 'nl' => 'resources/lib/moment/locale/nl.js',
794 'nn' => 'resources/lib/moment/locale/nn.js',
795 'pl' => 'resources/lib/moment/locale/pl.js',
796 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
797 'pt' => 'resources/lib/moment/locale/pt.js',
798 'ro' => 'resources/lib/moment/locale/ro.js',
799 'ru' => 'resources/lib/moment/locale/ru.js',
800 'sk' => 'resources/lib/moment/locale/sk.js',
801 'sl' => 'resources/lib/moment/locale/sl.js',
802 'sq' => 'resources/lib/moment/locale/sq.js',
803 'sr' => 'resources/lib/moment/locale/sr.js',
804 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
805 'sv' => 'resources/lib/moment/locale/sv.js',
806 'ta' => 'resources/lib/moment/locale/ta.js',
807 'th' => 'resources/lib/moment/locale/th.js',
808 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
809 'tr' => 'resources/lib/moment/locale/tr.js',
810 'tzm' => 'resources/lib/moment/locale/tzm.js',
811 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
812 'uk' => 'resources/lib/moment/locale/uk.js',
813 'uz' => 'resources/lib/moment/locale/uz.js',
814 'vi' => 'resources/lib/moment/locale/vi.js',
815 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
816 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
818 'targets' => array( 'desktop', 'mobile' ),
823 'mediawiki' => array(
824 'class' => 'ResourceLoaderRawFileModule',
825 // Keep in sync with maintenance/jsduck/eg-iframe.html
827 'resources/lib/phpjs-sha1/sha1.js',
828 'resources/src/mediawiki/mediawiki.js',
829 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
830 'resources/src/mediawiki/mediawiki.errorLogger.js',
832 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
833 'targets' => array( 'desktop', 'mobile' ),
835 'mediawiki.apihelp' => array(
836 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
837 'targets' => array( 'desktop' ),
838 'dependencies' => 'mediawiki.hlist',
841 'mediawiki.template' => array(
842 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
843 'targets' => array( 'desktop', 'mobile' ),
845 'mediawiki.template.mustache' => array(
847 'resources/lib/mustache/mustache.js',
848 'resources/src/mediawiki/mediawiki.template.mustache.js',
850 'targets' => array( 'desktop', 'mobile' ),
851 'dependencies' => 'mediawiki.template',
853 'mediawiki.template.regexp' => array(
854 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
855 'targets' => array( 'desktop', 'mobile' ),
856 'dependencies' => 'mediawiki.template',
858 'mediawiki.apipretty' => array(
859 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
860 'targets' => array( 'desktop', 'mobile' ),
863 'mediawiki.api' => array(
864 'scripts' => 'resources/src/mediawiki/api.js',
865 'dependencies' => array(
869 'targets' => array( 'desktop', 'mobile' ),
871 'mediawiki.api.category' => array(
872 'scripts' => 'resources/src/mediawiki/api/category.js',
873 'dependencies' => array(
878 'mediawiki.api.edit' => array(
879 'scripts' => 'resources/src/mediawiki/api/edit.js',
880 'dependencies' => array(
884 'targets' => array( 'desktop', 'mobile' ),
886 'mediawiki.api.login' => array(
887 'scripts' => 'resources/src/mediawiki/api/login.js',
888 'dependencies' => 'mediawiki.api',
890 'mediawiki.api.options' => array(
891 'scripts' => 'resources/src/mediawiki/api/options.js',
892 'dependencies' => 'mediawiki.api',
893 'targets' => array( 'desktop', 'mobile' ),
895 'mediawiki.api.parse' => array(
896 'scripts' => 'resources/src/mediawiki/api/parse.js',
897 'dependencies' => 'mediawiki.api',
898 'targets' => array( 'desktop', 'mobile' ),
900 'mediawiki.api.upload' => array(
901 'scripts' => 'resources/src/mediawiki/api/upload.js',
902 'dependencies' => array(
905 'mediawiki.api.edit',
909 'mediawiki.api.user' => array(
910 'scripts' => 'resources/src/mediawiki/api/user.js',
911 'dependencies' => array(
914 'targets' => array( 'desktop', 'mobile' ),
916 'mediawiki.api.watch' => array(
917 'scripts' => 'resources/src/mediawiki/api/watch.js',
918 'dependencies' => array(
922 'mediawiki.api.messages' => array(
923 'scripts' => 'resources/src/mediawiki/api/messages.js',
924 'dependencies' => array(
928 'mediawiki.content.json' => array(
930 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
932 'mediawiki.confirmCloseWindow' => array(
934 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
936 'targets' => array( 'desktop', 'mobile' ),
938 'mediawiki.debug' => array(
940 'resources/src/mediawiki/mediawiki.debug.js',
943 'resources/src/mediawiki/mediawiki.debug.less',
945 'dependencies' => array(
949 'position' => 'bottom',
951 'mediawiki.debug.init' => array(
952 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
953 'dependencies' => 'mediawiki.debug',
954 // Uses a custom mw.config variable that is set in debughtml,
955 // must be loaded on the bottom
956 'position' => 'bottom',
958 'mediawiki.feedback' => array(
959 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
960 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
961 'dependencies' => array(
962 'mediawiki.messagePoster',
970 'feedback-dialog-intro',
971 'feedback-external-bug-report-button',
973 'feedback-bugornote',
976 'feedback-dialog-title',
977 'feedback-error-title',
986 'feedback-termsofuse',
988 'feedback-thanks-title',
992 'mediawiki.feedlink' => array(
994 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
996 'mediawiki.filewarning' => array(
997 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
998 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
999 'dependencies' => array(
1003 'mediawiki.ForeignApi' => array(
1004 'targets' => array( 'desktop', 'mobile' ),
1005 'class' => 'ResourceLoaderForeignApiModule',
1006 // Additional dependencies generated dynamically
1007 'dependencies' => 'mediawiki.ForeignApi.core',
1009 'mediawiki.ForeignApi.core' => array(
1010 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1011 'dependencies' => array(
1015 'targets' => array( 'desktop', 'mobile' ),
1017 'mediawiki.helplink' => array(
1018 'position' => 'top',
1020 'resources/src/mediawiki/mediawiki.helplink.less',
1022 'targets' => array( 'desktop', 'mobile' ),
1024 'mediawiki.hidpi' => array(
1025 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1026 'dependencies' => 'jquery.hidpi',
1027 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1028 'targets' => array( 'desktop', 'mobile' ),
1030 'mediawiki.hlist' => array(
1031 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1032 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
1033 'dependencies' => 'jquery.client',
1035 'mediawiki.htmlform' => array(
1036 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
1037 'dependencies' => array(
1041 'messages' => array(
1042 'htmlform-chosen-placeholder',
1043 // @todo Load this message in content language
1047 'mediawiki.htmlform.styles' => array(
1048 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.css',
1049 'position' => 'top',
1051 'mediawiki.htmlform.ooui.styles' => array(
1052 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.css',
1053 'position' => 'top',
1055 'mediawiki.icon' => array(
1056 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1058 'mediawiki.inspect' => array(
1059 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1060 'dependencies' => array(
1061 'jquery.byteLength',
1065 'targets' => array( 'desktop', 'mobile' ),
1067 'mediawiki.messagePoster' => array(
1069 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1070 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1072 'dependencies' => array(
1075 'mediawiki.ForeignApi',
1077 'targets' => array( 'desktop', 'mobile' ),
1079 'mediawiki.messagePoster.wikitext' => array(
1081 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1083 'dependencies' => array(
1084 'mediawiki.api.edit',
1085 'mediawiki.messagePoster',
1087 'targets' => array( 'desktop', 'mobile' ),
1089 'mediawiki.notification' => array(
1091 'resources/src/mediawiki/mediawiki.notification.common.css',
1092 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
1093 => array( 'media' => 'print' ),
1095 'skinStyles' => array(
1096 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1098 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1099 'dependencies' => 'mediawiki.page.startup',
1100 'targets' => array( 'desktop', 'mobile' ),
1102 'mediawiki.notify' => array(
1103 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1104 'targets' => array( 'desktop', 'mobile' ),
1106 'mediawiki.RegExp' => array(
1107 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1108 'targets' => array( 'desktop', 'mobile' ),
1110 'mediawiki.pager.tablePager' => array(
1111 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1112 'position' => 'top',
1114 'mediawiki.searchSuggest' => array(
1115 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1116 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1117 'messages' => array(
1118 'searchsuggest-search',
1119 'searchsuggest-containing',
1121 'dependencies' => array(
1123 'jquery.placeholder',
1124 'jquery.suggestions',
1129 'mediawiki.sectionAnchor' => array(
1130 'position' => 'top',
1131 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1132 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1133 'targets' => array( 'desktop', 'mobile' ),
1135 'mediawiki.storage' => array(
1136 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1137 'targets' => array( 'desktop', 'mobile' ),
1139 'mediawiki.Title' => array(
1140 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1141 'dependencies' => array(
1142 'jquery.byteLength',
1145 'targets' => array( 'desktop', 'mobile' ),
1147 'mediawiki.Upload' => array(
1148 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1149 'dependencies' => array(
1151 'mediawiki.api.upload',
1154 'mediawiki.ForeignUpload' => array(
1155 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1156 'dependencies' => array(
1157 'mediawiki.ForeignApi',
1162 'mediawiki.ForeignStructuredUpload' => array(
1163 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1164 'dependencies' => array(
1165 'mediawiki.ForeignUpload',
1168 'mediawiki.Upload.Dialog' => array(
1170 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1172 'dependencies' => array(
1173 'mediawiki.Upload.BookletLayout',
1175 'messages' => array(
1176 'upload-dialog-title',
1177 'upload-dialog-button-cancel',
1178 'upload-dialog-button-done',
1179 'upload-dialog-button-save',
1180 'upload-dialog-button-upload',
1183 'mediawiki.Upload.BookletLayout' => array(
1185 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1187 'dependencies' => array(
1192 'mediawiki.jqueryMsg',
1194 'messages' => array(
1195 'upload-form-label-select-file',
1196 'upload-form-label-infoform-title',
1197 'upload-form-label-infoform-name',
1198 'upload-form-label-infoform-name-tooltip',
1199 'upload-form-label-infoform-description',
1200 'upload-form-label-infoform-description-tooltip',
1201 'upload-form-label-usage-title',
1202 'upload-form-label-usage-filename',
1203 'api-error-unknownerror',
1204 'api-error-unknown-warning',
1205 'api-error-badaccess-groups',
1206 'api-error-badtoken',
1207 'api-error-copyuploaddisabled',
1208 'api-error-duplicate',
1209 'api-error-duplicate-archive',
1210 'api-error-empty-file',
1211 'api-error-emptypage',
1212 'api-error-fetchfileerror',
1213 'api-error-fileexists-forbidden',
1214 'api-error-fileexists-shared-forbidden',
1215 'api-error-file-too-large',
1216 'api-error-filename-tooshort',
1217 'api-error-filetype-banned',
1218 'api-error-filetype-banned-type',
1219 'api-error-filetype-missing',
1220 'api-error-hookaborted',
1222 'api-error-illegal-filename',
1223 'api-error-internal-error',
1224 'api-error-invalid-file-key',
1225 'api-error-missingparam',
1226 'api-error-missingresult',
1227 'api-error-mustbeloggedin',
1228 'api-error-mustbeposted',
1229 'api-error-noimageinfo',
1230 'api-error-nomodule',
1231 'api-error-ok-but-empty',
1232 'api-error-overwrite',
1233 'api-error-stashfailed',
1234 'api-error-publishfailed',
1235 'api-error-stasherror',
1236 'api-error-stashedfilenotfound',
1237 'api-error-stashpathinvalid',
1238 'api-error-stashfilestorage',
1239 'api-error-stashzerolength',
1240 'api-error-stashnotloggedin',
1241 'api-error-stashwrongowner',
1242 'api-error-stashnosuchfilekey',
1243 'api-error-timeout',
1244 'api-error-unclassified',
1245 'api-error-unknown-code',
1246 'api-error-unknown-error',
1247 'api-error-uploaddisabled',
1248 'api-error-verification-error',
1251 'filename-bad-prefix',
1252 'filename-thumb-name',
1254 'api-error-blacklisted', // HACK
1257 'mediawiki.ForeignStructuredUpload.BookletLayout' => array(
1258 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1259 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1260 'dependencies' => array(
1261 'mediawiki.ForeignStructuredUpload',
1262 'mediawiki.Upload.BookletLayout',
1263 'mediawiki.widgets.CategorySelector',
1264 'mediawiki.widgets.DateInputWidget',
1265 'mediawiki.jqueryMsg',
1267 'mediawiki.libs.jpegmeta',
1269 'messages' => array(
1270 'foreign-structured-upload-form-label-own-work',
1271 'foreign-structured-upload-form-label-infoform-categories',
1272 'foreign-structured-upload-form-label-infoform-date',
1273 'foreign-structured-upload-form-label-own-work-message-default',
1274 'foreign-structured-upload-form-label-not-own-work-message-default',
1275 'foreign-structured-upload-form-label-not-own-work-local-default',
1276 'foreign-structured-upload-form-label-own-work-message-shared',
1277 'foreign-structured-upload-form-label-not-own-work-message-shared',
1278 'foreign-structured-upload-form-label-not-own-work-local-shared',
1279 'foreign-structured-upload-form-label-own-work-message-local',
1280 'foreign-structured-upload-form-label-not-own-work-message-local',
1281 'foreign-structured-upload-form-label-not-own-work-local-local',
1282 'foreign-structured-upload-form-2-label-intro',
1283 'foreign-structured-upload-form-2-label-ownwork',
1284 'foreign-structured-upload-form-2-label-noderiv',
1285 'foreign-structured-upload-form-2-label-useful',
1286 'foreign-structured-upload-form-2-label-ccbysa',
1287 'foreign-structured-upload-form-2-label-alternative',
1288 'foreign-structured-upload-form-2-label-termsofuse',
1289 'foreign-structured-upload-form-3-label-question-website',
1290 'foreign-structured-upload-form-3-label-question-ownwork',
1291 'foreign-structured-upload-form-3-label-question-noderiv',
1292 'foreign-structured-upload-form-3-label-yes',
1293 'foreign-structured-upload-form-3-label-no',
1294 'foreign-structured-upload-form-3-label-alternative',
1295 'foreign-structured-upload-form-4-label-good',
1296 'foreign-structured-upload-form-4-label-bad',
1298 'templates' => array(
1299 'guide.html' => 'resources/src/mediawiki/bookletlayout/option4/guide.html',
1302 'mediawiki.toc' => array(
1303 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1305 'resources/src/mediawiki/mediawiki.toc.css'
1306 => array( 'media' => 'screen' ),
1307 'resources/src/mediawiki/mediawiki.toc.print.css'
1308 => array( 'media' => 'print' ),
1310 'dependencies' => 'mediawiki.cookie',
1311 'messages' => array( 'showtoc', 'hidetoc' ),
1312 'targets' => array( 'desktop', 'mobile' ),
1314 'mediawiki.Uri' => array(
1315 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1316 'templates' => array(
1317 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1318 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1320 'dependencies' => 'mediawiki.util',
1321 'targets' => array( 'desktop', 'mobile' ),
1323 'mediawiki.user' => array(
1324 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1325 'dependencies' => array(
1328 'mediawiki.api.user',
1332 'targets' => array( 'desktop', 'mobile' ),
1334 'mediawiki.userSuggest' => array(
1335 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1336 'dependencies' => array(
1337 'jquery.suggestions',
1341 'mediawiki.util' => array(
1342 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1343 'dependencies' => array(
1344 'jquery.accessKeyLabel',
1348 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
1349 'targets' => array( 'desktop', 'mobile' ),
1351 'mediawiki.cookie' => array(
1352 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1353 'dependencies' => 'jquery.cookie',
1354 'targets' => array( 'desktop', 'mobile' ),
1356 'mediawiki.toolbar' => array(
1357 'class' => 'ResourceLoaderEditToolbarModule',
1358 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1359 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1360 'position' => 'top',
1362 'mediawiki.experiments' => array(
1363 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1364 'targets' => array( 'desktop', 'mobile' ),
1366 'mediawiki.raggett' => array(
1367 'styles' => 'resources/src/mediawiki/mediawiki.raggett.css',
1368 'targets' => array( 'desktop', 'mobile' ),
1371 /* MediaWiki Action */
1373 'mediawiki.action.edit' => array(
1374 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1375 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1376 'dependencies' => array(
1377 'mediawiki.action.edit.styles',
1378 'jquery.textSelection',
1381 'position' => 'top',
1383 'mediawiki.action.edit.styles' => array(
1384 'position' => 'top',
1385 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1387 'mediawiki.action.edit.collapsibleFooter' => array(
1388 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1389 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1390 'dependencies' => array(
1391 'jquery.makeCollapsible',
1396 'mediawiki.action.edit.preview' => array(
1397 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1398 'dependencies' => array(
1401 'jquery.textSelection',
1403 'mediawiki.action.history.diff',
1405 'mediawiki.jqueryMsg',
1407 'messages' => array(
1408 // Keep the uses message keys in sync with EditPage#setHeaders
1422 'mediawiki.action.edit.stash' => array(
1423 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1424 'dependencies' => array(
1429 'mediawiki.action.history' => array(
1430 'position' => 'top',
1431 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1432 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1434 'mediawiki.action.history.diff' => array(
1435 'position' => 'top',
1437 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1438 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array(
1442 'targets' => array( 'desktop', 'mobile' ),
1444 'mediawiki.action.view.dblClickEdit' => array(
1445 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1446 'dependencies' => array(
1448 'mediawiki.page.startup',
1452 'mediawiki.action.view.metadata' => array(
1453 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1454 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1455 'messages' => array(
1457 'metadata-collapse',
1460 'mediawiki.action.view.categoryPage.styles' => array(
1461 'position' => 'top',
1462 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1463 'targets' => array( 'desktop', 'mobile' )
1465 'mediawiki.action.view.postEdit' => array(
1466 'templates' => array(
1467 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1469 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1470 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1471 'dependencies' => array(
1473 'mediawiki.jqueryMsg'
1475 'messages' => array(
1476 'postedit-confirmation-created',
1477 'postedit-confirmation-restored',
1478 'postedit-confirmation-saved',
1481 'mediawiki.action.view.redirect' => array(
1482 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1483 'dependencies' => 'jquery.client',
1484 'position' => 'top',
1485 'targets' => array( 'desktop', 'mobile' ),
1487 'mediawiki.action.view.redirectPage' => array(
1488 'position' => 'top',
1489 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1491 'mediawiki.action.view.rightClickEdit' => array(
1492 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1494 'mediawiki.action.edit.editWarning' => array(
1495 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1496 'dependencies' => array(
1497 'jquery.textSelection',
1498 'mediawiki.jqueryMsg',
1499 'mediawiki.confirmCloseWindow',
1502 'messages' => array(
1503 'editwarning-warning',
1504 // editwarning-warning uses {{int:prefs-editing}}
1508 'mediawiki.action.view.filepage' => array(
1510 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1511 array( 'media' => 'print' ),
1512 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1514 'position' => 'top',
1517 /* MediaWiki Language */
1519 'mediawiki.language' => array(
1521 'resources/src/mediawiki.language/mediawiki.language.js',
1522 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1523 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1525 'languageScripts' => array(
1526 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1527 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1528 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1529 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1530 'he' => 'resources/src/mediawiki.language/languages/he.js',
1531 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1532 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1533 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1534 'la' => 'resources/src/mediawiki.language/languages/la.js',
1535 'os' => 'resources/src/mediawiki.language/languages/os.js',
1536 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1537 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1538 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1540 'dependencies' => array(
1541 'mediawiki.language.data',
1544 'targets' => array( 'desktop', 'mobile' ),
1545 'messages' => array(
1552 'mediawiki.cldr' => array(
1553 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1554 'dependencies' => array(
1555 'mediawiki.libs.pluralruleparser',
1557 'targets' => array( 'desktop', 'mobile' ),
1560 'mediawiki.libs.pluralruleparser' => array(
1561 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1562 'targets' => array( 'desktop', 'mobile' ),
1565 'mediawiki.language.init' => array(
1566 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1567 'targets' => array( 'desktop', 'mobile' ),
1570 'mediawiki.jqueryMsg' => array(
1571 // Add data for mediawiki.jqueryMsg, such as allowed tags
1572 'class' => 'ResourceLoaderJqueryMsgModule',
1573 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1574 'dependencies' => array(
1576 'mediawiki.language',
1580 'targets' => array( 'desktop', 'mobile' ),
1583 'mediawiki.language.months' => array(
1584 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1585 'dependencies' => 'mediawiki.language',
1586 'messages' => array_merge(
1587 Language
::$mMonthMsgs,
1588 Language
::$mMonthGenMsgs,
1589 Language
::$mMonthAbbrevMsgs
1593 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1595 'mediawiki.language.specialCharacters' => array(
1596 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1599 /* MediaWiki Libs */
1601 'mediawiki.libs.jpegmeta' => array(
1602 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1605 /* MediaWiki Page */
1607 'mediawiki.page.gallery' => array(
1608 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1609 'dependencies' => array(
1610 'mediawiki.page.gallery.styles',
1611 'jquery.throttle-debounce',
1614 'mediawiki.page.gallery.styles' => array(
1616 'resources/src/mediawiki/page/gallery-print.css' => array( 'media' => 'print' ),
1617 'resources/src/mediawiki/page/gallery.css',
1619 'position' => 'top',
1620 'targets' => array( 'desktop', 'mobile' ),
1622 'mediawiki.page.ready' => array(
1623 'scripts' => 'resources/src/mediawiki/page/ready.js',
1624 'dependencies' => array(
1625 'jquery.accessKeyLabel',
1626 'jquery.checkboxShiftClick',
1627 'jquery.makeCollapsible',
1628 'jquery.placeholder',
1631 'targets' => array( 'desktop', 'mobile' ),
1633 'mediawiki.page.startup' => array(
1634 'scripts' => 'resources/src/mediawiki/page/startup.js',
1635 'dependencies' => 'mediawiki.util',
1636 'position' => 'top',
1637 'targets' => array( 'desktop', 'mobile' ),
1639 'mediawiki.page.patrol.ajax' => array(
1640 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1641 'dependencies' => array(
1642 'mediawiki.page.startup',
1650 'messages' => array(
1651 'markedaspatrollednotify',
1652 'markedaspatrollederrornotify',
1653 'markedaspatrollederror-noautopatrol'
1656 'mediawiki.page.watch.ajax' => array(
1657 'scripts' => 'resources/src/mediawiki/page/watch.js',
1658 'dependencies' => array(
1659 'mediawiki.page.startup',
1660 'mediawiki.api.watch',
1663 'jquery.accessKeyLabel',
1666 'messages' => array(
1672 'tooltip-ca-unwatch',
1676 'mediawiki.page.image.pagination' => array(
1677 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1678 'dependencies' => array(
1685 /* MediaWiki Special pages */
1687 'mediawiki.special' => array(
1688 'position' => 'top',
1689 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1690 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1692 'mediawiki.special.block' => array(
1693 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1694 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1695 'dependencies' => 'mediawiki.util',
1697 'mediawiki.special.blocklist' => array(
1698 'styles' => 'resources/src/mediawiki.special/mediawiki.special.blocklist.css',
1699 'position' => 'top',
1701 'mediawiki.special.changeslist' => array(
1702 'position' => 'top',
1703 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1705 'mediawiki.special.changeslist.legend' => array(
1706 'position' => 'top',
1707 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1709 'mediawiki.special.changeslist.legend.js' => array(
1710 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1711 'dependencies' => array(
1712 'jquery.makeCollapsible',
1716 'mediawiki.special.changeslist.enhanced' => array(
1717 'position' => 'top',
1718 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1720 'mediawiki.special.changeslist.visitedstatus' => array(
1721 'position' => 'top',
1722 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1724 'mediawiki.special.edittags' => array(
1725 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1726 'dependencies' => array(
1729 'messages' => array(
1730 'tags-edit-chosen-placeholder',
1731 'tags-edit-chosen-no-results',
1734 'mediawiki.special.edittags.styles' => array(
1735 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1736 'position' => 'top',
1738 'mediawiki.special.import' => array(
1739 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1741 'mediawiki.special.movePage' => array(
1742 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1743 'dependencies' => array(
1745 'mediawiki.widgets',
1748 'mediawiki.special.movePage.styles' => array(
1749 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1750 'position' => 'top',
1752 'mediawiki.special.pageLanguage' => array(
1753 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1755 'mediawiki.special.pagesWithProp' => array(
1756 'position' => 'top',
1757 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1759 'mediawiki.special.preferences' => array(
1760 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1761 'position' => 'top',
1762 'messages' => array(
1763 'prefs-tabs-navigation-hint',
1764 'prefswarning-warning',
1768 'dependencies' => array(
1769 'mediawiki.language',
1770 'mediawiki.confirmCloseWindow',
1771 'mediawiki.notification',
1774 'mediawiki.special.preferences.styles' => array(
1775 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1776 'position' => 'top',
1778 'mediawiki.special.recentchanges' => array(
1779 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1780 'dependencies' => 'mediawiki.special',
1781 'position' => 'top',
1783 'mediawiki.special.search' => array(
1784 'position' => 'top',
1785 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1786 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1787 'messages' => array(
1788 'powersearch-togglelabel',
1789 'powersearch-toggleall',
1790 'powersearch-togglenone',
1793 'mediawiki.special.undelete' => array(
1794 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1796 'mediawiki.special.upload' => array(
1797 'templates' => array(
1798 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1800 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1801 'messages' => array(
1808 'editwarning-warning',
1809 // editwarning-warning uses {{int:prefs-editing}}
1812 'dependencies' => array(
1814 'mediawiki.jqueryMsg',
1816 'mediawiki.libs.jpegmeta',
1819 'mediawiki.confirmCloseWindow',
1823 'mediawiki.special.userlogin.common.styles' => array(
1825 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1827 'position' => 'top',
1829 'mediawiki.special.userlogin.signup.styles' => array(
1830 'position' => 'top',
1832 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1835 'mediawiki.special.userlogin.login.styles' => array(
1836 'position' => 'top',
1838 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1841 'mediawiki.special.userlogin.signup.js' => array(
1842 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1843 'messages' => array(
1845 'createacct-emailrequired',
1849 'dependencies' => array(
1851 'mediawiki.jqueryMsg',
1852 'jquery.throttle-debounce',
1855 'mediawiki.special.unwatchedPages' => array(
1856 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1857 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1858 'messages' => array(
1859 'addedwatchtext-short',
1860 'removedwatchtext-short',
1867 'dependencies' => array(
1869 'mediawiki.api.watch',
1875 'mediawiki.special.watchlist' => array(
1876 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
1878 'mediawiki.special.version' => array(
1879 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1882 /* MediaWiki Installer */
1884 // Used in the web installer. Test it after modifying this definition!
1885 'mediawiki.legacy.config' => array(
1886 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1887 'scripts' => 'mw-config/config.js',
1888 'styles' => 'mw-config/config.css',
1891 /* MediaWiki Legacy */
1893 'mediawiki.legacy.commonPrint' => array(
1894 'position' => 'top',
1896 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1899 'mediawiki.legacy.protect' => array(
1900 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1901 'dependencies' => 'jquery.byteLimit',
1902 'messages' => array( 'protect-unchain-permissions' )
1904 // Used in the web installer. Test it after modifying this definition!
1905 'mediawiki.legacy.shared' => array(
1906 'position' => 'top',
1908 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1911 'mediawiki.legacy.oldshared' => array(
1912 'position' => 'top',
1914 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1917 'mediawiki.legacy.wikibits' => array(
1918 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1919 'dependencies' => 'mediawiki.util',
1920 'position' => 'top',
1921 'targets' => array( 'desktop', 'mobile' ),
1926 'mediawiki.ui' => array(
1927 'position' => 'top',
1928 'skinStyles' => array(
1930 'resources/src/mediawiki.ui/default.less',
1933 'targets' => array( 'desktop', 'mobile' ),
1935 'mediawiki.ui.checkbox' => array(
1936 'position' => 'top',
1937 'skinStyles' => array(
1939 'resources/src/mediawiki.ui/components/checkbox.less',
1942 'targets' => array( 'desktop', 'mobile' ),
1944 'mediawiki.ui.radio' => array(
1945 'position' => 'top',
1946 'skinStyles' => array(
1948 'resources/src/mediawiki.ui/components/radio.less',
1951 'targets' => array( 'desktop', 'mobile' ),
1953 // Lightweight module for anchor styles
1954 'mediawiki.ui.anchor' => array(
1955 'position' => 'top',
1956 'skinStyles' => array(
1958 'resources/src/mediawiki.ui/components/anchors.less',
1961 'targets' => array( 'desktop', 'mobile' ),
1963 // Lightweight module for button styles
1964 'mediawiki.ui.button' => array(
1965 'position' => 'top',
1966 'skinStyles' => array(
1968 'resources/src/mediawiki.ui/components/buttons.less',
1971 'targets' => array( 'desktop', 'mobile' ),
1973 'mediawiki.ui.input' => array(
1974 'position' => 'top',
1975 'skinStyles' => array(
1977 'resources/src/mediawiki.ui/components/inputs.less',
1980 'targets' => array( 'desktop', 'mobile' ),
1982 'mediawiki.ui.icon' => array(
1983 'position' => 'top',
1984 'skinStyles' => array(
1986 'resources/src/mediawiki.ui/components/icons.less',
1989 'targets' => array( 'desktop', 'mobile' ),
1991 // Lightweight module for text styles
1992 'mediawiki.ui.text' => array(
1993 'position' => 'top',
1994 'skinStyles' => array(
1996 'resources/src/mediawiki.ui/components/text.less',
1999 'targets' => array( 'desktop', 'mobile' ),
2002 'mediawiki.widgets' => array(
2004 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2005 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2006 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2007 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2008 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2009 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2010 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2012 'skinStyles' => array(
2014 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2017 'dependencies' => array(
2019 'mediawiki.widgets.styles',
2024 // TitleOptionWidget
2025 'jquery.autoEllipsis',
2026 // FIXME: Kept for bc
2027 'mediawiki.widgets.CategorySelector',
2029 'messages' => array(
2030 // NamespaceInputWidget
2034 'mw-widgets-titleinput-description-new-page',
2035 'mw-widgets-titleinput-description-redirect',
2037 'targets' => array( 'desktop', 'mobile' ),
2039 'mediawiki.widgets.styles' => array(
2040 'skinStyles' => array(
2042 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2043 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2046 'position' => 'top',
2047 'targets' => array( 'desktop', 'mobile' ),
2049 'mediawiki.widgets.DateInputWidget' => array(
2051 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2052 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2054 'skinStyles' => array(
2056 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2057 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2060 'messages' => array(
2061 'mw-widgets-dateinput-no-date',
2062 'mw-widgets-dateinput-placeholder-day',
2063 'mw-widgets-dateinput-placeholder-month',
2065 'dependencies' => array(
2069 'targets' => array( 'desktop', 'mobile' ),
2071 'mediawiki.widgets.CategorySelector' => array(
2073 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2074 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2076 'dependencies' => array(
2079 'mediawiki.ForeignApi',
2082 'messages' => array(
2085 'targets' => array( 'desktop', 'mobile' ),
2087 'mediawiki.widgets.UserInputWidget' => array(
2089 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2091 'dependencies' => array(
2097 'es5-shim' => array(
2099 'resources/lib/es5-shim/es5-shim.js',
2100 'resources/src/polyfill-object-create.js',
2102 'targets' => array( 'desktop', 'mobile' ),
2103 'skipFunction' => 'resources/src/es5-skip.js',
2106 /* dom-level2-shim */
2108 'dom-level2-shim' => array(
2109 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2110 'targets' => array( 'desktop', 'mobile' ),
2111 'skipFunction' => 'resources/src/dom-level2-skip.js',
2117 'resources/lib/oojs/oojs.jquery.js',
2119 'targets' => array( 'desktop', 'mobile' ),
2120 'dependencies' => array(
2127 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
2128 // if loaded in browsers that don't support ES5
2129 // @see ResourcesOOUI.php