7bc3b750b5ecc7a815fe299b677fe82b26e68392
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.json' => array(
249 // @deprecated since 1.24: Use the 'json' module and global JSON object instead.
251 'resources/lib/jquery/jquery.json.js',
252 'resources/src/jquery.json-deprecate.js',
254 'targets' => array( 'mobile', 'desktop' ),
256 'jquery.localize' => array(
257 'scripts' => 'resources/src/jquery/jquery.localize.js',
259 'jquery.makeCollapsible' => array(
260 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
261 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
262 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
263 'targets' => array( 'desktop', 'mobile' ),
265 'jquery.mockjax' => array(
266 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
268 'jquery.mw-jump' => array(
269 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
270 'targets' => array( 'desktop', 'mobile' ),
272 'jquery.mwExtension' => array(
273 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
274 'targets' => array( 'desktop', 'mobile' ),
276 'jquery.placeholder' => array(
277 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
278 'targets' => array( 'desktop', 'mobile' ),
280 'jquery.qunit' => array(
281 'scripts' => 'resources/lib/jquery/jquery.qunit.js',
282 'styles' => 'resources/lib/jquery/jquery.qunit.css',
284 'targets' => array( 'desktop', 'mobile' ),
286 'jquery.qunit.completenessTest' => array(
287 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
288 'dependencies' => 'jquery.qunit',
289 'targets' => array( 'desktop', 'mobile' ),
291 'jquery.spinner' => array(
292 'scripts' => 'resources/src/jquery/jquery.spinner.js',
293 'styles' => 'resources/src/jquery/jquery.spinner.css',
295 'jquery.jStorage' => array(
296 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
297 'dependencies' => 'json',
299 'jquery.suggestions' => array(
300 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
301 'styles' => 'resources/src/jquery/jquery.suggestions.css',
302 'dependencies' => 'jquery.highlightText',
304 'jquery.tabIndex' => array(
305 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
307 'jquery.tablesorter' => array(
308 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
309 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
310 'messages' => array( 'sort-descending', 'sort-ascending' ),
311 'dependencies' => array(
312 'jquery.mwExtension',
313 'mediawiki.language.months',
316 'jquery.textSelection' => array(
317 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
318 'dependencies' => 'jquery.client',
320 'jquery.throttle-debounce' => array(
321 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
323 'jquery.validate' => array(
324 'scripts' => 'resources/lib/jquery/jquery.validate.js',
326 'jquery.xmldom' => array(
327 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
332 'jquery.tipsy' => array(
333 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
334 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
339 'jquery.ui.core' => array(
340 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
341 'skinStyles' => array(
343 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
344 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
347 'group' => 'jquery.ui',
349 'jquery.ui.accordion' => array(
350 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
351 'dependencies' => array(
355 'skinStyles' => array(
356 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
358 'group' => 'jquery.ui',
360 'jquery.ui.autocomplete' => array(
361 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
362 'dependencies' => array(
365 'jquery.ui.position',
368 'skinStyles' => array(
369 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
371 'group' => 'jquery.ui',
373 'jquery.ui.button' => array(
374 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
375 'dependencies' => array(
379 'skinStyles' => array(
380 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
382 'group' => 'jquery.ui',
384 'jquery.ui.datepicker' => array(
385 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
386 'dependencies' => 'jquery.ui.core',
387 'skinStyles' => array(
388 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
390 'languageScripts' => array(
391 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
392 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
393 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
394 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
395 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
396 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
397 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
398 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
399 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
400 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
401 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
402 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
403 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
404 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
405 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
406 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
407 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
408 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
409 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
410 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
411 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
412 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
413 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
414 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
415 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
416 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
417 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
418 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
419 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
420 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
421 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
422 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
423 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
424 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
425 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
426 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
427 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
428 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
429 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
430 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
431 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
432 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
433 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
434 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
435 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
436 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
437 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
438 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
439 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
440 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
441 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
442 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
443 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
444 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
445 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
446 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
447 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
448 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
449 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
450 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
451 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
452 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
453 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
454 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
455 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
456 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
457 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
459 'group' => 'jquery.ui',
461 'jquery.ui.dialog' => array(
462 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
463 'dependencies' => array(
467 'jquery.ui.draggable',
469 'jquery.ui.position',
470 'jquery.ui.resizable',
472 'skinStyles' => array(
473 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
475 'group' => 'jquery.ui',
477 'jquery.ui.draggable' => array(
478 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
479 'dependencies' => array(
484 'group' => 'jquery.ui',
486 'jquery.ui.droppable' => array(
487 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
488 'dependencies' => array(
492 'jquery.ui.draggable',
494 'group' => 'jquery.ui',
496 'jquery.ui.menu' => array(
497 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
498 'dependencies' => array(
501 'jquery.ui.position',
503 'skinStyles' => array(
504 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
506 'group' => 'jquery.ui',
508 'jquery.ui.mouse' => array(
509 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
510 'dependencies' => 'jquery.ui.widget',
511 'group' => 'jquery.ui',
513 'jquery.ui.position' => array(
514 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
515 'group' => 'jquery.ui',
517 'jquery.ui.progressbar' => array(
518 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
519 'dependencies' => array(
523 'skinStyles' => array(
524 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
526 'group' => 'jquery.ui',
528 'jquery.ui.resizable' => array(
529 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
530 'dependencies' => array(
535 'skinStyles' => array(
536 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
538 'group' => 'jquery.ui',
540 'jquery.ui.selectable' => array(
541 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
542 'dependencies' => array(
547 'skinStyles' => array(
548 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
550 'group' => 'jquery.ui',
552 'jquery.ui.slider' => array(
553 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
554 'dependencies' => array(
559 'skinStyles' => array(
560 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
562 'group' => 'jquery.ui',
564 'jquery.ui.sortable' => array(
565 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
566 'dependencies' => array(
571 'group' => 'jquery.ui',
573 'jquery.ui.spinner' => array(
574 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
575 'dependencies' => array(
580 'skinStyles' => array(
581 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
583 'group' => 'jquery.ui',
585 'jquery.ui.tabs' => array(
586 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
587 'dependencies' => array(
591 'skinStyles' => array(
592 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
594 'group' => 'jquery.ui',
596 'jquery.ui.tooltip' => array(
597 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
598 'dependencies' => array(
601 'jquery.ui.position',
603 'skinStyles' => array(
604 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
606 'group' => 'jquery.ui',
608 'jquery.ui.widget' => array(
609 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
610 'group' => 'jquery.ui',
613 'jquery.effects.core' => array(
614 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
615 'group' => 'jquery.ui',
617 'jquery.effects.blind' => array(
618 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
619 'dependencies' => 'jquery.effects.core',
620 'group' => 'jquery.ui',
622 'jquery.effects.bounce' => array(
623 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
624 'dependencies' => 'jquery.effects.core',
625 'group' => 'jquery.ui',
627 'jquery.effects.clip' => array(
628 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
629 'dependencies' => 'jquery.effects.core',
630 'group' => 'jquery.ui',
632 'jquery.effects.drop' => array(
633 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
634 'dependencies' => 'jquery.effects.core',
635 'group' => 'jquery.ui',
637 'jquery.effects.explode' => array(
638 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
639 'dependencies' => 'jquery.effects.core',
640 'group' => 'jquery.ui',
642 'jquery.effects.fade' => array(
643 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
644 'dependencies' => 'jquery.effects.core',
645 'group' => 'jquery.ui',
647 'jquery.effects.fold' => array(
648 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
649 'dependencies' => 'jquery.effects.core',
650 'group' => 'jquery.ui',
652 'jquery.effects.highlight' => array(
653 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
654 'dependencies' => 'jquery.effects.core',
655 'group' => 'jquery.ui',
657 'jquery.effects.pulsate' => array(
658 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
659 'dependencies' => 'jquery.effects.core',
660 'group' => 'jquery.ui',
662 'jquery.effects.scale' => array(
663 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
664 'dependencies' => 'jquery.effects.core',
665 'group' => 'jquery.ui',
667 'jquery.effects.shake' => array(
668 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
669 'dependencies' => 'jquery.effects.core',
670 'group' => 'jquery.ui',
672 'jquery.effects.slide' => array(
673 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
674 'dependencies' => 'jquery.effects.core',
675 'group' => 'jquery.ui',
677 'jquery.effects.transfer' => array(
678 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
679 'dependencies' => 'jquery.effects.core',
680 'group' => 'jquery.ui',
686 'scripts' => 'resources/lib/json2/json2.js',
687 'targets' => array( 'desktop', 'mobile' ),
688 'skipFunction' => 'resources/src/json-skip.js',
694 'scripts' => 'resources/lib/moment/moment.js',
695 'languageScripts' => array(
696 'af' => 'resources/lib/moment/locale/af.js',
697 'ar' => 'resources/lib/moment/locale/ar.js',
698 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
699 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
700 'az' => 'resources/lib/moment/locale/az.js',
701 'be' => 'resources/lib/moment/locale/be.js',
702 'bg' => 'resources/lib/moment/locale/bg.js',
703 'bn' => 'resources/lib/moment/locale/bn.js',
704 'bo' => 'resources/lib/moment/locale/bo.js',
705 'br' => 'resources/lib/moment/locale/br.js',
706 'bs' => 'resources/lib/moment/locale/bs.js',
707 'ca' => 'resources/lib/moment/locale/ca.js',
708 'cs' => 'resources/lib/moment/locale/cs.js',
709 'cv' => 'resources/lib/moment/locale/cv.js',
710 'cy' => 'resources/lib/moment/locale/cy.js',
711 'da' => 'resources/lib/moment/locale/da.js',
712 'de' => 'resources/lib/moment/locale/de.js',
713 'de-at' => 'resources/lib/moment/locale/de-at.js',
714 'el' => 'resources/lib/moment/locale/el.js',
715 'en-au' => 'resources/lib/moment/locale/en-au.js',
716 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
717 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
718 'eo' => 'resources/lib/moment/locale/eo.js',
719 'es' => 'resources/lib/moment/locale/es.js',
720 'et' => 'resources/lib/moment/locale/et.js',
721 'eu' => 'resources/lib/moment/locale/eu.js',
722 'fa' => 'resources/lib/moment/locale/fa.js',
723 'fi' => 'resources/lib/moment/locale/fi.js',
724 'fo' => 'resources/lib/moment/locale/fo.js',
725 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
726 'fr' => 'resources/lib/moment/locale/fr.js',
727 'gl' => 'resources/lib/moment/locale/gl.js',
728 'he' => 'resources/lib/moment/locale/he.js',
729 'hi' => 'resources/lib/moment/locale/hi.js',
730 'hr' => 'resources/lib/moment/locale/hr.js',
731 'hu' => 'resources/lib/moment/locale/hu.js',
732 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
733 'id' => 'resources/lib/moment/locale/id.js',
734 'is' => 'resources/lib/moment/locale/is.js',
735 'it' => 'resources/lib/moment/locale/it.js',
736 'ja' => 'resources/lib/moment/locale/ja.js',
737 'ka' => 'resources/lib/moment/locale/ka.js',
738 'ko' => 'resources/lib/moment/locale/ko.js',
739 'lt' => 'resources/lib/moment/locale/lt.js',
740 'lv' => 'resources/lib/moment/locale/lv.js',
741 'mk' => 'resources/lib/moment/locale/mk.js',
742 'ml' => 'resources/lib/moment/locale/ml.js',
743 'mr' => 'resources/lib/moment/locale/mr.js',
744 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
745 'my' => 'resources/lib/moment/locale/my.js',
746 'nb' => 'resources/lib/moment/locale/nb.js',
747 'ne' => 'resources/lib/moment/locale/ne.js',
748 'nl' => 'resources/lib/moment/locale/nl.js',
749 'nn' => 'resources/lib/moment/locale/nn.js',
750 'pl' => 'resources/lib/moment/locale/pl.js',
751 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
752 'pt' => 'resources/lib/moment/locale/pt.js',
753 'ro' => 'resources/lib/moment/locale/ro.js',
754 'ru' => 'resources/lib/moment/locale/ru.js',
755 'sk' => 'resources/lib/moment/locale/sk.js',
756 'sl' => 'resources/lib/moment/locale/sl.js',
757 'sq' => 'resources/lib/moment/locale/sq.js',
758 'sr' => 'resources/lib/moment/locale/sr.js',
759 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
760 'sv' => 'resources/lib/moment/locale/sv.js',
761 'ta' => 'resources/lib/moment/locale/ta.js',
762 'th' => 'resources/lib/moment/locale/th.js',
763 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
764 'tr' => 'resources/lib/moment/locale/tr.js',
765 'tzm' => 'resources/lib/moment/locale/tzm.js',
766 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
767 'uk' => 'resources/lib/moment/locale/uk.js',
768 'uz' => 'resources/lib/moment/locale/uz.js',
769 'vi' => 'resources/lib/moment/locale/vi.js',
770 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
771 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
777 'mediawiki' => array(
778 'scripts' => 'resources/src/mediawiki/mediawiki.js',
779 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
781 'targets' => array( 'desktop', 'mobile' ),
783 'mediawiki.api' => array(
784 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
785 'dependencies' => 'mediawiki.util',
786 'targets' => array( 'desktop', 'mobile' ),
788 'mediawiki.api.category' => array(
789 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
790 'dependencies' => array(
795 'mediawiki.api.edit' => array(
796 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
797 'dependencies' => array(
803 'mediawiki.api.login' => array(
804 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
805 'dependencies' => array(
809 'mediawiki.api.parse' => array(
810 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
811 'dependencies' => 'mediawiki.api',
813 'mediawiki.api.watch' => array(
814 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
815 'dependencies' => array(
820 'mediawiki.content.json' => array(
821 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
823 'mediawiki.debug' => array(
825 'resources/src/mediawiki/mediawiki.debug.js',
826 'resources/src/mediawiki/mediawiki.debug.profile.js'
829 'resources/src/mediawiki/mediawiki.debug.less',
830 'resources/src/mediawiki/mediawiki.debug.profile.css'
832 'dependencies' => array(
836 'position' => 'bottom',
838 'mediawiki.debug.init' => array(
839 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
840 'dependencies' => 'mediawiki.debug',
841 // Uses a custom mw.config variable that is set in debughtml,
842 // must be loaded on the bottom
843 'position' => 'bottom',
845 'mediawiki.feedback' => array(
846 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
847 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
848 'dependencies' => array(
849 'mediawiki.api.edit',
851 'mediawiki.jqueryMsg',
855 'feedback-bugornote',
870 'mediawiki.hidpi' => array(
871 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
872 'dependencies' => array(
875 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
876 'targets' => array( 'desktop', 'mobile' ),
878 'mediawiki.hlist' => array(
879 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
880 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
881 'dependencies' => array(
885 'mediawiki.htmlform' => array(
886 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
887 'dependencies' => array(
888 'jquery.mwExtension',
890 'messages' => array( 'htmlform-chosen-placeholder' ),
892 'mediawiki.icon' => array(
893 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
895 'mediawiki.inspect' => array(
896 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
897 'dependencies' => array(
901 'targets' => array( 'desktop', 'mobile' ),
903 'mediawiki.notification' => array(
905 'resources/src/mediawiki/mediawiki.notification.css',
906 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
907 => array( 'media' => 'print' ),
909 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
910 'dependencies' => array(
911 'mediawiki.page.startup',
913 'targets' => array( 'desktop', 'mobile' ),
915 'mediawiki.notify' => array(
916 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
917 'targets' => array( 'desktop', 'mobile' ),
919 'mediawiki.pager.tablePager' => array(
920 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
923 'mediawiki.searchSuggest' => array(
924 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
925 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
927 'searchsuggest-search',
928 'searchsuggest-containing',
930 'dependencies' => array(
932 'jquery.placeholder',
933 'jquery.suggestions',
937 'mediawiki.Title' => array(
938 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
939 'dependencies' => array(
943 'targets' => array( 'desktop', 'mobile' ),
945 'mediawiki.toc' => array(
946 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
947 'dependencies' => array(
950 'messages' => array( 'showtoc', 'hidetoc' ),
951 'targets' => array( 'desktop', 'mobile' ),
953 'mediawiki.Uri' => array(
954 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
955 'dependencies' => 'mediawiki.util',
956 'targets' => array( 'desktop', 'mobile' ),
958 'mediawiki.user' => array(
959 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
960 'dependencies' => array(
966 'targets' => array( 'desktop', 'mobile' ),
968 'mediawiki.util' => array(
969 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
970 'dependencies' => array(
971 'jquery.accessKeyLabel',
972 'jquery.mwExtension',
975 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
976 'targets' => array( 'desktop', 'mobile' ),
978 'mediawiki.cookie' => array(
979 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
980 'dependencies' => array(
985 /* MediaWiki Action */
987 'mediawiki.action.edit' => array(
988 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
989 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
990 'dependencies' => array(
991 'mediawiki.action.edit.styles',
992 'mediawiki.action.edit.toolbar',
993 'jquery.textSelection',
998 'mediawiki.action.edit.styles' => array(
999 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1000 'position' => 'top',
1002 'mediawiki.action.edit.toolbar' => array(
1003 'class' => 'ResourceLoaderEditToolbarModule',
1004 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.toolbar/mediawiki.action.edit.toolbar.less',
1006 'mediawiki.action.edit.collapsibleFooter' => array(
1007 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1008 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1009 'dependencies' => array(
1010 'jquery.makeCollapsible',
1015 'mediawiki.action.edit.preview' => array(
1016 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1017 'dependencies' => array(
1020 'mediawiki.action.history.diff',
1023 'mediawiki.action.history' => array(
1024 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1025 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1026 'group' => 'mediawiki.action.history',
1028 'mediawiki.action.history.diff' => array(
1029 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1030 'group' => 'mediawiki.action.history',
1031 'targets' => array( 'desktop', 'mobile' ),
1033 'mediawiki.action.view.dblClickEdit' => array(
1034 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1035 'dependencies' => array(
1037 'mediawiki.page.startup',
1041 'mediawiki.action.view.metadata' => array(
1042 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1043 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1044 'messages' => array(
1046 'metadata-collapse',
1049 'mediawiki.action.view.postEdit' => array(
1050 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1051 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1052 'dependencies' => array(
1054 'mediawiki.jqueryMsg'
1056 'messages' => array(
1057 'postedit-confirmation-created',
1058 'postedit-confirmation-restored',
1059 'postedit-confirmation-saved',
1062 'mediawiki.action.view.redirect' => array(
1063 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1064 'dependencies' => array(
1067 'position' => 'top',
1069 // Deployment hack for compatibility with cached HTML, remove before 1.24 release
1070 'mediawiki.action.view.redirectToFragment' => array(
1071 'dependencies' => 'mediawiki.action.view.redirect',
1072 'position' => 'top',
1074 'mediawiki.action.view.redirectPage' => array(
1075 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1076 'position' => 'top',
1078 'mediawiki.action.view.rightClickEdit' => array(
1079 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1081 'mediawiki.action.edit.editWarning' => array(
1082 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1083 'dependencies' => array(
1084 'jquery.textSelection',
1085 'mediawiki.jqueryMsg'
1087 'messages' => array(
1088 'editwarning-warning',
1093 /* MediaWiki Language */
1095 'mediawiki.language' => array(
1097 'resources/src/mediawiki.language/mediawiki.language.js',
1098 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1099 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1101 'languageScripts' => array(
1102 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1103 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1104 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1105 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1106 'he' => 'resources/src/mediawiki.language/languages/he.js',
1107 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1108 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1109 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1110 'la' => 'resources/src/mediawiki.language/languages/la.js',
1111 'os' => 'resources/src/mediawiki.language/languages/os.js',
1112 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1113 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1114 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1116 'dependencies' => array(
1117 'mediawiki.language.data',
1120 'targets' => array( 'desktop', 'mobile' ),
1121 'messages' => array(
1128 'mediawiki.cldr' => array(
1129 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1130 'dependencies' => array(
1131 'mediawiki.libs.pluralruleparser',
1133 'targets' => array( 'desktop', 'mobile' ),
1136 'mediawiki.libs.pluralruleparser' => array(
1137 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1138 'targets' => array( 'desktop', 'mobile' ),
1141 'mediawiki.language.init' => array(
1142 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1143 'targets' => array( 'desktop', 'mobile' ),
1146 'mediawiki.jqueryMsg' => array(
1147 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1148 'dependencies' => array(
1150 'mediawiki.language',
1152 'targets' => array( 'desktop', 'mobile' ),
1155 'mediawiki.language.months' => array(
1156 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1157 'dependencies' => 'mediawiki.language',
1158 'messages' => array_merge(
1159 Language
::$mMonthMsgs,
1160 Language
::$mMonthGenMsgs,
1161 Language
::$mMonthAbbrevMsgs
1165 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1167 /* MediaWiki Libs */
1169 'mediawiki.libs.jpegmeta' => array(
1170 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1173 /* MediaWiki Page */
1175 'mediawiki.page.gallery' => array(
1176 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1178 'mediawiki.page.ready' => array(
1179 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1180 'dependencies' => array(
1181 'jquery.accessKeyLabel',
1182 'jquery.checkboxShiftClick',
1183 'jquery.makeCollapsible',
1184 'jquery.placeholder',
1187 'targets' => array( 'desktop', 'mobile' ),
1189 'mediawiki.page.startup' => array(
1190 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1191 'dependencies' => array(
1194 'position' => 'top',
1195 'targets' => array( 'desktop', 'mobile' ),
1197 'mediawiki.page.patrol.ajax' => array(
1198 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1199 'dependencies' => array(
1200 'mediawiki.page.startup',
1208 'messages' => array(
1209 'markedaspatrollednotify',
1210 'markedaspatrollederrornotify',
1211 'markedaspatrollederror-noautopatrol'
1214 'mediawiki.page.watch.ajax' => array(
1215 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1216 'dependencies' => array(
1217 'mediawiki.api.watch',
1219 'mediawiki.page.startup',
1221 'jquery.accessKeyLabel',
1222 'jquery.mwExtension',
1224 'messages' => array(
1230 'tooltip-ca-unwatch',
1234 'mediawiki.page.image.pagination' => array(
1235 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1236 'dependencies' => array(
1243 /* MediaWiki Special pages */
1245 'mediawiki.special' => array(
1246 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1247 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1249 'mediawiki.special.block' => array(
1250 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1251 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1252 'dependencies' => array(
1256 'mediawiki.special.changeemail' => array(
1257 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1258 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1259 'dependencies' => array(
1262 'messages' => array(
1263 'email-address-validity-valid',
1264 'email-address-validity-invalid',
1267 'mediawiki.special.changeslist' => array(
1268 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1270 'mediawiki.special.changeslist.legend' => array(
1271 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1273 'mediawiki.special.changeslist.legend.js' => array(
1274 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1275 'dependencies' => array(
1276 'jquery.makeCollapsible',
1280 'mediawiki.special.changeslist.enhanced' => array(
1281 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1283 'mediawiki.special.import' => array(
1284 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1286 'mediawiki.special.movePage' => array(
1287 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1288 'dependencies' => 'jquery.byteLimit',
1290 'mediawiki.special.pageLanguage' => array(
1291 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1293 'mediawiki.special.pagesWithProp' => array(
1294 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1296 'mediawiki.special.preferences' => array(
1297 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1298 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1299 'position' => 'top',
1300 'messages' => array(
1301 'prefs-tabs-navigation-hint',
1302 'prefswarning-warning',
1305 'dependencies' => array(
1306 'mediawiki.language',
1309 'mediawiki.special.recentchanges' => array(
1310 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1311 'dependencies' => array( 'mediawiki.special' ),
1312 'position' => 'top',
1314 'mediawiki.special.search' => array(
1315 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1316 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1317 'messages' => array(
1318 'powersearch-togglelabel',
1319 'powersearch-toggleall',
1320 'powersearch-togglenone',
1323 'mediawiki.special.undelete' => array(
1324 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1326 'mediawiki.special.upload' => array(
1327 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1328 'messages' => array(
1336 'dependencies' => array(
1339 'mediawiki.libs.jpegmeta',
1344 'mediawiki.special.userlogin.common.styles' => array(
1346 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1348 'position' => 'top',
1350 'mediawiki.special.userlogin.signup.styles' => array(
1352 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1354 'position' => 'top',
1356 'mediawiki.special.userlogin.login.styles' => array(
1358 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1360 'position' => 'top',
1362 'mediawiki.special.userlogin.common.js' => array(
1364 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1366 'messages' => array(
1367 'createacct-captcha',
1368 'createacct-imgcaptcha-ph',
1371 'mediawiki.special.userlogin.signup.js' => array(
1372 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1373 'messages' => array(
1375 'createacct-emailrequired',
1379 'dependencies' => array(
1381 'mediawiki.jqueryMsg',
1382 'jquery.throttle-debounce',
1385 'mediawiki.special.unwatchedPages' => array(
1386 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1387 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1388 'messages' => array(
1389 'addedwatchtext-short',
1390 'removedwatchtext-short',
1397 'dependencies' => array(
1399 'mediawiki.api.watch',
1405 'mediawiki.special.javaScriptTest' => array(
1406 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1407 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1409 'javascripttest-pagetext-skins',
1411 'dependencies' => array( 'jquery.qunit' ),
1412 'position' => 'top',
1413 'targets' => array( 'desktop', 'mobile' ),
1415 'mediawiki.special.version' => array(
1416 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1419 /* MediaWiki Installer */
1421 'mediawiki.legacy.config' => array(
1422 // Used in the web installer. Test it after modifying this definition!
1423 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1424 'scripts' => 'mw-config/config.js',
1425 'styles' => 'mw-config/config.css',
1428 /* MediaWiki Legacy */
1430 'mediawiki.legacy.ajax' => array(
1431 'scripts' => 'resources/src/mediawiki.legacy/ajax.js',
1432 'dependencies' => array(
1434 'mediawiki.legacy.wikibits',
1436 'position' => 'top',
1438 'mediawiki.legacy.commonPrint' => array(
1440 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1443 'mediawiki.legacy.protect' => array(
1444 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1445 'dependencies' => array(
1448 'messages' => array( 'protect-unchain-permissions' )
1450 'mediawiki.legacy.shared' => array(
1451 // Used in the web installer. Test it after modifying this definition!
1453 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1456 'mediawiki.legacy.oldshared' => array(
1458 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1461 'mediawiki.legacy.wikibits' => array(
1462 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1463 'dependencies' => array(
1466 'position' => 'top',
1471 'mediawiki.ui' => array(
1472 'skinStyles' => array(
1474 'resources/src/mediawiki.ui/default.less',
1477 'position' => 'top',
1478 'targets' => array( 'desktop', 'mobile' ),
1480 'mediawiki.ui.checkbox' => array(
1481 'skinStyles' => array(
1483 'resources/src/mediawiki.ui/components/checkbox.less',
1486 'position' => 'top',
1487 'targets' => array( 'desktop', 'mobile' ),
1489 // Lightweight module for anchor styles
1490 'mediawiki.ui.anchor' => array(
1491 'skinStyles' => array(
1493 'resources/src/mediawiki.ui/components/anchors.less',
1496 'position' => 'top',
1497 'targets' => array( 'desktop', 'mobile' ),
1499 // Lightweight module for button styles
1500 'mediawiki.ui.button' => array(
1501 'skinStyles' => array(
1503 'resources/src/mediawiki.ui/components/buttons.less',
1506 'position' => 'top',
1507 'targets' => array( 'desktop', 'mobile' ),
1509 'mediawiki.ui.input' => array(
1510 'skinStyles' => array(
1512 'resources/src/mediawiki.ui/components/inputs.less',
1515 'position' => 'top',
1516 'targets' => array( 'desktop', 'mobile' ),
1518 'mediawiki.ui.icon' => array(
1520 'resources/src/mediawiki.ui/components/icons.less',
1522 'position' => 'top',
1523 'targets' => array( 'desktop', 'mobile' ),
1527 'es5-shim' => array(
1529 'resources/lib/es5-shim/es5-shim.js',
1530 'resources/src/polyfill-object-create.js',
1532 'targets' => array( 'desktop', 'mobile' ),
1533 'skipFunction' => 'resources/src/es5-skip.js',
1539 'resources/lib/oojs/oojs.jquery.js',
1541 'targets' => array( 'desktop', 'mobile' ),
1542 'dependencies' => array(
1549 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
1550 // if loaded in browsers that don't support ES5
1553 'resources/lib/oojs-ui/oojs-ui.js',
1556 'resources/lib/oojs-ui/oojs-ui.svg.css',
1558 'skinStyles' => array(
1559 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.css',
1560 // FIXME As of July 2014, this is to be gone "in a couple of months".
1561 'minerva' => 'resources/lib/oojs-ui/oojs-ui-minerva.css',
1563 'messages' => array(
1564 'ooui-outline-control-move-down',
1565 'ooui-outline-control-move-up',
1566 'ooui-outline-control-remove',
1567 'ooui-toolbar-more',
1568 'ooui-dialog-message-accept',
1569 'ooui-dialog-message-reject',
1570 'ooui-dialog-process-dismiss',
1571 'ooui-dialog-process-error',
1572 'ooui-dialog-process-retry',
1574 'dependencies' => array(
1578 'targets' => array( 'desktop', 'mobile' ),