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 'commonElements.css' => array( 'media' => 'screen' ),
88 'remoteSkinPath' => 'common',
89 'localBasePath' => $GLOBALS['wgStyleDirectory'] . '/common',
91 'mediawiki.skinning.content' => array(
93 'commonElements.css' => array( 'media' => 'screen' ),
94 'commonContent.css' => array( 'media' => 'screen' ),
96 'remoteSkinPath' => 'common',
97 'localBasePath' => $GLOBALS['wgStyleDirectory'] . '/common',
99 'mediawiki.skinning.interface' => array(
100 // Used in the web installer. Test it after modifying this definition!
102 'commonElements.css' => array( 'media' => 'screen' ),
103 'commonContent.css' => array( 'media' => 'screen' ),
104 'commonInterface.css' => array( 'media' => 'screen' ),
106 'remoteSkinPath' => 'common',
107 'localBasePath' => $GLOBALS['wgStyleDirectory'] . '/common',
110 'mediawiki.skinning.content.parsoid' => array(
111 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
112 // with the commonInterface.css styles; skinStyles should be used if your
113 // skin over-rides common content styling.
114 'skinStyles' => array(
115 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
116 'minerva' => array(),
118 'targets' => array( 'desktop', 'mobile' ),
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 // Use mediawiki.cookie in new code, rather than jquery.cookie.
196 'jquery.cookie' => array(
197 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
198 'targets' => array( 'desktop', 'mobile' ),
200 'jquery.expandableField' => array(
201 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
203 'jquery.farbtastic' => array(
204 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
205 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
206 'dependencies' => 'jquery.colorUtil',
208 'jquery.footHovzer' => array(
209 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
210 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
212 'jquery.form' => array(
213 'scripts' => 'resources/lib/jquery/jquery.form.js',
215 'jquery.fullscreen' => array(
216 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
218 'jquery.getAttrs' => array(
219 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
220 'targets' => array( 'desktop', 'mobile' ),
222 'jquery.hidpi' => array(
223 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
224 'targets' => array( 'desktop', 'mobile' ),
226 'jquery.highlightText' => array(
227 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
228 'dependencies' => 'jquery.mwExtension',
229 'targets' => array( 'desktop', 'mobile' ),
231 'jquery.hoverIntent' => array(
232 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
234 'jquery.json' => array(
235 // @deprecated since 1.24: Use the 'json' module and global JSON object instead.
237 'resources/lib/jquery/jquery.json.js',
238 'resources/src/jquery.json-deprecate.js',
240 'targets' => array( 'mobile', 'desktop' ),
242 'jquery.localize' => array(
243 'scripts' => 'resources/src/jquery/jquery.localize.js',
245 'jquery.makeCollapsible' => array(
246 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
247 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
248 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
249 'targets' => array( 'desktop', 'mobile' ),
251 'jquery.mockjax' => array(
252 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
254 'jquery.mw-jump' => array(
255 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
256 'targets' => array( 'desktop', 'mobile' ),
258 'jquery.mwExtension' => array(
259 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
260 'targets' => array( 'desktop', 'mobile' ),
262 'jquery.placeholder' => array(
263 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
264 'targets' => array( 'desktop', 'mobile' ),
266 'jquery.qunit' => array(
267 'scripts' => 'resources/lib/jquery/jquery.qunit.js',
268 'styles' => 'resources/lib/jquery/jquery.qunit.css',
270 'targets' => array( 'desktop', 'mobile' ),
272 'jquery.qunit.completenessTest' => array(
273 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
274 'dependencies' => 'jquery.qunit',
275 'targets' => array( 'desktop', 'mobile' ),
277 'jquery.spinner' => array(
278 'scripts' => 'resources/src/jquery/jquery.spinner.js',
279 'styles' => 'resources/src/jquery/jquery.spinner.css',
281 'jquery.jStorage' => array(
282 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
283 'dependencies' => 'json',
285 'jquery.suggestions' => array(
286 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
287 'styles' => 'resources/src/jquery/jquery.suggestions.css',
288 'dependencies' => 'jquery.highlightText',
290 'jquery.tabIndex' => array(
291 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
293 'jquery.tablesorter' => array(
294 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
295 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
296 'messages' => array( 'sort-descending', 'sort-ascending' ),
297 'dependencies' => array(
298 'jquery.mwExtension',
299 'mediawiki.language.months',
302 'jquery.textSelection' => array(
303 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
304 'dependencies' => 'jquery.client',
306 'jquery.throttle-debounce' => array(
307 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
309 'jquery.validate' => array(
310 'scripts' => 'resources/lib/jquery/jquery.validate.js',
312 'jquery.xmldom' => array(
313 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
318 'jquery.tipsy' => array(
319 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
320 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
325 'jquery.ui.core' => array(
326 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
327 'skinStyles' => array(
329 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
330 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
333 'resources/src/jquery.ui-themes/vector/jquery.ui.core.css',
334 'resources/src/jquery.ui-themes/vector/jquery.ui.theme.css',
337 'group' => 'jquery.ui',
339 'jquery.ui.accordion' => array(
340 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
341 'dependencies' => array(
345 'skinStyles' => array(
346 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
347 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.accordion.css',
349 'group' => 'jquery.ui',
351 'jquery.ui.autocomplete' => array(
352 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
353 'dependencies' => array(
356 'jquery.ui.position',
359 'skinStyles' => array(
360 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
361 'vector' => 'resources/src/jquery.ui-themes/vector/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',
373 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.button.css',
375 'group' => 'jquery.ui',
377 'jquery.ui.datepicker' => array(
378 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
379 'dependencies' => 'jquery.ui.core',
380 'skinStyles' => array(
381 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
382 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.datepicker.css',
384 'languageScripts' => array(
385 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
386 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
387 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
388 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
389 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
390 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
391 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
392 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
393 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
394 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
395 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
396 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
397 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
398 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
399 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
400 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
401 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
402 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
403 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
404 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
405 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
406 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
407 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
408 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
409 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
410 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
411 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
412 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
413 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
414 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
415 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
416 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
417 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
418 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
419 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
420 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
421 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
422 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
423 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
424 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
425 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
426 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
427 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
428 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
429 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
430 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
431 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
432 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
433 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
434 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
435 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
436 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
437 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
438 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
439 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
440 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
441 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
442 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
443 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
444 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
445 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
446 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
447 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
448 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
449 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
450 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
451 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
453 'group' => 'jquery.ui',
455 'jquery.ui.dialog' => array(
456 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
457 'dependencies' => array(
461 'jquery.ui.draggable',
463 'jquery.ui.position',
464 'jquery.ui.resizable',
466 'skinStyles' => array(
467 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
468 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.dialog.css',
470 'group' => 'jquery.ui',
472 'jquery.ui.draggable' => array(
473 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
474 'dependencies' => array(
479 'group' => 'jquery.ui',
481 'jquery.ui.droppable' => array(
482 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
483 'dependencies' => array(
487 'jquery.ui.draggable',
489 'group' => 'jquery.ui',
491 'jquery.ui.menu' => array(
492 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
493 'dependencies' => array(
496 'jquery.ui.position',
498 'skinStyles' => array(
499 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
501 'group' => 'jquery.ui',
503 'jquery.ui.mouse' => array(
504 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
505 'dependencies' => 'jquery.ui.widget',
506 'group' => 'jquery.ui',
508 'jquery.ui.position' => array(
509 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
510 'group' => 'jquery.ui',
512 'jquery.ui.progressbar' => array(
513 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
514 'dependencies' => array(
518 'skinStyles' => array(
519 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
520 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.progressbar.css',
522 'group' => 'jquery.ui',
524 'jquery.ui.resizable' => array(
525 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
526 'dependencies' => array(
531 'skinStyles' => array(
532 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
533 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.resizable.css',
535 'group' => 'jquery.ui',
537 'jquery.ui.selectable' => array(
538 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
539 'dependencies' => array(
544 'skinStyles' => array(
545 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
546 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.selectable.css',
548 'group' => 'jquery.ui',
550 'jquery.ui.slider' => array(
551 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
552 'dependencies' => array(
557 'skinStyles' => array(
558 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
559 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.slider.css',
561 'group' => 'jquery.ui',
563 'jquery.ui.sortable' => array(
564 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
565 'dependencies' => array(
570 'group' => 'jquery.ui',
572 'jquery.ui.spinner' => array(
573 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
574 'dependencies' => array(
579 'skinStyles' => array(
580 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
582 'group' => 'jquery.ui',
584 'jquery.ui.tabs' => array(
585 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
586 'dependencies' => array(
590 'skinStyles' => array(
591 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
592 'vector' => 'resources/src/jquery.ui-themes/vector/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 'ar' => 'resources/lib/moment/lang/ar.js',
697 'ar-ma' => 'resources/lib/moment/lang/ar-ma.js',
698 'ar-sa' => 'resources/lib/moment/lang/ar-sa.js',
699 'az' => 'resources/lib/moment/lang/az.js',
700 'bg' => 'resources/lib/moment/lang/bg.js',
701 'bn' => 'resources/lib/moment/lang/bn.js',
702 'br' => 'resources/lib/moment/lang/br.js',
703 'bs' => 'resources/lib/moment/lang/bs.js',
704 'ca' => 'resources/lib/moment/lang/ca.js',
705 'cs' => 'resources/lib/moment/lang/cs.js',
706 'cv' => 'resources/lib/moment/lang/cv.js',
707 'cy' => 'resources/lib/moment/lang/cy.js',
708 'da' => 'resources/lib/moment/lang/da.js',
709 'de' => 'resources/lib/moment/lang/de.js',
710 'de-at' => 'resources/lib/moment/lang/de-at.js',
711 'el' => 'resources/lib/moment/lang/el.js',
712 'en-au' => 'resources/lib/moment/lang/en-au.js',
713 'en-ca' => 'resources/lib/moment/lang/en-ca.js',
714 'en-gb' => 'resources/lib/moment/lang/en-gb.js',
715 'eo' => 'resources/lib/moment/lang/eo.js',
716 'es' => 'resources/lib/moment/lang/es.js',
717 'et' => 'resources/lib/moment/lang/et.js',
718 'eu' => 'resources/lib/moment/lang/eu.js',
719 'fa' => 'resources/lib/moment/lang/fa.js',
720 'fi' => 'resources/lib/moment/lang/fi.js',
721 'fo' => 'resources/lib/moment/lang/fo.js',
722 'fr-ca' => 'resources/lib/moment/lang/fr-ca.js',
723 'fr' => 'resources/lib/moment/lang/fr.js',
724 'gl' => 'resources/lib/moment/lang/gl.js',
725 'he' => 'resources/lib/moment/lang/he.js',
726 'hi' => 'resources/lib/moment/lang/hi.js',
727 'hr' => 'resources/lib/moment/lang/hr.js',
728 'hu' => 'resources/lib/moment/lang/hu.js',
729 'hy-am' => 'resources/lib/moment/lang/hy-am.js',
730 'id' => 'resources/lib/moment/lang/id.js',
731 'is' => 'resources/lib/moment/lang/is.js',
732 'it' => 'resources/lib/moment/lang/it.js',
733 'ja' => 'resources/lib/moment/lang/ja.js',
734 'ka' => 'resources/lib/moment/lang/ka.js',
735 'ko' => 'resources/lib/moment/lang/ko.js',
736 'lt' => 'resources/lib/moment/lang/lt.js',
737 'lv' => 'resources/lib/moment/lang/lv.js',
738 'mk' => 'resources/lib/moment/lang/mk.js',
739 'ml' => 'resources/lib/moment/lang/ml.js',
740 'mr' => 'resources/lib/moment/lang/mr.js',
741 'ms-my' => 'resources/lib/moment/lang/ms-my.js',
742 'nb' => 'resources/lib/moment/lang/nb.js',
743 'ne' => 'resources/lib/moment/lang/ne.js',
744 'nl' => 'resources/lib/moment/lang/nl.js',
745 'nn' => 'resources/lib/moment/lang/nn.js',
746 'pl' => 'resources/lib/moment/lang/pl.js',
747 'pt-br' => 'resources/lib/moment/lang/pt-br.js',
748 'pt' => 'resources/lib/moment/lang/pt.js',
749 'ro' => 'resources/lib/moment/lang/ro.js',
750 'ru' => 'resources/lib/moment/lang/ru.js',
751 'sk' => 'resources/lib/moment/lang/sk.js',
752 'sl' => 'resources/lib/moment/lang/sl.js',
753 'sq' => 'resources/lib/moment/lang/sq.js',
754 'sr' => 'resources/lib/moment/lang/sr.js',
755 'sr-ec' => 'resources/lib/moment/lang/sr-cyrl.js',
756 'sv' => 'resources/lib/moment/lang/sv.js',
757 'ta' => 'resources/lib/moment/lang/ta.js',
758 'th' => 'resources/lib/moment/lang/th.js',
759 'tl-ph' => 'resources/lib/moment/lang/tl-ph.js',
760 'tr' => 'resources/lib/moment/lang/tr.js',
761 'tzm' => 'resources/lib/moment/lang/tzm.js',
762 'tzm-latn' => 'resources/lib/moment/lang/tzm-latn.js',
763 'uk' => 'resources/lib/moment/lang/uk.js',
764 'uz' => 'resources/lib/moment/lang/uz.js',
765 'vi' => 'resources/lib/moment/lang/vi.js',
766 'zh-cn' => 'resources/lib/moment/lang/zh-cn.js',
767 'zh-tw' => 'resources/lib/moment/lang/zh-tw.js',
773 'mediawiki' => array(
774 'scripts' => 'resources/src/mediawiki/mediawiki.js',
775 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
777 'targets' => array( 'desktop', 'mobile' ),
779 'mediawiki.api' => array(
780 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
781 'dependencies' => 'mediawiki.util',
782 'targets' => array( 'desktop', 'mobile' ),
784 'mediawiki.api.category' => array(
785 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
786 'dependencies' => array(
791 'mediawiki.api.edit' => array(
792 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
793 'dependencies' => array(
799 'mediawiki.api.login' => array(
800 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
801 'dependencies' => array(
805 'mediawiki.api.parse' => array(
806 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
807 'dependencies' => 'mediawiki.api',
809 'mediawiki.api.watch' => array(
810 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
811 'dependencies' => array(
816 'mediawiki.debug' => array(
818 'resources/src/mediawiki/mediawiki.debug.js',
819 'resources/src/mediawiki/mediawiki.debug.profile.js'
822 'resources/src/mediawiki/mediawiki.debug.less',
823 'resources/src/mediawiki/mediawiki.debug.profile.css'
825 'dependencies' => array(
829 'position' => 'bottom',
831 'mediawiki.debug.init' => array(
832 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
833 'dependencies' => 'mediawiki.debug',
834 // Uses a custom mw.config variable that is set in debughtml,
835 // must be loaded on the bottom
836 'position' => 'bottom',
838 'mediawiki.feedback' => array(
839 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
840 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
841 'dependencies' => array(
842 'mediawiki.api.edit',
844 'mediawiki.jqueryMsg',
848 'feedback-bugornote',
863 'mediawiki.hidpi' => array(
864 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
865 'dependencies' => array(
868 'targets' => array( 'desktop', 'mobile' ),
870 'mediawiki.hlist' => array(
871 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
872 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
873 'dependencies' => array(
877 'mediawiki.htmlform' => array(
878 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
879 'messages' => array( 'htmlform-chosen-placeholder' ),
881 'mediawiki.icon' => array(
882 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
884 'mediawiki.inspect' => array(
885 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
886 'dependencies' => array(
890 'targets' => array( 'desktop', 'mobile' ),
892 'mediawiki.notification' => array(
894 'resources/src/mediawiki/mediawiki.notification.css',
895 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
896 => array( 'media' => 'print' ),
898 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
899 'dependencies' => array(
900 'mediawiki.page.startup',
902 'targets' => array( 'desktop', 'mobile' ),
904 'mediawiki.notify' => array(
905 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
906 'targets' => array( 'desktop', 'mobile' ),
908 'mediawiki.searchSuggest' => array(
909 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
910 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
912 'searchsuggest-search',
913 'searchsuggest-containing',
915 'dependencies' => array(
917 'jquery.placeholder',
918 'jquery.suggestions',
922 'mediawiki.Title' => array(
923 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
924 'dependencies' => array(
928 'targets' => array( 'desktop', 'mobile' ),
930 'mediawiki.toc' => array(
931 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
932 'dependencies' => array(
935 'messages' => array( 'showtoc', 'hidetoc' ),
936 'targets' => array( 'desktop', 'mobile' ),
938 'mediawiki.Uri' => array(
939 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
940 'targets' => array( 'desktop', 'mobile' ),
942 'mediawiki.user' => array(
943 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
944 'dependencies' => array(
950 'targets' => array( 'desktop', 'mobile' ),
952 'mediawiki.util' => array(
953 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
954 'dependencies' => array(
955 'jquery.accessKeyLabel',
956 'jquery.mwExtension',
959 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
960 'targets' => array( 'desktop', 'mobile' ),
962 'mediawiki.cookie' => array(
963 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
964 'dependencies' => array(
969 /* MediaWiki Action */
971 'mediawiki.action.edit' => array(
972 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
973 'dependencies' => array(
974 'mediawiki.action.edit.styles',
975 'jquery.textSelection',
980 'mediawiki.action.edit.styles' => array(
981 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
984 'mediawiki.action.edit.collapsibleFooter' => array(
985 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
986 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
987 'dependencies' => array(
988 'jquery.makeCollapsible',
993 'mediawiki.action.edit.preview' => array(
994 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
995 'dependencies' => array(
998 'mediawiki.action.history.diff',
1001 'mediawiki.action.history' => array(
1002 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1003 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1004 'group' => 'mediawiki.action.history',
1006 'mediawiki.action.history.diff' => array(
1007 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1008 'group' => 'mediawiki.action.history',
1009 'targets' => array( 'desktop', 'mobile' ),
1011 'mediawiki.action.view.dblClickEdit' => array(
1012 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1013 'dependencies' => array(
1015 'mediawiki.page.startup',
1018 'mediawiki.action.view.metadata' => array(
1019 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1020 'messages' => array(
1022 'metadata-collapse',
1025 'mediawiki.action.view.postEdit' => array(
1026 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1027 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1028 'dependencies' => array(
1030 'mediawiki.jqueryMsg'
1032 'messages' => array(
1033 'postedit-confirmation-created',
1034 'postedit-confirmation-restored',
1035 'postedit-confirmation-saved',
1038 'mediawiki.action.view.redirectToFragment' => array(
1039 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectToFragment.js',
1040 'dependencies' => array(
1043 'position' => 'top',
1045 'mediawiki.action.view.rightClickEdit' => array(
1046 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1048 'mediawiki.action.edit.editWarning' => array(
1049 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1050 'dependencies' => array(
1051 'mediawiki.jqueryMsg'
1053 'messages' => array(
1054 'editwarning-warning',
1058 // Alias for backwards compatibility
1059 'mediawiki.action.watch.ajax' => array(
1060 'dependencies' => 'mediawiki.page.watch.ajax'
1063 /* MediaWiki Language */
1065 'mediawiki.language' => array(
1067 'resources/src/mediawiki.language/mediawiki.language.js',
1068 'resources/src/mediawiki.language/mediawiki.language.numbers.js'
1070 'languageScripts' => array(
1071 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1072 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1073 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1074 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1075 'he' => 'resources/src/mediawiki.language/languages/he.js',
1076 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1077 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1078 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1079 'la' => 'resources/src/mediawiki.language/languages/la.js',
1080 'os' => 'resources/src/mediawiki.language/languages/os.js',
1081 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1082 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1083 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1085 'dependencies' => array(
1086 'mediawiki.language.data',
1089 'targets' => array( 'desktop', 'mobile' ),
1092 'mediawiki.cldr' => array(
1093 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1094 'dependencies' => array(
1095 'mediawiki.libs.pluralruleparser',
1097 'targets' => array( 'desktop', 'mobile' ),
1100 'mediawiki.libs.pluralruleparser' => array(
1101 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1102 'targets' => array( 'desktop', 'mobile' ),
1105 'mediawiki.language.init' => array(
1106 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1107 'targets' => array( 'desktop', 'mobile' ),
1110 'mediawiki.jqueryMsg' => array(
1111 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1112 'dependencies' => array(
1114 'mediawiki.language',
1116 'targets' => array( 'desktop', 'mobile' ),
1119 'mediawiki.language.months' => array(
1120 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1121 'dependencies' => 'mediawiki.language',
1122 'messages' => array_merge(
1123 Language
::$mMonthMsgs,
1124 Language
::$mMonthGenMsgs,
1125 Language
::$mMonthAbbrevMsgs
1129 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1131 /* MediaWiki Libs */
1133 'mediawiki.libs.jpegmeta' => array(
1134 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1137 /* MediaWiki Page */
1139 'mediawiki.page.gallery' => array(
1140 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1142 'mediawiki.page.ready' => array(
1143 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1144 'dependencies' => array(
1145 'jquery.checkboxShiftClick',
1146 'jquery.makeCollapsible',
1147 'jquery.placeholder',
1151 'targets' => array( 'desktop', 'mobile' ),
1153 'mediawiki.page.startup' => array(
1154 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1155 'dependencies' => array(
1158 'position' => 'top',
1159 'targets' => array( 'desktop', 'mobile' ),
1161 'mediawiki.page.patrol.ajax' => array(
1162 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1163 'dependencies' => array(
1164 'mediawiki.page.startup',
1172 'messages' => array(
1173 'markedaspatrollednotify',
1174 'markedaspatrollederrornotify',
1175 'markedaspatrollederror-noautopatrol'
1178 'mediawiki.page.watch.ajax' => array(
1179 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1180 'dependencies' => array(
1181 'mediawiki.api.watch',
1184 'jquery.accessKeyLabel',
1185 'jquery.mwExtension',
1187 'messages' => array(
1193 'tooltip-ca-unwatch',
1197 'mediawiki.page.image.pagination' => array(
1198 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1199 'dependencies' => array( 'jquery.spinner' )
1202 /* MediaWiki Special pages */
1204 'mediawiki.special' => array(
1205 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1206 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1207 'skinStyles' => array(
1208 'vector' => 'skins/Vector/special.less', // FIXME this should use $wgStyleDirectory
1211 'mediawiki.special.block' => array(
1212 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1213 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1214 'dependencies' => array(
1218 'mediawiki.special.changeemail' => array(
1219 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1220 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1221 'dependencies' => array(
1224 'messages' => array(
1225 'email-address-validity-valid',
1226 'email-address-validity-invalid',
1229 'mediawiki.special.changeslist' => array(
1230 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1232 'mediawiki.special.changeslist.legend' => array(
1233 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1235 'mediawiki.special.changeslist.legend.js' => array(
1236 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1237 'dependencies' => array(
1238 'jquery.makeCollapsible',
1242 'mediawiki.special.changeslist.enhanced' => array(
1243 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1245 'mediawiki.special.movePage' => array(
1246 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1247 'dependencies' => 'jquery.byteLimit',
1249 'mediawiki.special.pageLanguage' => array(
1250 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1252 'mediawiki.special.pagesWithProp' => array(
1253 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1255 'mediawiki.special.preferences' => array(
1256 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1257 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1258 'position' => 'top',
1259 'skinStyles' => array(
1260 'vector' => 'skins/Vector/special.preferences.less', // FIXME this should use $wgStyleDirectory
1262 'messages' => array(
1263 'prefs-tabs-navigation-hint',
1265 'dependencies' => array(
1266 'mediawiki.language',
1269 'mediawiki.special.recentchanges' => array(
1270 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1271 'dependencies' => array( 'mediawiki.special' ),
1272 'position' => 'top',
1274 'mediawiki.special.search' => array(
1275 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1276 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1277 'messages' => array(
1278 'powersearch-togglelabel',
1279 'powersearch-toggleall',
1280 'powersearch-togglenone',
1283 'mediawiki.special.undelete' => array(
1284 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1286 'mediawiki.special.upload' => array(
1287 // @todo merge in remainder of mediawiki.legacy.upload
1288 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1289 'messages' => array(
1297 'dependencies' => array(
1298 'mediawiki.libs.jpegmeta',
1302 'mediawiki.special.userlogin.common.styles' => array(
1304 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1306 'position' => 'top',
1308 'mediawiki.special.userlogin.signup.styles' => array(
1310 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1312 'position' => 'top',
1314 'mediawiki.special.userlogin.login.styles' => array(
1316 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1318 'position' => 'top',
1320 'mediawiki.special.userlogin.common.js' => array(
1322 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1324 'messages' => array(
1325 'createacct-captcha',
1326 'createacct-imgcaptcha-ph',
1329 'mediawiki.special.userlogin.signup.js' => array(
1330 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1331 'messages' => array(
1333 'createacct-emailrequired',
1337 'dependencies' => array(
1339 'mediawiki.jqueryMsg',
1340 'jquery.throttle-debounce',
1343 'mediawiki.special.unwatchedPages' => array(
1344 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1345 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1346 'messages' => array(
1347 'addedwatchtext-short',
1348 'removedwatchtext-short',
1355 'dependencies' => array(
1357 'mediawiki.api.watch',
1362 'mediawiki.special.javaScriptTest' => array(
1363 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1364 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1366 'javascripttest-pagetext-skins',
1368 'dependencies' => array( 'jquery.qunit' ),
1369 'position' => 'top',
1370 'targets' => array( 'desktop', 'mobile' ),
1372 'mediawiki.special.version' => array(
1373 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1376 /* MediaWiki Legacy */
1378 'mediawiki.legacy.ajax' => array(
1379 'scripts' => 'common/ajax.js',
1380 'remoteBasePath' => $GLOBALS['wgStylePath'],
1381 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1382 'dependencies' => array(
1384 'mediawiki.legacy.wikibits',
1386 'position' => 'top', // Temporary hack for legacy support
1388 'mediawiki.legacy.commonPrint' => array(
1389 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
1390 'remoteBasePath' => $GLOBALS['wgStylePath'],
1391 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1393 'mediawiki.legacy.config' => array(
1394 // Used in the web installer. Test it after modifying this definition!
1395 'scripts' => 'common/config.js',
1396 'styles' => array( 'common/config.css' ),
1397 'remoteBasePath' => $GLOBALS['wgStylePath'],
1398 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1399 'dependencies' => 'mediawiki.legacy.wikibits',
1401 'mediawiki.legacy.protect' => array(
1402 'scripts' => 'common/protect.js',
1403 'remoteBasePath' => $GLOBALS['wgStylePath'],
1404 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1405 'dependencies' => array(
1408 'position' => 'top',
1410 'mediawiki.legacy.shared' => array(
1411 // Used in the web installer. Test it after modifying this definition!
1412 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
1413 'remoteBasePath' => $GLOBALS['wgStylePath'],
1414 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1416 'mediawiki.legacy.oldshared' => array(
1417 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
1418 'remoteBasePath' => $GLOBALS['wgStylePath'],
1419 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1421 'mediawiki.legacy.upload' => array(
1422 'scripts' => 'common/upload.js',
1423 'remoteBasePath' => $GLOBALS['wgStylePath'],
1424 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1425 'dependencies' => array(
1432 'mediawiki.legacy.wikibits' => array(
1433 'scripts' => 'common/wikibits.js',
1434 'remoteBasePath' => $GLOBALS['wgStylePath'],
1435 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1436 'dependencies' => array(
1439 'position' => 'top',
1444 'mediawiki.ui' => array(
1445 'skinStyles' => array(
1446 'default' => 'resources/src/mediawiki.ui/default.less',
1447 'vector' => 'resources/src/mediawiki.ui/vector.less',
1449 'position' => 'top',
1450 'targets' => array( 'desktop', 'mobile' ),
1452 // Lightweight module for button styles
1453 'mediawiki.ui.button' => array(
1454 'skinStyles' => array(
1455 'default' => 'resources/src/mediawiki.ui/components/default/buttons.less',
1456 'vector' => 'resources/src/mediawiki.ui/components/vector/buttons.less',
1458 'position' => 'top',
1459 'targets' => array( 'desktop', 'mobile' ),
1463 'es5-shim' => array(
1465 'resources/lib/es5-shim/es5-shim.js',
1467 'targets' => array( 'desktop', 'mobile' ),
1468 'skipFunction' => 'resources/src/es5-skip.js',
1474 'resources/lib/oojs/oojs.js',
1476 'targets' => array( 'desktop', 'mobile' ),
1477 'dependencies' => array(
1484 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
1485 // if loaded in browsers that don't support ES5
1488 'resources/lib/oojs-ui/oojs-ui.js',
1491 'resources/lib/oojs-ui/oojs-ui.svg.css',
1493 'skinStyles' => array(
1494 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.css',
1495 'minerva' => 'resources/lib/oojs-ui/oojs-ui-agora.css',
1497 'messages' => array(
1498 'ooui-dialog-action-close',
1499 'ooui-outline-control-move-down',
1500 'ooui-outline-control-move-up',
1501 'ooui-outline-control-remove',
1502 'ooui-toolbar-more',
1503 'ooui-dialog-confirm-title',
1504 'ooui-dialog-confirm-default-prompt',
1505 'ooui-dialog-confirm-default-ok',
1506 'ooui-dialog-confirm-default-cancel'
1508 'dependencies' => array(
1512 'targets' => array( 'desktop', 'mobile' ),