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',
42 'class' => 'ResourceLoaderWikiModule',
43 'styles' => array( 'MediaWiki:Filepage.css' ),
45 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
47 // Scripts managed by the current user (stored in their user space)
48 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
50 // Scripts generated based on the current user's preferences
51 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
53 // Populate mediawiki.user placeholders with information about the current user
54 'user.defaults' => array( 'class' => 'ResourceLoaderUserDefaultsModule' ),
55 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
56 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
58 // Scripts for the dynamic language specific data, like grammar forms.
59 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
61 /* MediaWiki base skinning modules */
64 * Common skin styles, grouped into three graded levels.
67 * The base level that only contains the most basic of common skin styles.
68 * Only styles for single elements are included, no styling for complex structures like the
69 * TOC is present. This level is for skins that want to implement the entire style of even
70 * content area structures like the TOC themselves.
73 * The most commonly used level for skins implemented from scratch. This level includes all
74 * the single element styles from "elements" as well as styles for complex structures such
75 * as the TOC that are output in the content area by MediaWiki rather than the skin.
76 * Essentially this is the common level that lets skins leave the style of the content area
77 * as it is normally styled, while leaving the rest of the skin up to the skin
80 * Level 3 "interface":
81 * The highest level, this stylesheet contains extra common styles for classes like
82 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
83 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
84 * common to MonoBook clones. And since practically every skin that currently exists within
85 * core is a MonoBook clone, all our core skins currently use this level.
87 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
88 * dependency management. As a result they contain duplicate stylesheet references instead of
89 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
90 * including more than one of them into your skin as this will result in duplicate CSS.
92 'mediawiki.skinning.elements' => array(
94 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
97 'mediawiki.skinning.content' => array(
99 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
100 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
103 'mediawiki.skinning.interface' => array(
104 'class' => 'ResourceLoaderSkinModule',
105 // Used in the web installer. Test it after modifying this definition!
107 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
108 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
109 'resources/src/mediawiki.skinning/interface.css' => array( 'media' => 'screen' ),
113 'mediawiki.skinning.content.parsoid' => array(
114 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
115 // with the interface.css styles; skinStyles should be used if your
116 // skin over-rides common content styling.
117 'skinStyles' => array(
118 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
120 'targets' => array( 'desktop', 'mobile' ),
123 'mediawiki.skinning.content.externallinks' => array(
125 'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
133 'resources/lib/jquery/jquery.js',
136 'targets' => array( 'desktop', 'mobile' ),
141 'jquery.accessKeyLabel' => array(
142 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
143 'dependencies' => array(
145 'jquery.mwExtension',
147 'messages' => array( 'brackets', 'word-separator' ),
148 'targets' => array( 'mobile', 'desktop' ),
150 'jquery.appear' => array(
151 'scripts' => 'resources/lib/jquery/jquery.appear.js',
153 'jquery.arrowSteps' => array(
154 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
155 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
157 'jquery.async' => array(
158 'scripts' => 'resources/lib/jquery/jquery.async.js',
160 'jquery.autoEllipsis' => array(
161 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
162 'dependencies' => 'jquery.highlightText',
163 'targets' => array( 'desktop', 'mobile' ),
165 'jquery.badge' => array(
166 'scripts' => 'resources/src/jquery/jquery.badge.js',
167 'styles' => 'resources/src/jquery/jquery.badge.css',
168 'dependencies' => 'mediawiki.language',
170 'jquery.byteLength' => array(
171 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
172 'targets' => array( 'desktop', 'mobile' ),
174 'jquery.byteLimit' => array(
175 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
176 'dependencies' => 'jquery.byteLength',
177 'targets' => array( 'desktop', 'mobile' ),
179 'jquery.checkboxShiftClick' => array(
180 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
181 'targets' => array( 'desktop', 'mobile' ),
183 'jquery.chosen' => array(
184 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
185 'styles' => 'resources/lib/jquery.chosen/chosen.css',
187 'jquery.client' => array(
188 'scripts' => 'resources/src/jquery/jquery.client.js',
189 'targets' => array( 'desktop', 'mobile' ),
191 'jquery.color' => array(
192 'scripts' => 'resources/src/jquery/jquery.color.js',
193 'dependencies' => 'jquery.colorUtil',
195 'jquery.colorUtil' => array(
196 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
198 'jquery.confirmable' => array(
200 'resources/src/jquery/jquery.confirmable.js',
201 'resources/src/jquery/jquery.confirmable.mediawiki.js',
204 'confirmable-confirm',
209 'styles' => 'resources/src/jquery/jquery.confirmable.css',
210 'dependencies' => 'mediawiki.jqueryMsg',
212 // Use mediawiki.cookie in new code, rather than jquery.cookie.
213 'jquery.cookie' => array(
214 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
215 'targets' => array( 'desktop', 'mobile' ),
217 'jquery.expandableField' => array(
218 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
220 'jquery.farbtastic' => array(
221 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
222 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
223 'dependencies' => 'jquery.colorUtil',
225 'jquery.footHovzer' => array(
226 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
227 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
229 'jquery.form' => array(
230 'scripts' => 'resources/lib/jquery/jquery.form.js',
232 'jquery.fullscreen' => array(
233 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
235 'jquery.getAttrs' => array(
236 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
237 'targets' => array( 'desktop', 'mobile' ),
239 'jquery.hidpi' => array(
240 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
241 'targets' => array( 'desktop', 'mobile' ),
243 'jquery.highlightText' => array(
244 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
245 'dependencies' => 'jquery.mwExtension',
246 'targets' => array( 'desktop', 'mobile' ),
248 'jquery.hoverIntent' => array(
249 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
251 'jquery.localize' => array(
252 'scripts' => 'resources/src/jquery/jquery.localize.js',
254 'jquery.makeCollapsible' => array(
255 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
256 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
257 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
258 'targets' => array( 'desktop', 'mobile' ),
260 'jquery.mockjax' => array(
261 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
263 'jquery.mw-jump' => array(
264 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
265 'targets' => array( 'desktop', 'mobile' ),
267 'jquery.mwExtension' => array(
268 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
269 'targets' => array( 'desktop', 'mobile' ),
271 'jquery.placeholder' => array(
272 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
273 'targets' => array( 'desktop', 'mobile' ),
275 'jquery.qunit' => array(
276 'scripts' => 'resources/lib/qunitjs/qunit.js',
277 'styles' => 'resources/lib/qunitjs/qunit.css',
279 'targets' => array( 'desktop', 'mobile' ),
281 'jquery.qunit.completenessTest' => array(
282 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
283 'dependencies' => 'jquery.qunit',
284 'targets' => array( 'desktop', 'mobile' ),
286 'jquery.spinner' => array(
287 'scripts' => 'resources/src/jquery/jquery.spinner.js',
288 'styles' => 'resources/src/jquery/jquery.spinner.css',
290 'jquery.jStorage' => array(
291 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
292 'dependencies' => 'json',
294 'jquery.suggestions' => array(
295 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
296 'styles' => 'resources/src/jquery/jquery.suggestions.css',
297 'dependencies' => 'jquery.highlightText',
299 'jquery.tabIndex' => array(
300 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
302 'jquery.tablesorter' => array(
303 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
304 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
305 'messages' => array( 'sort-descending', 'sort-ascending' ),
306 'dependencies' => array(
307 'jquery.mwExtension',
308 'mediawiki.language.months',
311 'jquery.textSelection' => array(
312 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
313 'dependencies' => 'jquery.client',
315 'jquery.throttle-debounce' => array(
316 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
317 'targets' => array( 'desktop', 'mobile' ),
319 'jquery.validate' => array(
320 'scripts' => 'resources/lib/jquery/jquery.validate.js',
322 'jquery.xmldom' => array(
323 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
328 'jquery.tipsy' => array(
329 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
330 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
335 'jquery.ui.core' => array(
336 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
337 'skinStyles' => array(
339 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
340 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
343 'group' => 'jquery.ui',
345 'jquery.ui.accordion' => array(
346 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
347 'dependencies' => array(
351 'skinStyles' => array(
352 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
354 'group' => 'jquery.ui',
356 'jquery.ui.autocomplete' => array(
357 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
358 'dependencies' => array(
361 'jquery.ui.position',
364 'skinStyles' => array(
365 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
367 'group' => 'jquery.ui',
369 'jquery.ui.button' => array(
370 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
371 'dependencies' => array(
375 'skinStyles' => array(
376 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
378 'group' => 'jquery.ui',
380 'jquery.ui.datepicker' => array(
381 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
382 'dependencies' => 'jquery.ui.core',
383 'skinStyles' => array(
384 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
386 'languageScripts' => array(
387 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
388 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
389 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
390 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
391 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
392 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
393 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
394 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
395 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
396 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
397 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
398 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
399 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
400 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
401 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
402 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
403 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
404 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
405 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
406 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
407 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
408 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
409 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
410 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
411 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
412 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
413 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
414 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
415 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
416 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
417 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
418 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
419 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
420 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
421 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
422 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
423 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
424 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
425 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
426 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
427 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
428 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
429 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
430 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
431 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
432 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
433 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
434 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
435 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
436 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
437 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
438 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
439 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
440 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
441 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
442 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
443 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
444 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
445 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
446 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
447 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
448 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
449 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
450 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
451 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
452 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
453 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
455 'group' => 'jquery.ui',
457 'jquery.ui.dialog' => array(
458 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
459 'dependencies' => array(
463 'jquery.ui.draggable',
465 'jquery.ui.position',
466 'jquery.ui.resizable',
468 'skinStyles' => array(
469 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
471 'group' => 'jquery.ui',
473 'jquery.ui.draggable' => array(
474 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
475 'dependencies' => array(
480 'group' => 'jquery.ui',
482 'jquery.ui.droppable' => array(
483 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
484 'dependencies' => array(
488 'jquery.ui.draggable',
490 'group' => 'jquery.ui',
492 'jquery.ui.menu' => array(
493 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
494 'dependencies' => array(
497 'jquery.ui.position',
499 'skinStyles' => array(
500 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
502 'group' => 'jquery.ui',
504 'jquery.ui.mouse' => array(
505 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
506 'dependencies' => 'jquery.ui.widget',
507 'group' => 'jquery.ui',
509 'jquery.ui.position' => array(
510 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
511 'group' => 'jquery.ui',
513 'jquery.ui.progressbar' => array(
514 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
515 'dependencies' => array(
519 'skinStyles' => array(
520 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
522 'group' => 'jquery.ui',
524 'jquery.ui.resizable' => array(
525 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
526 'dependencies' => array(
531 'skinStyles' => array(
532 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
534 'group' => 'jquery.ui',
536 'jquery.ui.selectable' => array(
537 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
538 'dependencies' => array(
543 'skinStyles' => array(
544 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
546 'group' => 'jquery.ui',
548 'jquery.ui.slider' => array(
549 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
550 'dependencies' => array(
555 'skinStyles' => array(
556 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
558 'group' => 'jquery.ui',
560 'jquery.ui.sortable' => array(
561 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
562 'dependencies' => array(
567 'group' => 'jquery.ui',
569 'jquery.ui.spinner' => array(
570 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
571 'dependencies' => array(
576 'skinStyles' => array(
577 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
579 'group' => 'jquery.ui',
581 'jquery.ui.tabs' => array(
582 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
583 'dependencies' => array(
587 'skinStyles' => array(
588 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
590 'group' => 'jquery.ui',
592 'jquery.ui.tooltip' => array(
593 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
594 'dependencies' => array(
597 'jquery.ui.position',
599 'skinStyles' => array(
600 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
602 'group' => 'jquery.ui',
604 'jquery.ui.widget' => array(
605 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
606 'group' => 'jquery.ui',
609 'jquery.effects.core' => array(
610 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
611 'group' => 'jquery.ui',
613 'jquery.effects.blind' => array(
614 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
615 'dependencies' => 'jquery.effects.core',
616 'group' => 'jquery.ui',
618 'jquery.effects.bounce' => array(
619 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
620 'dependencies' => 'jquery.effects.core',
621 'group' => 'jquery.ui',
623 'jquery.effects.clip' => array(
624 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
625 'dependencies' => 'jquery.effects.core',
626 'group' => 'jquery.ui',
628 'jquery.effects.drop' => array(
629 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
630 'dependencies' => 'jquery.effects.core',
631 'group' => 'jquery.ui',
633 'jquery.effects.explode' => array(
634 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
635 'dependencies' => 'jquery.effects.core',
636 'group' => 'jquery.ui',
638 'jquery.effects.fade' => array(
639 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
640 'dependencies' => 'jquery.effects.core',
641 'group' => 'jquery.ui',
643 'jquery.effects.fold' => array(
644 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
645 'dependencies' => 'jquery.effects.core',
646 'group' => 'jquery.ui',
648 'jquery.effects.highlight' => array(
649 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
650 'dependencies' => 'jquery.effects.core',
651 'group' => 'jquery.ui',
653 'jquery.effects.pulsate' => array(
654 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
655 'dependencies' => 'jquery.effects.core',
656 'group' => 'jquery.ui',
658 'jquery.effects.scale' => array(
659 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
660 'dependencies' => 'jquery.effects.core',
661 'group' => 'jquery.ui',
663 'jquery.effects.shake' => array(
664 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
665 'dependencies' => 'jquery.effects.core',
666 'group' => 'jquery.ui',
668 'jquery.effects.slide' => array(
669 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
670 'dependencies' => 'jquery.effects.core',
671 'group' => 'jquery.ui',
673 'jquery.effects.transfer' => array(
674 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
675 'dependencies' => 'jquery.effects.core',
676 'group' => 'jquery.ui',
682 'scripts' => 'resources/lib/json2/json2.js',
683 'targets' => array( 'desktop', 'mobile' ),
684 'skipFunction' => 'resources/src/json-skip.js',
690 'scripts' => 'resources/lib/moment/moment.js',
691 'languageScripts' => array(
692 'af' => 'resources/lib/moment/locale/af.js',
693 'ar' => 'resources/lib/moment/locale/ar.js',
694 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
695 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
696 'az' => 'resources/lib/moment/locale/az.js',
697 'be' => 'resources/lib/moment/locale/be.js',
698 'bg' => 'resources/lib/moment/locale/bg.js',
699 'bn' => 'resources/lib/moment/locale/bn.js',
700 'bo' => 'resources/lib/moment/locale/bo.js',
701 'br' => 'resources/lib/moment/locale/br.js',
702 'bs' => 'resources/lib/moment/locale/bs.js',
703 'ca' => 'resources/lib/moment/locale/ca.js',
704 'cs' => 'resources/lib/moment/locale/cs.js',
705 'cv' => 'resources/lib/moment/locale/cv.js',
706 'cy' => 'resources/lib/moment/locale/cy.js',
707 'da' => 'resources/lib/moment/locale/da.js',
708 'de' => 'resources/lib/moment/locale/de.js',
709 'de-at' => 'resources/lib/moment/locale/de-at.js',
710 'el' => 'resources/lib/moment/locale/el.js',
711 'en-au' => 'resources/lib/moment/locale/en-au.js',
712 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
713 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
714 'eo' => 'resources/lib/moment/locale/eo.js',
715 'es' => 'resources/lib/moment/locale/es.js',
716 'et' => 'resources/lib/moment/locale/et.js',
717 'eu' => 'resources/lib/moment/locale/eu.js',
718 'fa' => 'resources/lib/moment/locale/fa.js',
719 'fi' => 'resources/lib/moment/locale/fi.js',
720 'fo' => 'resources/lib/moment/locale/fo.js',
721 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
722 'fr' => 'resources/lib/moment/locale/fr.js',
723 'gl' => 'resources/lib/moment/locale/gl.js',
724 'he' => 'resources/lib/moment/locale/he.js',
725 'hi' => 'resources/lib/moment/locale/hi.js',
726 'hr' => 'resources/lib/moment/locale/hr.js',
727 'hu' => 'resources/lib/moment/locale/hu.js',
728 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
729 'id' => 'resources/lib/moment/locale/id.js',
730 'is' => 'resources/lib/moment/locale/is.js',
731 'it' => 'resources/lib/moment/locale/it.js',
732 'ja' => 'resources/lib/moment/locale/ja.js',
733 'ka' => 'resources/lib/moment/locale/ka.js',
734 'ko' => 'resources/lib/moment/locale/ko.js',
735 'lt' => 'resources/lib/moment/locale/lt.js',
736 'lv' => 'resources/lib/moment/locale/lv.js',
737 'mk' => 'resources/lib/moment/locale/mk.js',
738 'ml' => 'resources/lib/moment/locale/ml.js',
739 'mr' => 'resources/lib/moment/locale/mr.js',
740 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
741 'my' => 'resources/lib/moment/locale/my.js',
742 'nb' => 'resources/lib/moment/locale/nb.js',
743 'ne' => 'resources/lib/moment/locale/ne.js',
744 'nl' => 'resources/lib/moment/locale/nl.js',
745 'nn' => 'resources/lib/moment/locale/nn.js',
746 'pl' => 'resources/lib/moment/locale/pl.js',
747 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
748 'pt' => 'resources/lib/moment/locale/pt.js',
749 'ro' => 'resources/lib/moment/locale/ro.js',
750 'ru' => 'resources/lib/moment/locale/ru.js',
751 'sk' => 'resources/lib/moment/locale/sk.js',
752 'sl' => 'resources/lib/moment/locale/sl.js',
753 'sq' => 'resources/lib/moment/locale/sq.js',
754 'sr' => 'resources/lib/moment/locale/sr.js',
755 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
756 'sv' => 'resources/lib/moment/locale/sv.js',
757 'ta' => 'resources/lib/moment/locale/ta.js',
758 'th' => 'resources/lib/moment/locale/th.js',
759 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
760 'tr' => 'resources/lib/moment/locale/tr.js',
761 'tzm' => 'resources/lib/moment/locale/tzm.js',
762 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
763 'uk' => 'resources/lib/moment/locale/uk.js',
764 'uz' => 'resources/lib/moment/locale/uz.js',
765 'vi' => 'resources/lib/moment/locale/vi.js',
766 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
767 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
769 'targets' => array( 'desktop', 'mobile' ),
774 'mediawiki' => array(
776 'resources/src/mediawiki/mediawiki.js',
777 'resources/src/mediawiki/mediawiki.startUp.js',
779 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
781 'targets' => array( 'desktop', 'mobile' ),
783 'mediawiki.apihelp' => array(
784 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
785 'targets' => array( 'desktop' ),
786 'dependencies' => 'mediawiki.hlist',
789 'mediawiki.template' => array(
790 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
791 'targets' => array( 'desktop', 'mobile' ),
793 'mediawiki.apipretty' => array(
794 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
795 'targets' => array( 'desktop', 'mobile' ),
798 'mediawiki.api' => array(
799 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
800 'dependencies' => 'mediawiki.util',
801 'targets' => array( 'desktop', 'mobile' ),
803 'mediawiki.api.category' => array(
804 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
805 'dependencies' => array(
810 'mediawiki.api.edit' => array(
811 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
812 'dependencies' => array(
818 'mediawiki.api.login' => array(
819 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
820 'dependencies' => 'mediawiki.api',
822 'mediawiki.api.parse' => array(
823 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
824 'dependencies' => 'mediawiki.api',
826 'mediawiki.api.watch' => array(
827 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
828 'dependencies' => array(
833 'mediawiki.content.json' => array(
834 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
836 'mediawiki.confirmCloseWindow' => array(
838 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
841 'mediawiki.debug' => array(
843 'resources/src/mediawiki/mediawiki.debug.js',
846 'resources/src/mediawiki/mediawiki.debug.less',
848 'dependencies' => array(
852 'position' => 'bottom',
854 'mediawiki.debug.init' => array(
855 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
856 'dependencies' => 'mediawiki.debug',
857 // Uses a custom mw.config variable that is set in debughtml,
858 // must be loaded on the bottom
859 'position' => 'bottom',
861 'mediawiki.feedback' => array(
862 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
863 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
864 'dependencies' => array(
865 'mediawiki.api.edit',
873 'feedback-dialog-intro',
874 'feedback-external-bug-report-button',
876 'feedback-bugornote',
879 'feedback-dialog-title',
880 'feedback-error-title',
888 'feedback-termsofuse',
890 'feedback-thanks-title',
894 'mediawiki.helplink' => array(
896 'resources/src/mediawiki/mediawiki.helplink.css',
898 'targets' => array( 'desktop', 'mobile' ),
900 'mediawiki.hidpi' => array(
901 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
902 'dependencies' => 'jquery.hidpi',
903 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
904 'targets' => array( 'desktop', 'mobile' ),
906 'mediawiki.hlist' => array(
907 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
908 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
909 'dependencies' => 'jquery.client',
911 'mediawiki.htmlform' => array(
912 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
913 'dependencies' => array(
914 'jquery.mwExtension',
918 'htmlform-chosen-placeholder',
919 // @todo Load this message in content language
923 'mediawiki.icon' => array(
924 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
926 'mediawiki.inspect' => array(
927 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
928 'dependencies' => array(
932 'targets' => array( 'desktop', 'mobile' ),
934 'mediawiki.notification' => array(
936 'resources/src/mediawiki/mediawiki.notification.css',
937 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
938 => array( 'media' => 'print' ),
940 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
941 'dependencies' => 'mediawiki.page.startup',
942 'targets' => array( 'desktop', 'mobile' ),
944 'mediawiki.notify' => array(
945 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
946 'targets' => array( 'desktop', 'mobile' ),
948 'mediawiki.pager.tablePager' => array(
949 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
952 'mediawiki.searchSuggest' => array(
953 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
954 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
956 'searchsuggest-search',
957 'searchsuggest-containing',
959 'dependencies' => array(
961 'jquery.placeholder',
962 'jquery.suggestions',
967 'mediawiki.sectionAnchor' => array(
968 'skinStyles' => array(
970 'resources/src/mediawiki/mediawiki.sectionAnchor.css' =>
971 array( 'media' => 'screen'),
972 'resources/src/mediawiki/mediawiki.sectionAnchor.hide.css' =>
973 array( 'media' => 'print' ),
976 'targets' => array( 'desktop', 'mobile' ),
978 'mediawiki.Title' => array(
979 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
980 'dependencies' => array(
984 'targets' => array( 'desktop', 'mobile' ),
986 'mediawiki.toc' => array(
987 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
988 'dependencies' => 'jquery.cookie',
989 'messages' => array( 'showtoc', 'hidetoc' ),
990 'targets' => array( 'desktop', 'mobile' ),
992 'mediawiki.Uri' => array(
993 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
994 'dependencies' => 'mediawiki.util',
995 'targets' => array( 'desktop', 'mobile' ),
997 'mediawiki.user' => array(
998 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
999 'dependencies' => array(
1005 'targets' => array( 'desktop', 'mobile' ),
1007 'mediawiki.userSuggest' => array(
1008 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1009 'dependencies' => array(
1010 'jquery.suggestions',
1014 'mediawiki.util' => array(
1015 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1016 'dependencies' => array(
1017 'jquery.accessKeyLabel',
1018 'jquery.mwExtension',
1021 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
1022 'targets' => array( 'desktop', 'mobile' ),
1024 'mediawiki.cookie' => array(
1025 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1026 'dependencies' => 'jquery.cookie',
1027 'targets' => array( 'desktop', 'mobile' ),
1029 'mediawiki.toolbar' => array(
1030 'class' => 'ResourceLoaderEditToolbarModule',
1031 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1032 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1033 'position' => 'top',
1036 /* MediaWiki Action */
1038 'mediawiki.action.edit' => array(
1039 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1040 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1041 'dependencies' => array(
1042 'mediawiki.action.edit.styles',
1043 'jquery.textSelection',
1046 'position' => 'top',
1048 'mediawiki.action.edit.styles' => array(
1049 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1050 'position' => 'top',
1052 'mediawiki.action.edit.collapsibleFooter' => array(
1053 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1054 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1055 'dependencies' => array(
1056 'jquery.makeCollapsible',
1061 'mediawiki.action.edit.preview' => array(
1062 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1063 'dependencies' => array(
1066 'jquery.textSelection',
1068 'mediawiki.action.history.diff',
1070 'mediawiki.jqueryMsg',
1072 'messages' => array(
1079 'mediawiki.action.edit.stash' => array(
1080 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1081 'dependencies' => array(
1086 'mediawiki.action.history' => array(
1087 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1088 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1089 'group' => 'mediawiki.action.history',
1091 'mediawiki.action.history.diff' => array(
1093 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1094 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array(
1098 'group' => 'mediawiki.action.history',
1099 'targets' => array( 'desktop', 'mobile' ),
1101 'mediawiki.action.view.dblClickEdit' => array(
1102 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1103 'dependencies' => array(
1105 'mediawiki.page.startup',
1109 'mediawiki.action.view.metadata' => array(
1110 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1111 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1112 'messages' => array(
1114 'metadata-collapse',
1117 'mediawiki.action.view.categoryPage.styles' => array(
1118 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1119 'targets' => array( 'desktop', 'mobile' )
1121 'mediawiki.action.view.postEdit' => array(
1122 'templates' => array(
1123 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1125 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1126 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1127 'dependencies' => array(
1129 'mediawiki.jqueryMsg'
1131 'messages' => array(
1132 'postedit-confirmation-created',
1133 'postedit-confirmation-restored',
1134 'postedit-confirmation-saved',
1137 'mediawiki.action.view.redirect' => array(
1138 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1139 'dependencies' => 'jquery.client',
1140 'position' => 'top',
1142 'mediawiki.action.view.redirectPage' => array(
1143 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1144 'position' => 'top',
1146 'mediawiki.action.view.rightClickEdit' => array(
1147 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1149 'mediawiki.action.edit.editWarning' => array(
1150 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1151 'dependencies' => array(
1152 'jquery.textSelection',
1153 'mediawiki.jqueryMsg',
1154 'mediawiki.confirmCloseWindow',
1156 'messages' => array(
1157 'editwarning-warning',
1158 // editwarning-warning uses {{int:prefs-editing}}
1163 /* MediaWiki Language */
1165 'mediawiki.language' => array(
1167 'resources/src/mediawiki.language/mediawiki.language.js',
1168 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1169 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1171 'languageScripts' => array(
1172 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1173 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1174 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1175 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1176 'he' => 'resources/src/mediawiki.language/languages/he.js',
1177 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1178 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1179 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1180 'la' => 'resources/src/mediawiki.language/languages/la.js',
1181 'os' => 'resources/src/mediawiki.language/languages/os.js',
1182 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1183 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1184 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1186 'dependencies' => array(
1187 'mediawiki.language.data',
1190 'targets' => array( 'desktop', 'mobile' ),
1191 'messages' => array(
1198 'mediawiki.cldr' => array(
1199 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1200 'dependencies' => array(
1201 'mediawiki.libs.pluralruleparser',
1203 'targets' => array( 'desktop', 'mobile' ),
1206 'mediawiki.libs.pluralruleparser' => array(
1207 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1208 'targets' => array( 'desktop', 'mobile' ),
1211 'mediawiki.language.init' => array(
1212 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1213 'targets' => array( 'desktop', 'mobile' ),
1216 'mediawiki.jqueryMsg' => array(
1217 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1218 'dependencies' => array(
1220 'mediawiki.language',
1222 'targets' => array( 'desktop', 'mobile' ),
1225 'mediawiki.language.months' => array(
1226 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1227 'dependencies' => 'mediawiki.language',
1228 'messages' => array_merge(
1229 Language
::$mMonthMsgs,
1230 Language
::$mMonthGenMsgs,
1231 Language
::$mMonthAbbrevMsgs
1235 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1237 /* MediaWiki Libs */
1239 'mediawiki.libs.jpegmeta' => array(
1240 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1243 /* MediaWiki Page */
1245 'mediawiki.page.gallery' => array(
1246 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1247 'dependencies' => array(
1248 'jquery.throttle-debounce',
1251 'mediawiki.page.ready' => array(
1252 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1253 'dependencies' => array(
1254 'jquery.accessKeyLabel',
1255 'jquery.checkboxShiftClick',
1256 'jquery.makeCollapsible',
1257 'jquery.placeholder',
1260 'targets' => array( 'desktop', 'mobile' ),
1262 'mediawiki.page.startup' => array(
1263 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1264 'dependencies' => 'mediawiki.util',
1265 'position' => 'top',
1266 'targets' => array( 'desktop', 'mobile' ),
1268 'mediawiki.page.patrol.ajax' => array(
1269 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1270 'dependencies' => array(
1271 'mediawiki.page.startup',
1279 'messages' => array(
1280 'markedaspatrollednotify',
1281 'markedaspatrollederrornotify',
1282 'markedaspatrollederror-noautopatrol'
1285 'mediawiki.page.watch.ajax' => array(
1286 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1287 'dependencies' => array(
1288 'mediawiki.api.watch',
1290 'mediawiki.page.startup',
1292 'jquery.accessKeyLabel',
1293 'jquery.mwExtension',
1295 'messages' => array(
1301 'tooltip-ca-unwatch',
1305 'mediawiki.page.image.pagination' => array(
1306 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1307 'dependencies' => array(
1314 /* MediaWiki Special pages */
1316 'mediawiki.special' => array(
1317 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1318 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1320 'mediawiki.special.block' => array(
1321 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1322 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1323 'dependencies' => 'mediawiki.util',
1325 'mediawiki.special.changeemail' => array(
1326 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1327 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1328 'dependencies' => 'mediawiki.util',
1329 'messages' => array(
1330 'email-address-validity-valid',
1331 'email-address-validity-invalid',
1334 'mediawiki.special.changeslist' => array(
1335 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1337 'mediawiki.special.changeslist.legend' => array(
1338 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1340 'mediawiki.special.changeslist.legend.js' => array(
1341 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1342 'dependencies' => array(
1343 'jquery.makeCollapsible',
1347 'mediawiki.special.changeslist.enhanced' => array(
1348 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1350 'mediawiki.special.import' => array(
1351 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1353 'mediawiki.special.movePage' => array(
1354 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1355 'dependencies' => 'jquery.byteLimit',
1357 'mediawiki.special.pageLanguage' => array(
1358 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1360 'mediawiki.special.pagesWithProp' => array(
1361 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1363 'mediawiki.special.preferences' => array(
1364 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1365 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1366 'position' => 'top',
1367 'messages' => array(
1368 'prefs-tabs-navigation-hint',
1369 'prefswarning-warning',
1372 'dependencies' => array(
1373 'mediawiki.language',
1374 'mediawiki.confirmCloseWindow',
1377 'mediawiki.special.recentchanges' => array(
1378 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1379 'dependencies' => 'mediawiki.special',
1380 'position' => 'top',
1382 'mediawiki.special.search' => array(
1383 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1384 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1385 'messages' => array(
1386 'powersearch-togglelabel',
1387 'powersearch-toggleall',
1388 'powersearch-togglenone',
1391 'mediawiki.special.undelete' => array(
1392 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1394 'mediawiki.special.upload' => array(
1395 'templates' => array(
1396 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1398 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1399 'messages' => array(
1406 'editwarning-warning',
1407 // editwarning-warning uses {{int:prefs-editing}}
1410 'dependencies' => array(
1412 'mediawiki.jqueryMsg',
1414 'mediawiki.libs.jpegmeta',
1417 'mediawiki.confirmCloseWindow',
1420 'mediawiki.special.userlogin.common.styles' => array(
1422 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1424 'position' => 'top',
1426 'mediawiki.special.userlogin.signup.styles' => array(
1428 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1430 'position' => 'top',
1432 'mediawiki.special.userlogin.login.styles' => array(
1434 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1436 'position' => 'top',
1438 'mediawiki.special.userlogin.common.js' => array(
1440 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1442 'messages' => array(
1443 'createacct-captcha',
1444 'createacct-imgcaptcha-ph',
1447 'mediawiki.special.userlogin.signup.js' => array(
1448 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1449 'messages' => array(
1451 'createacct-emailrequired',
1455 'dependencies' => array(
1457 'mediawiki.jqueryMsg',
1458 'jquery.throttle-debounce',
1461 'mediawiki.special.unwatchedPages' => array(
1462 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1463 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1464 'messages' => array(
1465 'addedwatchtext-short',
1466 'removedwatchtext-short',
1473 'dependencies' => array(
1475 'mediawiki.api.watch',
1481 'mediawiki.special.javaScriptTest' => array(
1482 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1483 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1485 'javascripttest-pagetext-skins',
1487 'dependencies' => 'mediawiki.Uri',
1488 'position' => 'top',
1489 'targets' => array( 'desktop', 'mobile' ),
1491 'mediawiki.special.version' => array(
1492 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1495 /* MediaWiki Installer */
1497 'mediawiki.legacy.config' => array(
1498 // Used in the web installer. Test it after modifying this definition!
1499 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1500 'scripts' => 'mw-config/config.js',
1501 'styles' => 'mw-config/config.css',
1504 /* MediaWiki Legacy */
1506 'mediawiki.legacy.ajax' => array(
1507 'scripts' => 'resources/src/mediawiki.legacy/ajax.js',
1508 'dependencies' => array(
1510 'mediawiki.legacy.wikibits',
1512 'position' => 'top',
1514 'mediawiki.legacy.commonPrint' => array(
1516 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1519 'mediawiki.legacy.protect' => array(
1520 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1521 'dependencies' => 'jquery.byteLimit',
1522 'messages' => array( 'protect-unchain-permissions' )
1524 'mediawiki.legacy.shared' => array(
1525 // Used in the web installer. Test it after modifying this definition!
1527 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1530 'mediawiki.legacy.oldshared' => array(
1532 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1535 'mediawiki.legacy.wikibits' => array(
1536 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1537 'dependencies' => 'mediawiki.util',
1538 'position' => 'top',
1543 'mediawiki.ui' => array(
1544 'skinStyles' => array(
1546 'resources/src/mediawiki.ui/default.less',
1549 'position' => 'top',
1550 'targets' => array( 'desktop', 'mobile' ),
1552 'mediawiki.ui.checkbox' => array(
1553 'skinStyles' => array(
1555 'resources/src/mediawiki.ui/components/checkbox.less',
1558 'position' => 'top',
1559 'targets' => array( 'desktop', 'mobile' ),
1561 'mediawiki.ui.radio' => array(
1562 'skinStyles' => array(
1564 'resources/src/mediawiki.ui/components/radio.less',
1567 'position' => 'top',
1568 'targets' => array( 'desktop', 'mobile' ),
1570 // Lightweight module for anchor styles
1571 'mediawiki.ui.anchor' => array(
1572 'skinStyles' => array(
1574 'resources/src/mediawiki.ui/components/anchors.less',
1577 'position' => 'top',
1578 'targets' => array( 'desktop', 'mobile' ),
1580 // Lightweight module for button styles
1581 'mediawiki.ui.button' => array(
1582 'skinStyles' => array(
1584 'resources/src/mediawiki.ui/components/buttons.less',
1587 'position' => 'top',
1588 'targets' => array( 'desktop', 'mobile' ),
1590 'mediawiki.ui.input' => array(
1591 'skinStyles' => array(
1593 'resources/src/mediawiki.ui/components/inputs.less',
1596 'position' => 'top',
1597 'targets' => array( 'desktop', 'mobile' ),
1599 'mediawiki.ui.icon' => array(
1600 'skinStyles' => array(
1602 'resources/src/mediawiki.ui/components/icons.less',
1605 'position' => 'top',
1606 'targets' => array( 'desktop', 'mobile' ),
1608 // Lightweight module for text styles
1609 'mediawiki.ui.text' => array(
1610 'skinStyles' => array(
1612 'resources/src/mediawiki.ui/components/text.less',
1615 'position' => 'top',
1616 'targets' => array( 'desktop', 'mobile' ),
1620 'es5-shim' => array(
1622 'resources/lib/es5-shim/es5-shim.js',
1623 'resources/src/polyfill-object-create.js',
1625 'targets' => array( 'desktop', 'mobile' ),
1626 'skipFunction' => 'resources/src/es5-skip.js',
1632 'resources/lib/oojs/oojs.jquery.js',
1634 'targets' => array( 'desktop', 'mobile' ),
1635 'dependencies' => array(
1642 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
1643 // if loaded in browsers that don't support ES5
1646 'resources/lib/oojs-ui/oojs-ui.js',
1648 'skinScripts' => array(
1649 'default' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.js',
1651 'dependencies' => array(
1656 'messages' => array(
1657 'ooui-dialog-message-accept',
1658 'ooui-dialog-message-reject',
1659 'ooui-dialog-process-continue',
1660 'ooui-dialog-process-dismiss',
1661 'ooui-dialog-process-error',
1662 'ooui-dialog-process-retry',
1663 'ooui-outline-control-move-down',
1664 'ooui-outline-control-move-up',
1665 'ooui-outline-control-remove',
1666 'ooui-toolbar-more',
1667 'ooui-toolgroup-collapse',
1668 'ooui-toolgroup-expand',
1670 'targets' => array( 'desktop', 'mobile' ),
1673 'oojs-ui.styles' => array(
1674 'position' => 'top',
1675 'skinStyles' => array(
1676 'default' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.css',
1678 'targets' => array( 'desktop', 'mobile' ),