24e2fc274a621ddcbcf252dff20a03112cf48d9c
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(
782 'mediawiki.template' => array(
783 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
784 'targets' => array( 'desktop', 'mobile' ),
786 'mediawiki.apipretty' => array(
787 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
788 'targets' => array( 'desktop', 'mobile' ),
790 'mediawiki.api' => array(
791 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
792 'dependencies' => 'mediawiki.util',
793 'targets' => array( 'desktop', 'mobile' ),
795 'mediawiki.api.category' => array(
796 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
797 'dependencies' => array(
802 'mediawiki.api.edit' => array(
803 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
804 'dependencies' => array(
810 'mediawiki.api.login' => array(
811 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
812 'dependencies' => array(
816 'mediawiki.api.parse' => array(
817 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
818 'dependencies' => 'mediawiki.api',
820 'mediawiki.api.watch' => array(
821 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
822 'dependencies' => array(
827 'mediawiki.content.json' => array(
828 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
830 'mediawiki.confirmCloseWindow' => array(
832 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
835 'mediawiki.debug' => array(
837 'resources/src/mediawiki/mediawiki.debug.js',
838 'resources/src/mediawiki/mediawiki.debug.profile.js'
841 'resources/src/mediawiki/mediawiki.debug.less',
842 'resources/src/mediawiki/mediawiki.debug.profile.css'
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',
905 'messages' => array( 'htmlform-chosen-placeholder' ),
907 'mediawiki.icon' => array(
908 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
910 'mediawiki.inspect' => array(
911 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
912 'dependencies' => array(
916 'targets' => array( 'desktop', 'mobile' ),
918 'mediawiki.notification' => array(
920 'resources/src/mediawiki/mediawiki.notification.css',
921 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
922 => array( 'media' => 'print' ),
924 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
925 'dependencies' => array(
926 'mediawiki.page.startup',
928 'targets' => array( 'desktop', 'mobile' ),
930 'mediawiki.notify' => array(
931 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
932 'targets' => array( 'desktop', 'mobile' ),
934 'mediawiki.pager.tablePager' => array(
935 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
938 'mediawiki.searchSuggest' => array(
939 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
940 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
942 'searchsuggest-search',
943 'searchsuggest-containing',
945 'dependencies' => array(
947 'jquery.placeholder',
948 'jquery.suggestions',
952 'mediawiki.Title' => array(
953 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
954 'dependencies' => array(
958 'targets' => array( 'desktop', 'mobile' ),
960 'mediawiki.toc' => array(
961 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
962 'dependencies' => array(
965 'messages' => array( 'showtoc', 'hidetoc' ),
966 'targets' => array( 'desktop', 'mobile' ),
968 'mediawiki.Uri' => array(
969 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
970 'dependencies' => 'mediawiki.util',
971 'targets' => array( 'desktop', 'mobile' ),
973 'mediawiki.user' => array(
974 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
975 'dependencies' => array(
981 'targets' => array( 'desktop', 'mobile' ),
983 'mediawiki.userSuggest' => array(
984 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
985 'dependencies' => array(
986 'jquery.suggestions',
990 'mediawiki.util' => array(
991 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
992 'dependencies' => array(
993 'jquery.accessKeyLabel',
994 'jquery.mwExtension',
997 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
998 'targets' => array( 'desktop', 'mobile' ),
1000 'mediawiki.cookie' => array(
1001 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1002 'dependencies' => array(
1006 'mediawiki.toolbar' => array(
1007 'class' => 'ResourceLoaderEditToolbarModule',
1008 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1009 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1012 /* MediaWiki Action */
1014 'mediawiki.action.edit' => array(
1015 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1016 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1017 'dependencies' => array(
1018 'mediawiki.action.edit.styles',
1019 'mediawiki.toolbar',
1020 'jquery.textSelection',
1023 'position' => 'top',
1025 'mediawiki.action.edit.styles' => array(
1026 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1027 'position' => 'top',
1029 'mediawiki.action.edit.collapsibleFooter' => array(
1030 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1031 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1032 'dependencies' => array(
1033 'jquery.makeCollapsible',
1038 'mediawiki.action.edit.preview' => array(
1039 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1040 'dependencies' => array(
1043 'mediawiki.action.history.diff',
1046 'mediawiki.action.history' => array(
1047 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1048 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1049 'group' => 'mediawiki.action.history',
1051 'mediawiki.action.history.diff' => array(
1052 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1053 'group' => 'mediawiki.action.history',
1054 'targets' => array( 'desktop', 'mobile' ),
1056 'mediawiki.action.view.dblClickEdit' => array(
1057 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1058 'dependencies' => array(
1060 'mediawiki.page.startup',
1064 'mediawiki.action.view.metadata' => array(
1065 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1066 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1067 'messages' => array(
1069 'metadata-collapse',
1072 'mediawiki.action.view.postEdit' => array(
1073 'templates' => array(
1074 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1076 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1077 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1078 'dependencies' => array(
1080 'mediawiki.jqueryMsg'
1082 'messages' => array(
1083 'postedit-confirmation-created',
1084 'postedit-confirmation-restored',
1085 'postedit-confirmation-saved',
1088 'mediawiki.action.view.redirect' => array(
1089 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1090 'dependencies' => array(
1093 'position' => 'top',
1095 'mediawiki.action.view.redirectPage' => array(
1096 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1097 'position' => 'top',
1099 'mediawiki.action.view.rightClickEdit' => array(
1100 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1102 'mediawiki.action.edit.editWarning' => array(
1103 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1104 'dependencies' => array(
1105 'jquery.textSelection',
1106 'mediawiki.jqueryMsg',
1107 'mediawiki.confirmCloseWindow',
1109 'messages' => array(
1110 'editwarning-warning',
1111 // editwarning-warning uses {{int:prefs-editing}}
1116 /* MediaWiki Language */
1118 'mediawiki.language' => array(
1120 'resources/src/mediawiki.language/mediawiki.language.js',
1121 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1122 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1124 'languageScripts' => array(
1125 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1126 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1127 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1128 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1129 'he' => 'resources/src/mediawiki.language/languages/he.js',
1130 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1131 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1132 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1133 'la' => 'resources/src/mediawiki.language/languages/la.js',
1134 'os' => 'resources/src/mediawiki.language/languages/os.js',
1135 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1136 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1137 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1139 'dependencies' => array(
1140 'mediawiki.language.data',
1143 'targets' => array( 'desktop', 'mobile' ),
1144 'messages' => array(
1151 'mediawiki.cldr' => array(
1152 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1153 'dependencies' => array(
1154 'mediawiki.libs.pluralruleparser',
1156 'targets' => array( 'desktop', 'mobile' ),
1159 'mediawiki.libs.pluralruleparser' => array(
1160 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1161 'targets' => array( 'desktop', 'mobile' ),
1164 'mediawiki.language.init' => array(
1165 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1166 'targets' => array( 'desktop', 'mobile' ),
1169 'mediawiki.jqueryMsg' => array(
1170 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1171 'dependencies' => array(
1173 'mediawiki.language',
1175 'targets' => array( 'desktop', 'mobile' ),
1178 'mediawiki.language.months' => array(
1179 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1180 'dependencies' => 'mediawiki.language',
1181 'messages' => array_merge(
1182 Language
::$mMonthMsgs,
1183 Language
::$mMonthGenMsgs,
1184 Language
::$mMonthAbbrevMsgs
1188 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1190 /* MediaWiki Libs */
1192 'mediawiki.libs.jpegmeta' => array(
1193 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1196 /* MediaWiki Page */
1198 'mediawiki.page.gallery' => array(
1199 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1201 'mediawiki.page.ready' => array(
1202 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1203 'dependencies' => array(
1204 'jquery.accessKeyLabel',
1205 'jquery.checkboxShiftClick',
1206 'jquery.makeCollapsible',
1207 'jquery.placeholder',
1210 'targets' => array( 'desktop', 'mobile' ),
1212 'mediawiki.page.startup' => array(
1213 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1214 'dependencies' => array(
1217 'position' => 'top',
1218 'targets' => array( 'desktop', 'mobile' ),
1220 'mediawiki.page.patrol.ajax' => array(
1221 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1222 'dependencies' => array(
1223 'mediawiki.page.startup',
1231 'messages' => array(
1232 'markedaspatrollednotify',
1233 'markedaspatrollederrornotify',
1234 'markedaspatrollederror-noautopatrol'
1237 'mediawiki.page.watch.ajax' => array(
1238 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1239 'dependencies' => array(
1240 'mediawiki.api.watch',
1242 'mediawiki.page.startup',
1244 'jquery.accessKeyLabel',
1245 'jquery.mwExtension',
1247 'messages' => array(
1253 'tooltip-ca-unwatch',
1257 'mediawiki.page.image.pagination' => array(
1258 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1259 'dependencies' => array(
1266 /* MediaWiki Special pages */
1268 'mediawiki.special' => array(
1269 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1270 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1272 'mediawiki.special.block' => array(
1273 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1274 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1275 'dependencies' => array(
1279 'mediawiki.special.changeemail' => array(
1280 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1281 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1282 'dependencies' => array(
1285 'messages' => array(
1286 'email-address-validity-valid',
1287 'email-address-validity-invalid',
1290 'mediawiki.special.changeslist' => array(
1291 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1293 'mediawiki.special.changeslist.legend' => array(
1294 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1296 'mediawiki.special.changeslist.legend.js' => array(
1297 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1298 'dependencies' => array(
1299 'jquery.makeCollapsible',
1303 'mediawiki.special.changeslist.enhanced' => array(
1304 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1306 'mediawiki.special.import' => array(
1307 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1309 'mediawiki.special.movePage' => array(
1310 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1311 'dependencies' => 'jquery.byteLimit',
1313 'mediawiki.special.pageLanguage' => array(
1314 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1316 'mediawiki.special.pagesWithProp' => array(
1317 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1319 'mediawiki.special.preferences' => array(
1320 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1321 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1322 'position' => 'top',
1323 'messages' => array(
1324 'prefs-tabs-navigation-hint',
1325 'prefswarning-warning',
1328 'dependencies' => array(
1329 'mediawiki.language',
1332 'mediawiki.special.recentchanges' => array(
1333 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1334 'dependencies' => array( 'mediawiki.special' ),
1335 'position' => 'top',
1337 'mediawiki.special.search' => array(
1338 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1339 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1340 'messages' => array(
1341 'powersearch-togglelabel',
1342 'powersearch-toggleall',
1343 'powersearch-togglenone',
1346 'mediawiki.special.undelete' => array(
1347 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1349 'mediawiki.special.upload' => array(
1350 'templates' => array(
1351 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1353 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1354 'messages' => array(
1361 'editwarning-warning',
1362 // editwarning-warning uses {{int:prefs-editing}}
1365 'dependencies' => array(
1367 'mediawiki.jqueryMsg',
1369 'mediawiki.libs.jpegmeta',
1372 'mediawiki.confirmCloseWindow',
1375 'mediawiki.special.userlogin.common.styles' => array(
1377 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1379 'position' => 'top',
1381 'mediawiki.special.userlogin.signup.styles' => array(
1383 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1385 'position' => 'top',
1387 'mediawiki.special.userlogin.login.styles' => array(
1389 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1391 'position' => 'top',
1393 'mediawiki.special.userlogin.common.js' => array(
1395 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1397 'messages' => array(
1398 'createacct-captcha',
1399 'createacct-imgcaptcha-ph',
1402 'mediawiki.special.userlogin.signup.js' => array(
1403 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1404 'messages' => array(
1406 'createacct-emailrequired',
1410 'dependencies' => array(
1412 'mediawiki.jqueryMsg',
1413 'jquery.throttle-debounce',
1416 'mediawiki.special.unwatchedPages' => array(
1417 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1418 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1419 'messages' => array(
1420 'addedwatchtext-short',
1421 'removedwatchtext-short',
1428 'dependencies' => array(
1430 'mediawiki.api.watch',
1436 'mediawiki.special.javaScriptTest' => array(
1437 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1438 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1440 'javascripttest-pagetext-skins',
1442 'dependencies' => array( 'jquery.qunit' ),
1443 'position' => 'top',
1444 'targets' => array( 'desktop', 'mobile' ),
1446 'mediawiki.special.version' => array(
1447 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1450 /* MediaWiki Installer */
1452 'mediawiki.legacy.config' => array(
1453 // Used in the web installer. Test it after modifying this definition!
1454 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1455 'scripts' => 'mw-config/config.js',
1456 'styles' => 'mw-config/config.css',
1459 /* MediaWiki Legacy */
1461 'mediawiki.legacy.ajax' => array(
1462 'scripts' => 'resources/src/mediawiki.legacy/ajax.js',
1463 'dependencies' => array(
1465 'mediawiki.legacy.wikibits',
1467 'position' => 'top',
1469 'mediawiki.legacy.commonPrint' => array(
1471 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1474 'mediawiki.legacy.protect' => array(
1475 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1476 'dependencies' => array(
1479 'messages' => array( 'protect-unchain-permissions' )
1481 'mediawiki.legacy.shared' => array(
1482 // Used in the web installer. Test it after modifying this definition!
1484 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1487 'mediawiki.legacy.oldshared' => array(
1489 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1492 'mediawiki.legacy.wikibits' => array(
1493 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1494 'dependencies' => array(
1497 'position' => 'top',
1502 'mediawiki.ui' => array(
1503 'skinStyles' => array(
1505 'resources/src/mediawiki.ui/default.less',
1508 'position' => 'top',
1509 'targets' => array( 'desktop', 'mobile' ),
1511 'mediawiki.ui.checkbox' => array(
1512 'skinStyles' => array(
1514 'resources/src/mediawiki.ui/components/checkbox.less',
1517 'position' => 'top',
1518 'targets' => array( 'desktop', 'mobile' ),
1520 // Lightweight module for anchor styles
1521 'mediawiki.ui.anchor' => array(
1522 'skinStyles' => array(
1524 'resources/src/mediawiki.ui/components/anchors.less',
1527 'position' => 'top',
1528 'targets' => array( 'desktop', 'mobile' ),
1530 // Lightweight module for button styles
1531 'mediawiki.ui.button' => array(
1532 'skinStyles' => array(
1534 'resources/src/mediawiki.ui/components/buttons.less',
1537 'position' => 'top',
1538 'targets' => array( 'desktop', 'mobile' ),
1540 'mediawiki.ui.input' => array(
1541 'skinStyles' => array(
1543 'resources/src/mediawiki.ui/components/inputs.less',
1546 'position' => 'top',
1547 'targets' => array( 'desktop', 'mobile' ),
1549 'mediawiki.ui.icon' => array(
1550 'skinStyles' => array(
1552 'resources/src/mediawiki.ui/components/icons.less',
1555 'position' => 'top',
1556 'targets' => array( 'desktop', 'mobile' ),
1558 // Lightweight module for text styles
1559 'mediawiki.ui.text' => array(
1560 'skinStyles' => array(
1562 'resources/src/mediawiki.ui/components/text.less',
1565 'position' => 'top',
1566 'targets' => array( 'desktop', 'mobile' ),
1570 'es5-shim' => array(
1572 'resources/lib/es5-shim/es5-shim.js',
1573 'resources/src/polyfill-object-create.js',
1575 'targets' => array( 'desktop', 'mobile' ),
1576 'skipFunction' => 'resources/src/es5-skip.js',
1582 'resources/lib/oojs/oojs.jquery.js',
1584 'targets' => array( 'desktop', 'mobile' ),
1585 'dependencies' => array(
1592 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
1593 // if loaded in browsers that don't support ES5
1596 'resources/lib/oojs-ui/oojs-ui.js',
1598 'skinScripts' => array(
1599 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.js',
1600 'minerva' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.js',
1602 'skinStyles' => array(
1603 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.svg.css',
1604 'minerva' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.svg.css',
1606 'messages' => array(
1607 'ooui-dialog-message-accept',
1608 'ooui-dialog-message-reject',
1609 'ooui-dialog-process-continue',
1610 'ooui-dialog-process-dismiss',
1611 'ooui-dialog-process-error',
1612 'ooui-dialog-process-retry',
1613 'ooui-outline-control-move-down',
1614 'ooui-outline-control-move-up',
1615 'ooui-outline-control-remove',
1616 'ooui-toolbar-more',
1617 'ooui-toolgroup-collapse',
1618 'ooui-toolgroup-expand',
1620 'dependencies' => array(
1624 'targets' => array( 'desktop', 'mobile' ),