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
33 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
34 'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
35 'noscript' => array( 'class' => 'ResourceLoaderNoscriptModule' ),
36 'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
37 'filepage' => array( 'class' => 'ResourceLoaderFilePageModule' ),
38 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
40 // Scripts managed by the current user (stored in their user space)
41 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
43 // Scripts generated based on the current user's preferences
44 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
46 // Populate mediawiki.user placeholders with information about the current user
47 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
48 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
50 // Scripts for the dynamic language specific data, like grammar forms.
51 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
53 /* MediaWiki base skinning modules */
56 * Common skin styles, grouped into three graded levels.
59 * The base level that only contains the most basic of common skin styles.
60 * Only styles for single elements are included, no styling for complex structures like the
61 * TOC is present. This level is for skins that want to implement the entire style of even
62 * content area structures like the TOC themselves.
65 * The most commonly used level for skins implemented from scratch. This level includes all
66 * the single element styles from "elements" as well as styles for complex structures such
67 * as the TOC that are output in the content area by MediaWiki rather than the skin.
68 * Essentially this is the common level that lets skins leave the style of the content area
69 * as it is normally styled, while leaving the rest of the skin up to the skin
72 * Level 3 "interface":
73 * The highest level, this stylesheet contains extra common styles for classes like
74 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
75 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
76 * common to MonoBook clones. And since practically every skin that currently exists within
77 * core is a MonoBook clone, all our core skins currently use this level.
79 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
80 * dependency management. As a result they contain duplicate stylesheet references instead of
81 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
82 * including more than one of them into your skin as this will result in duplicate CSS.
84 'mediawiki.skinning.elements' => array(
86 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
89 'mediawiki.skinning.content' => array(
91 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
92 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
95 'mediawiki.skinning.interface' => array(
96 'class' => 'ResourceLoaderSkinModule',
97 // Used in the web installer. Test it after modifying this definition!
99 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
100 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
101 'resources/src/mediawiki.skinning/interface.css' => array( 'media' => 'screen' ),
105 'mediawiki.skinning.content.parsoid' => array(
106 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
107 // with the interface.css styles; skinStyles should be used if your
108 // skin over-rides common content styling.
109 'skinStyles' => array(
110 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
112 'targets' => array( 'desktop', 'mobile' ),
115 'mediawiki.skinning.content.externallinks' => array(
117 'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
124 'scripts' => ( $GLOBALS['wgIncludejQueryMigrate'] ?
126 'resources/lib/jquery/jquery.js',
127 'resources/lib/jquery/jquery.migrate.js'
130 'resources/lib/jquery/jquery.js'
133 'targets' => array( 'desktop', 'mobile' ),
138 'jquery.accessKeyLabel' => array(
139 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
140 'dependencies' => array(
142 'jquery.mwExtension',
144 'messages' => array( 'brackets', 'word-separator' ),
145 'targets' => array( 'mobile', 'desktop' ),
147 'jquery.appear' => array(
148 'scripts' => 'resources/lib/jquery/jquery.appear.js',
150 'jquery.arrowSteps' => array(
151 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
152 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
154 'jquery.async' => array(
155 'scripts' => 'resources/lib/jquery/jquery.async.js',
157 'jquery.autoEllipsis' => array(
158 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
159 'dependencies' => 'jquery.highlightText',
160 'targets' => array( 'desktop', 'mobile' ),
162 'jquery.badge' => array(
163 'scripts' => 'resources/src/jquery/jquery.badge.js',
164 'styles' => 'resources/src/jquery/jquery.badge.css',
165 'dependencies' => 'mediawiki.language',
167 'jquery.byteLength' => array(
168 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
169 'targets' => array( 'desktop', 'mobile' ),
171 'jquery.byteLimit' => array(
172 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
173 'dependencies' => 'jquery.byteLength',
174 'targets' => array( 'desktop', 'mobile' ),
176 'jquery.checkboxShiftClick' => array(
177 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
178 'targets' => array( 'desktop', 'mobile' ),
180 'jquery.chosen' => array(
181 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
182 'styles' => 'resources/lib/jquery.chosen/chosen.css',
184 'jquery.client' => array(
185 'scripts' => 'resources/src/jquery/jquery.client.js',
186 'targets' => array( 'desktop', 'mobile' ),
188 'jquery.color' => array(
189 'scripts' => 'resources/src/jquery/jquery.color.js',
190 'dependencies' => 'jquery.colorUtil',
192 'jquery.colorUtil' => array(
193 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
195 'jquery.confirmable' => array(
197 'resources/src/jquery/jquery.confirmable.js',
198 'resources/src/jquery/jquery.confirmable.mediawiki.js',
201 'confirmable-confirm',
206 'styles' => 'resources/src/jquery/jquery.confirmable.css',
207 'dependencies' => 'mediawiki.jqueryMsg',
209 // Use mediawiki.cookie in new code, rather than jquery.cookie.
210 'jquery.cookie' => array(
211 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
212 'targets' => array( 'desktop', 'mobile' ),
214 'jquery.expandableField' => array(
215 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
217 'jquery.farbtastic' => array(
218 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
219 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
220 'dependencies' => 'jquery.colorUtil',
222 'jquery.footHovzer' => array(
223 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
224 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
226 'jquery.form' => array(
227 'scripts' => 'resources/lib/jquery/jquery.form.js',
229 'jquery.fullscreen' => array(
230 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
232 'jquery.getAttrs' => array(
233 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
234 'targets' => array( 'desktop', 'mobile' ),
236 'jquery.hidpi' => array(
237 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
238 'targets' => array( 'desktop', 'mobile' ),
240 'jquery.highlightText' => array(
241 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
242 'dependencies' => 'jquery.mwExtension',
243 'targets' => array( 'desktop', 'mobile' ),
245 'jquery.hoverIntent' => array(
246 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
248 'jquery.localize' => array(
249 'scripts' => 'resources/src/jquery/jquery.localize.js',
251 'jquery.makeCollapsible' => array(
252 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
253 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
254 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
255 'targets' => array( 'desktop', 'mobile' ),
257 'jquery.mockjax' => array(
258 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
260 'jquery.mw-jump' => array(
261 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
262 'targets' => array( 'desktop', 'mobile' ),
264 'jquery.mwExtension' => array(
265 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
266 'targets' => array( 'desktop', 'mobile' ),
268 'jquery.placeholder' => array(
269 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
270 'targets' => array( 'desktop', 'mobile' ),
272 'jquery.qunit' => array(
273 'scripts' => 'resources/lib/jquery/jquery.qunit.js',
274 'styles' => 'resources/lib/jquery/jquery.qunit.css',
276 'targets' => array( 'desktop', 'mobile' ),
278 'jquery.qunit.completenessTest' => array(
279 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
280 'dependencies' => 'jquery.qunit',
281 'targets' => array( 'desktop', 'mobile' ),
283 'jquery.spinner' => array(
284 'scripts' => 'resources/src/jquery/jquery.spinner.js',
285 'styles' => 'resources/src/jquery/jquery.spinner.css',
287 'jquery.jStorage' => array(
288 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
289 'dependencies' => 'json',
291 'jquery.suggestions' => array(
292 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
293 'styles' => 'resources/src/jquery/jquery.suggestions.css',
294 'dependencies' => 'jquery.highlightText',
296 'jquery.tabIndex' => array(
297 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
299 'jquery.tablesorter' => array(
300 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
301 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
302 'messages' => array( 'sort-descending', 'sort-ascending' ),
303 'dependencies' => array(
304 'jquery.mwExtension',
305 'mediawiki.language.months',
308 'jquery.textSelection' => array(
309 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
310 'dependencies' => 'jquery.client',
312 'jquery.throttle-debounce' => array(
313 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
315 'jquery.validate' => array(
316 'scripts' => 'resources/lib/jquery/jquery.validate.js',
318 'jquery.xmldom' => array(
319 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
324 'jquery.tipsy' => array(
325 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
326 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
331 'jquery.ui.core' => array(
332 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
333 'skinStyles' => array(
335 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
336 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
339 'group' => 'jquery.ui',
341 'jquery.ui.accordion' => array(
342 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
343 'dependencies' => array(
347 'skinStyles' => array(
348 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
350 'group' => 'jquery.ui',
352 'jquery.ui.autocomplete' => array(
353 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
354 'dependencies' => array(
357 'jquery.ui.position',
360 'skinStyles' => array(
361 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
363 'group' => 'jquery.ui',
365 'jquery.ui.button' => array(
366 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
367 'dependencies' => array(
371 'skinStyles' => array(
372 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
374 'group' => 'jquery.ui',
376 'jquery.ui.datepicker' => array(
377 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
378 'dependencies' => 'jquery.ui.core',
379 'skinStyles' => array(
380 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
382 'languageScripts' => array(
383 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
384 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
385 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
386 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
387 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
388 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
389 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
390 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
391 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
392 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
393 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
394 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
395 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
396 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
397 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
398 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
399 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
400 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
401 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
402 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
403 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
404 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
405 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
406 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
407 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
408 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
409 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
410 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
411 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
412 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
413 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
414 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
415 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
416 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
417 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
418 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
419 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
420 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
421 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
422 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
423 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
424 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
425 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
426 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
427 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
428 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
429 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
430 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
431 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
432 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
433 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
434 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
435 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
436 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
437 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
438 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
439 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
440 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
441 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
442 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
443 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
444 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
445 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
446 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
447 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
448 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
449 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
451 'group' => 'jquery.ui',
453 'jquery.ui.dialog' => array(
454 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
455 'dependencies' => array(
459 'jquery.ui.draggable',
461 'jquery.ui.position',
462 'jquery.ui.resizable',
464 'skinStyles' => array(
465 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
467 'group' => 'jquery.ui',
469 'jquery.ui.draggable' => array(
470 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
471 'dependencies' => array(
476 'group' => 'jquery.ui',
478 'jquery.ui.droppable' => array(
479 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
480 'dependencies' => array(
484 'jquery.ui.draggable',
486 'group' => 'jquery.ui',
488 'jquery.ui.menu' => array(
489 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
490 'dependencies' => array(
493 'jquery.ui.position',
495 'skinStyles' => array(
496 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
498 'group' => 'jquery.ui',
500 'jquery.ui.mouse' => array(
501 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
502 'dependencies' => 'jquery.ui.widget',
503 'group' => 'jquery.ui',
505 'jquery.ui.position' => array(
506 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
507 'group' => 'jquery.ui',
509 'jquery.ui.progressbar' => array(
510 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
511 'dependencies' => array(
515 'skinStyles' => array(
516 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
518 'group' => 'jquery.ui',
520 'jquery.ui.resizable' => array(
521 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
522 'dependencies' => array(
527 'skinStyles' => array(
528 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
530 'group' => 'jquery.ui',
532 'jquery.ui.selectable' => array(
533 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
534 'dependencies' => array(
539 'skinStyles' => array(
540 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
542 'group' => 'jquery.ui',
544 'jquery.ui.slider' => array(
545 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
546 'dependencies' => array(
551 'skinStyles' => array(
552 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
554 'group' => 'jquery.ui',
556 'jquery.ui.sortable' => array(
557 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
558 'dependencies' => array(
563 'group' => 'jquery.ui',
565 'jquery.ui.spinner' => array(
566 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
567 'dependencies' => array(
572 'skinStyles' => array(
573 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
575 'group' => 'jquery.ui',
577 'jquery.ui.tabs' => array(
578 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
579 'dependencies' => array(
583 'skinStyles' => array(
584 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
586 'group' => 'jquery.ui',
588 'jquery.ui.tooltip' => array(
589 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
590 'dependencies' => array(
593 'jquery.ui.position',
595 'skinStyles' => array(
596 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
598 'group' => 'jquery.ui',
600 'jquery.ui.widget' => array(
601 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
602 'group' => 'jquery.ui',
605 'jquery.effects.core' => array(
606 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
607 'group' => 'jquery.ui',
609 'jquery.effects.blind' => array(
610 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
611 'dependencies' => 'jquery.effects.core',
612 'group' => 'jquery.ui',
614 'jquery.effects.bounce' => array(
615 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
616 'dependencies' => 'jquery.effects.core',
617 'group' => 'jquery.ui',
619 'jquery.effects.clip' => array(
620 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
621 'dependencies' => 'jquery.effects.core',
622 'group' => 'jquery.ui',
624 'jquery.effects.drop' => array(
625 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
626 'dependencies' => 'jquery.effects.core',
627 'group' => 'jquery.ui',
629 'jquery.effects.explode' => array(
630 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
631 'dependencies' => 'jquery.effects.core',
632 'group' => 'jquery.ui',
634 'jquery.effects.fade' => array(
635 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
636 'dependencies' => 'jquery.effects.core',
637 'group' => 'jquery.ui',
639 'jquery.effects.fold' => array(
640 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
641 'dependencies' => 'jquery.effects.core',
642 'group' => 'jquery.ui',
644 'jquery.effects.highlight' => array(
645 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
646 'dependencies' => 'jquery.effects.core',
647 'group' => 'jquery.ui',
649 'jquery.effects.pulsate' => array(
650 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
651 'dependencies' => 'jquery.effects.core',
652 'group' => 'jquery.ui',
654 'jquery.effects.scale' => array(
655 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
656 'dependencies' => 'jquery.effects.core',
657 'group' => 'jquery.ui',
659 'jquery.effects.shake' => array(
660 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
661 'dependencies' => 'jquery.effects.core',
662 'group' => 'jquery.ui',
664 'jquery.effects.slide' => array(
665 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
666 'dependencies' => 'jquery.effects.core',
667 'group' => 'jquery.ui',
669 'jquery.effects.transfer' => array(
670 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
671 'dependencies' => 'jquery.effects.core',
672 'group' => 'jquery.ui',
678 'scripts' => 'resources/lib/json2/json2.js',
679 'targets' => array( 'desktop', 'mobile' ),
680 'skipFunction' => 'resources/src/json-skip.js',
686 'scripts' => 'resources/lib/moment/moment.js',
687 'languageScripts' => array(
688 'af' => 'resources/lib/moment/locale/af.js',
689 'ar' => 'resources/lib/moment/locale/ar.js',
690 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
691 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
692 'az' => 'resources/lib/moment/locale/az.js',
693 'be' => 'resources/lib/moment/locale/be.js',
694 'bg' => 'resources/lib/moment/locale/bg.js',
695 'bn' => 'resources/lib/moment/locale/bn.js',
696 'bo' => 'resources/lib/moment/locale/bo.js',
697 'br' => 'resources/lib/moment/locale/br.js',
698 'bs' => 'resources/lib/moment/locale/bs.js',
699 'ca' => 'resources/lib/moment/locale/ca.js',
700 'cs' => 'resources/lib/moment/locale/cs.js',
701 'cv' => 'resources/lib/moment/locale/cv.js',
702 'cy' => 'resources/lib/moment/locale/cy.js',
703 'da' => 'resources/lib/moment/locale/da.js',
704 'de' => 'resources/lib/moment/locale/de.js',
705 'de-at' => 'resources/lib/moment/locale/de-at.js',
706 'el' => 'resources/lib/moment/locale/el.js',
707 'en-au' => 'resources/lib/moment/locale/en-au.js',
708 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
709 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
710 'eo' => 'resources/lib/moment/locale/eo.js',
711 'es' => 'resources/lib/moment/locale/es.js',
712 'et' => 'resources/lib/moment/locale/et.js',
713 'eu' => 'resources/lib/moment/locale/eu.js',
714 'fa' => 'resources/lib/moment/locale/fa.js',
715 'fi' => 'resources/lib/moment/locale/fi.js',
716 'fo' => 'resources/lib/moment/locale/fo.js',
717 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
718 'fr' => 'resources/lib/moment/locale/fr.js',
719 'gl' => 'resources/lib/moment/locale/gl.js',
720 'he' => 'resources/lib/moment/locale/he.js',
721 'hi' => 'resources/lib/moment/locale/hi.js',
722 'hr' => 'resources/lib/moment/locale/hr.js',
723 'hu' => 'resources/lib/moment/locale/hu.js',
724 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
725 'id' => 'resources/lib/moment/locale/id.js',
726 'is' => 'resources/lib/moment/locale/is.js',
727 'it' => 'resources/lib/moment/locale/it.js',
728 'ja' => 'resources/lib/moment/locale/ja.js',
729 'ka' => 'resources/lib/moment/locale/ka.js',
730 'ko' => 'resources/lib/moment/locale/ko.js',
731 'lt' => 'resources/lib/moment/locale/lt.js',
732 'lv' => 'resources/lib/moment/locale/lv.js',
733 'mk' => 'resources/lib/moment/locale/mk.js',
734 'ml' => 'resources/lib/moment/locale/ml.js',
735 'mr' => 'resources/lib/moment/locale/mr.js',
736 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
737 'my' => 'resources/lib/moment/locale/my.js',
738 'nb' => 'resources/lib/moment/locale/nb.js',
739 'ne' => 'resources/lib/moment/locale/ne.js',
740 'nl' => 'resources/lib/moment/locale/nl.js',
741 'nn' => 'resources/lib/moment/locale/nn.js',
742 'pl' => 'resources/lib/moment/locale/pl.js',
743 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
744 'pt' => 'resources/lib/moment/locale/pt.js',
745 'ro' => 'resources/lib/moment/locale/ro.js',
746 'ru' => 'resources/lib/moment/locale/ru.js',
747 'sk' => 'resources/lib/moment/locale/sk.js',
748 'sl' => 'resources/lib/moment/locale/sl.js',
749 'sq' => 'resources/lib/moment/locale/sq.js',
750 'sr' => 'resources/lib/moment/locale/sr.js',
751 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
752 'sv' => 'resources/lib/moment/locale/sv.js',
753 'ta' => 'resources/lib/moment/locale/ta.js',
754 'th' => 'resources/lib/moment/locale/th.js',
755 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
756 'tr' => 'resources/lib/moment/locale/tr.js',
757 'tzm' => 'resources/lib/moment/locale/tzm.js',
758 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
759 'uk' => 'resources/lib/moment/locale/uk.js',
760 'uz' => 'resources/lib/moment/locale/uz.js',
761 'vi' => 'resources/lib/moment/locale/vi.js',
762 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
763 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
769 'mediawiki' => array(
770 'scripts' => 'resources/src/mediawiki/mediawiki.js',
771 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
773 'targets' => array( 'desktop', 'mobile' ),
775 'mediawiki.apihelp' => array(
776 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
777 'targets' => array( 'desktop' ),
778 'dependencies' => array(
783 'mediawiki.template' => array(
784 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
785 'targets' => array( 'desktop', 'mobile' ),
787 'mediawiki.apipretty' => array(
788 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
789 'targets' => array( 'desktop', 'mobile' ),
792 'mediawiki.api' => array(
793 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
794 'dependencies' => 'mediawiki.util',
795 'targets' => array( 'desktop', 'mobile' ),
797 'mediawiki.api.category' => array(
798 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
799 'dependencies' => array(
804 'mediawiki.api.edit' => array(
805 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
806 'dependencies' => array(
812 'mediawiki.api.login' => array(
813 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
814 'dependencies' => array(
818 'mediawiki.api.parse' => array(
819 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
820 'dependencies' => 'mediawiki.api',
822 'mediawiki.api.watch' => array(
823 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
824 'dependencies' => array(
829 'mediawiki.content.json' => array(
830 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
832 'mediawiki.confirmCloseWindow' => array(
834 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
837 'mediawiki.debug' => array(
839 'resources/src/mediawiki/mediawiki.debug.js',
842 'resources/src/mediawiki/mediawiki.debug.less',
844 'dependencies' => array(
848 'position' => 'bottom',
850 'mediawiki.debug.init' => array(
851 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
852 'dependencies' => 'mediawiki.debug',
853 // Uses a custom mw.config variable that is set in debughtml,
854 // must be loaded on the bottom
855 'position' => 'bottom',
857 'mediawiki.feedback' => array(
858 'templates' => array(
859 'dialog.html' => 'resources/src/mediawiki/templates/dialog.html',
861 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
862 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
863 'dependencies' => array(
864 'mediawiki.api.edit',
866 'mediawiki.jqueryMsg',
870 'feedback-bugornote',
885 'mediawiki.hidpi' => array(
886 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
887 'dependencies' => array(
890 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
891 'targets' => array( 'desktop', 'mobile' ),
893 'mediawiki.hlist' => array(
894 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
895 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
896 'dependencies' => array(
900 'mediawiki.htmlform' => array(
901 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
902 'dependencies' => array(
903 'jquery.mwExtension',
907 'htmlform-chosen-placeholder',
908 // @todo Load this message in content language
912 'mediawiki.icon' => array(
913 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
915 'mediawiki.inspect' => array(
916 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
917 'dependencies' => array(
921 'targets' => array( 'desktop', 'mobile' ),
923 'mediawiki.notification' => array(
925 'resources/src/mediawiki/mediawiki.notification.css',
926 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
927 => array( 'media' => 'print' ),
929 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
930 'dependencies' => array(
931 'mediawiki.page.startup',
933 'targets' => array( 'desktop', 'mobile' ),
935 'mediawiki.notify' => array(
936 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
937 'targets' => array( 'desktop', 'mobile' ),
939 'mediawiki.pager.tablePager' => array(
940 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
943 'mediawiki.searchSuggest' => array(
944 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
945 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
947 'searchsuggest-search',
948 'searchsuggest-containing',
950 'dependencies' => array(
952 'jquery.placeholder',
953 'jquery.suggestions',
958 'mediawiki.Title' => array(
959 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
960 'dependencies' => array(
964 'targets' => array( 'desktop', 'mobile' ),
966 'mediawiki.toc' => array(
967 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
968 'dependencies' => array(
971 'messages' => array( 'showtoc', 'hidetoc' ),
972 'targets' => array( 'desktop', 'mobile' ),
974 'mediawiki.Uri' => array(
975 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
976 'dependencies' => 'mediawiki.util',
977 'targets' => array( 'desktop', 'mobile' ),
979 'mediawiki.user' => array(
980 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
981 'dependencies' => array(
987 'targets' => array( 'desktop', 'mobile' ),
989 'mediawiki.userSuggest' => array(
990 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
991 'dependencies' => array(
992 'jquery.suggestions',
996 'mediawiki.util' => array(
997 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
998 'dependencies' => array(
999 'jquery.accessKeyLabel',
1000 'jquery.mwExtension',
1003 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
1004 'targets' => array( 'desktop', 'mobile' ),
1006 'mediawiki.cookie' => array(
1007 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1008 'dependencies' => array(
1011 'targets' => array( 'desktop', 'mobile' ),
1013 'mediawiki.toolbar' => array(
1014 'class' => 'ResourceLoaderEditToolbarModule',
1015 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1016 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1019 /* MediaWiki Action */
1021 'mediawiki.action.edit' => array(
1022 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1023 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1024 'dependencies' => array(
1025 'mediawiki.action.edit.styles',
1026 'mediawiki.toolbar',
1027 'jquery.textSelection',
1030 'position' => 'top',
1032 'mediawiki.action.edit.styles' => array(
1033 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1034 'position' => 'top',
1036 'mediawiki.action.edit.collapsibleFooter' => array(
1037 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1038 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1039 'dependencies' => array(
1040 'jquery.makeCollapsible',
1045 'mediawiki.action.edit.preview' => array(
1046 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1047 'dependencies' => array(
1050 'mediawiki.action.history.diff',
1053 'mediawiki.action.history' => array(
1054 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1055 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1056 'group' => 'mediawiki.action.history',
1058 'mediawiki.action.history.diff' => array(
1060 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1061 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array( 'media' => 'print' ),
1063 'group' => 'mediawiki.action.history',
1064 'targets' => array( 'desktop', 'mobile' ),
1066 'mediawiki.action.view.dblClickEdit' => array(
1067 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1068 'dependencies' => array(
1070 'mediawiki.page.startup',
1074 'mediawiki.action.view.metadata' => array(
1075 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1076 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1077 'messages' => array(
1079 'metadata-collapse',
1082 'mediawiki.action.view.postEdit' => array(
1083 'templates' => array(
1084 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1086 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1087 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1088 'dependencies' => array(
1090 'mediawiki.jqueryMsg'
1092 'messages' => array(
1093 'postedit-confirmation-created',
1094 'postedit-confirmation-restored',
1095 'postedit-confirmation-saved',
1098 'mediawiki.action.view.redirect' => array(
1099 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1100 'dependencies' => array(
1103 'position' => 'top',
1105 'mediawiki.action.view.redirectPage' => array(
1106 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1107 'position' => 'top',
1109 'mediawiki.action.view.rightClickEdit' => array(
1110 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1112 'mediawiki.action.edit.editWarning' => array(
1113 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1114 'dependencies' => array(
1115 'jquery.textSelection',
1116 'mediawiki.jqueryMsg',
1117 'mediawiki.confirmCloseWindow',
1119 'messages' => array(
1120 'editwarning-warning',
1121 // editwarning-warning uses {{int:prefs-editing}}
1126 /* MediaWiki Language */
1128 'mediawiki.language' => array(
1130 'resources/src/mediawiki.language/mediawiki.language.js',
1131 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1132 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1134 'languageScripts' => array(
1135 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1136 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1137 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1138 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1139 'he' => 'resources/src/mediawiki.language/languages/he.js',
1140 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1141 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1142 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1143 'la' => 'resources/src/mediawiki.language/languages/la.js',
1144 'os' => 'resources/src/mediawiki.language/languages/os.js',
1145 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1146 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1147 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1149 'dependencies' => array(
1150 'mediawiki.language.data',
1153 'targets' => array( 'desktop', 'mobile' ),
1154 'messages' => array(
1161 'mediawiki.cldr' => array(
1162 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1163 'dependencies' => array(
1164 'mediawiki.libs.pluralruleparser',
1166 'targets' => array( 'desktop', 'mobile' ),
1169 'mediawiki.libs.pluralruleparser' => array(
1170 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1171 'targets' => array( 'desktop', 'mobile' ),
1174 'mediawiki.language.init' => array(
1175 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1176 'targets' => array( 'desktop', 'mobile' ),
1179 'mediawiki.jqueryMsg' => array(
1180 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1181 'dependencies' => array(
1183 'mediawiki.language',
1185 'targets' => array( 'desktop', 'mobile' ),
1188 'mediawiki.language.months' => array(
1189 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1190 'dependencies' => 'mediawiki.language',
1191 'messages' => array_merge(
1192 Language
::$mMonthMsgs,
1193 Language
::$mMonthGenMsgs,
1194 Language
::$mMonthAbbrevMsgs
1198 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1200 /* MediaWiki Libs */
1202 'mediawiki.libs.jpegmeta' => array(
1203 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1206 /* MediaWiki Page */
1208 'mediawiki.page.gallery' => array(
1209 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1211 'mediawiki.page.ready' => array(
1212 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1213 'dependencies' => array(
1214 'jquery.accessKeyLabel',
1215 'jquery.checkboxShiftClick',
1216 'jquery.makeCollapsible',
1217 'jquery.placeholder',
1220 'targets' => array( 'desktop', 'mobile' ),
1222 'mediawiki.page.startup' => array(
1223 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1224 'dependencies' => array(
1227 'position' => 'top',
1228 'targets' => array( 'desktop', 'mobile' ),
1230 'mediawiki.page.patrol.ajax' => array(
1231 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1232 'dependencies' => array(
1233 'mediawiki.page.startup',
1241 'messages' => array(
1242 'markedaspatrollednotify',
1243 'markedaspatrollederrornotify',
1244 'markedaspatrollederror-noautopatrol'
1247 'mediawiki.page.watch.ajax' => array(
1248 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1249 'dependencies' => array(
1250 'mediawiki.api.watch',
1252 'mediawiki.page.startup',
1254 'jquery.accessKeyLabel',
1255 'jquery.mwExtension',
1257 'messages' => array(
1263 'tooltip-ca-unwatch',
1267 'mediawiki.page.image.pagination' => array(
1268 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1269 'dependencies' => array(
1276 /* MediaWiki Special pages */
1278 'mediawiki.special' => array(
1279 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1280 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1282 'mediawiki.special.block' => array(
1283 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1284 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1285 'dependencies' => array(
1289 'mediawiki.special.changeemail' => array(
1290 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1291 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1292 'dependencies' => array(
1295 'messages' => array(
1296 'email-address-validity-valid',
1297 'email-address-validity-invalid',
1300 'mediawiki.special.changeslist' => array(
1301 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1303 'mediawiki.special.changeslist.legend' => array(
1304 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1306 'mediawiki.special.changeslist.legend.js' => array(
1307 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1308 'dependencies' => array(
1309 'jquery.makeCollapsible',
1313 'mediawiki.special.changeslist.enhanced' => array(
1314 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1316 'mediawiki.special.import' => array(
1317 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1319 'mediawiki.special.movePage' => array(
1320 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1321 'dependencies' => 'jquery.byteLimit',
1323 'mediawiki.special.pageLanguage' => array(
1324 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1326 'mediawiki.special.pagesWithProp' => array(
1327 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1329 'mediawiki.special.preferences' => array(
1330 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1331 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1332 'position' => 'top',
1333 'messages' => array(
1334 'prefs-tabs-navigation-hint',
1335 'prefswarning-warning',
1338 'dependencies' => array(
1339 'mediawiki.language',
1342 'mediawiki.special.recentchanges' => array(
1343 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1344 'dependencies' => array( 'mediawiki.special' ),
1345 'position' => 'top',
1347 'mediawiki.special.search' => array(
1348 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1349 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1350 'messages' => array(
1351 'powersearch-togglelabel',
1352 'powersearch-toggleall',
1353 'powersearch-togglenone',
1356 'mediawiki.special.undelete' => array(
1357 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1359 'mediawiki.special.upload' => array(
1360 'templates' => array(
1361 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1363 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1364 'messages' => array(
1371 'editwarning-warning',
1372 // editwarning-warning uses {{int:prefs-editing}}
1375 'dependencies' => array(
1377 'mediawiki.jqueryMsg',
1379 'mediawiki.libs.jpegmeta',
1382 'mediawiki.confirmCloseWindow',
1385 'mediawiki.special.userlogin.common.styles' => array(
1387 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1389 'position' => 'top',
1391 'mediawiki.special.userlogin.signup.styles' => array(
1393 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1395 'position' => 'top',
1397 'mediawiki.special.userlogin.login.styles' => array(
1399 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1401 'position' => 'top',
1403 'mediawiki.special.userlogin.common.js' => array(
1405 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1407 'messages' => array(
1408 'createacct-captcha',
1409 'createacct-imgcaptcha-ph',
1412 'mediawiki.special.userlogin.signup.js' => array(
1413 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1414 'messages' => array(
1416 'createacct-emailrequired',
1420 'dependencies' => array(
1422 'mediawiki.jqueryMsg',
1423 'jquery.throttle-debounce',
1426 'mediawiki.special.unwatchedPages' => array(
1427 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1428 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1429 'messages' => array(
1430 'addedwatchtext-short',
1431 'removedwatchtext-short',
1438 'dependencies' => array(
1440 'mediawiki.api.watch',
1446 'mediawiki.special.javaScriptTest' => array(
1447 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1448 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1450 'javascripttest-pagetext-skins',
1452 'dependencies' => array( 'jquery.qunit' ),
1453 'position' => 'top',
1454 'targets' => array( 'desktop', 'mobile' ),
1456 'mediawiki.special.version' => array(
1457 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1460 /* MediaWiki Installer */
1462 'mediawiki.legacy.config' => array(
1463 // Used in the web installer. Test it after modifying this definition!
1464 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1465 'scripts' => 'mw-config/config.js',
1466 'styles' => 'mw-config/config.css',
1469 /* MediaWiki Legacy */
1471 'mediawiki.legacy.ajax' => array(
1472 'scripts' => 'resources/src/mediawiki.legacy/ajax.js',
1473 'dependencies' => array(
1475 'mediawiki.legacy.wikibits',
1477 'position' => 'top',
1479 'mediawiki.legacy.commonPrint' => array(
1481 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1484 'mediawiki.legacy.protect' => array(
1485 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1486 'dependencies' => array(
1489 'messages' => array( 'protect-unchain-permissions' )
1491 'mediawiki.legacy.shared' => array(
1492 // Used in the web installer. Test it after modifying this definition!
1494 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1497 'mediawiki.legacy.oldshared' => array(
1499 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1502 'mediawiki.legacy.wikibits' => array(
1503 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1504 'dependencies' => array(
1507 'position' => 'top',
1512 'mediawiki.ui' => array(
1513 'skinStyles' => array(
1515 'resources/src/mediawiki.ui/default.less',
1518 'position' => 'top',
1519 'targets' => array( 'desktop', 'mobile' ),
1521 'mediawiki.ui.checkbox' => array(
1522 'skinStyles' => array(
1524 'resources/src/mediawiki.ui/components/checkbox.less',
1527 'position' => 'top',
1528 'targets' => array( 'desktop', 'mobile' ),
1530 'mediawiki.ui.radio' => array(
1531 'skinStyles' => array(
1533 'resources/src/mediawiki.ui/components/radio.less',
1536 'position' => 'top',
1537 'targets' => array( 'desktop', 'mobile' ),
1539 // Lightweight module for anchor styles
1540 'mediawiki.ui.anchor' => array(
1541 'skinStyles' => array(
1543 'resources/src/mediawiki.ui/components/anchors.less',
1546 'position' => 'top',
1547 'targets' => array( 'desktop', 'mobile' ),
1549 // Lightweight module for button styles
1550 'mediawiki.ui.button' => array(
1551 'skinStyles' => array(
1553 'resources/src/mediawiki.ui/components/buttons.less',
1556 'position' => 'top',
1557 'targets' => array( 'desktop', 'mobile' ),
1559 'mediawiki.ui.input' => array(
1560 'skinStyles' => array(
1562 'resources/src/mediawiki.ui/components/inputs.less',
1565 'position' => 'top',
1566 'targets' => array( 'desktop', 'mobile' ),
1568 'mediawiki.ui.icon' => array(
1569 'skinStyles' => array(
1571 'resources/src/mediawiki.ui/components/icons.less',
1574 'position' => 'top',
1575 'targets' => array( 'desktop', 'mobile' ),
1577 // Lightweight module for text styles
1578 'mediawiki.ui.text' => array(
1579 'skinStyles' => array(
1581 'resources/src/mediawiki.ui/components/text.less',
1584 'position' => 'top',
1585 'targets' => array( 'desktop', 'mobile' ),
1589 'es5-shim' => array(
1591 'resources/lib/es5-shim/es5-shim.js',
1592 'resources/src/polyfill-object-create.js',
1594 'targets' => array( 'desktop', 'mobile' ),
1595 'skipFunction' => 'resources/src/es5-skip.js',
1601 'resources/lib/oojs/oojs.jquery.js',
1603 'targets' => array( 'desktop', 'mobile' ),
1604 'dependencies' => array(
1611 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
1612 // if loaded in browsers that don't support ES5
1615 'resources/lib/oojs-ui/oojs-ui.js',
1617 'skinScripts' => array(
1618 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.js',
1619 'minerva' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.js',
1621 'skinStyles' => array(
1622 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.svg.css',
1623 'minerva' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.svg.css',
1625 'messages' => array(
1626 'ooui-dialog-message-accept',
1627 'ooui-dialog-message-reject',
1628 'ooui-dialog-process-continue',
1629 'ooui-dialog-process-dismiss',
1630 'ooui-dialog-process-error',
1631 'ooui-dialog-process-retry',
1632 'ooui-outline-control-move-down',
1633 'ooui-outline-control-move-up',
1634 'ooui-outline-control-remove',
1635 'ooui-toolbar-more',
1636 'ooui-toolgroup-collapse',
1637 'ooui-toolgroup-expand',
1639 'dependencies' => array(
1643 'targets' => array( 'desktop', 'mobile' ),