89fe1cb0d6213b8639271d39a928ce1e10806a21
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 'common/commonElements.css' => array( 'media' => 'screen' ),
88 'remoteBasePath' => $GLOBALS['wgStylePath'],
89 'localBasePath' => $GLOBALS['wgStyleDirectory'],
91 'mediawiki.skinning.content' => array(
93 'common/commonElements.css' => array( 'media' => 'screen' ),
94 'common/commonContent.css' => array( 'media' => 'screen' ),
96 'remoteBasePath' => $GLOBALS['wgStylePath'],
97 'localBasePath' => $GLOBALS['wgStyleDirectory'],
99 'mediawiki.skinning.interface' => array(
100 // Used in the web installer. Test it after modifying this definition!
102 'common/commonElements.css' => array( 'media' => 'screen' ),
103 'common/commonContent.css' => array( 'media' => 'screen' ),
104 'common/commonInterface.css' => array( 'media' => 'screen' ),
106 'remoteBasePath' => $GLOBALS['wgStylePath'],
107 'localBasePath' => $GLOBALS['wgStyleDirectory'],
110 // Temporarily kept for backwards-compatibility with generated HTML
111 'skins.common.elements' => array(
113 'common/commonElements.css' => array( 'media' => 'screen' ),
115 'remoteBasePath' => $GLOBALS['wgStylePath'],
116 'localBasePath' => $GLOBALS['wgStyleDirectory'],
118 'skins.common.content' => array(
120 'common/commonElements.css' => array( 'media' => 'screen' ),
121 'common/commonContent.css' => array( 'media' => 'screen' ),
123 'remoteBasePath' => $GLOBALS['wgStylePath'],
124 'localBasePath' => $GLOBALS['wgStyleDirectory'],
126 'skins.common.interface' => array(
128 'common/commonElements.css' => array( 'media' => 'screen' ),
129 'common/commonContent.css' => array( 'media' => 'screen' ),
130 'common/commonInterface.css' => array( 'media' => 'screen' ),
132 'remoteBasePath' => $GLOBALS['wgStylePath'],
133 'localBasePath' => $GLOBALS['wgStyleDirectory'],
139 * Be careful not to add 'scripts' to these modules,
140 * since they are loaded with OutputPage::addModuleStyles so that the skin styles
141 * apply without javascript.
142 * If a skin needs custom js in the interface, register a separate module
143 * and add it to the load queue with OutputPage::addModules.
145 * See Vector for an example.
147 'skins.cologneblue' => array(
149 'cologneblue/screen.css' => array( 'media' => 'screen' ),
150 'cologneblue/print.css' => array( 'media' => 'print' ),
152 'remoteBasePath' => $GLOBALS['wgStylePath'],
153 'localBasePath' => $GLOBALS['wgStyleDirectory'],
155 'skins.modern' => array(
157 'modern/main.css' => array( 'media' => 'screen' ),
158 'modern/print.css' => array( 'media' => 'print' ),
160 'remoteBasePath' => $GLOBALS['wgStylePath'],
161 'localBasePath' => $GLOBALS['wgStyleDirectory'],
163 'skins.vector.styles' => array(
164 // Used in the web installer. Test it after modifying this definition!
166 'vector/screen.less' => array( 'media' => 'screen' ),
167 'vector/screen-hd.less' => array( 'media' => 'screen and (min-width: 982px)' ),
169 'remoteBasePath' => $GLOBALS['wgStylePath'],
170 'localBasePath' => $GLOBALS['wgStyleDirectory'],
172 'skins.monobook.styles' => array(
174 'monobook/main.css' => array( 'media' => 'screen' ),
176 'remoteBasePath' => $GLOBALS['wgStylePath'],
177 'localBasePath' => $GLOBALS['wgStyleDirectory'],
179 'skins.vector.js' => array(
181 'vector/collapsibleTabs.js',
185 'dependencies' => 'jquery.throttle-debounce',
186 'remoteBasePath' => $GLOBALS['wgStylePath'],
187 'localBasePath' => $GLOBALS['wgStyleDirectory'],
193 'scripts' => 'resources/lib/jquery/jquery.js',
194 'debugScripts' => 'resources/lib/jquery/jquery.migrate.js',
196 'targets' => array( 'desktop', 'mobile' ),
201 'jquery.accessKeyLabel' => array(
202 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
203 'dependencies' => array(
205 'jquery.mwExtension',
207 'messages' => array( 'brackets', 'word-separator' ),
208 'targets' => array( 'mobile', 'desktop' ),
210 'jquery.appear' => array(
211 'scripts' => 'resources/lib/jquery/jquery.appear.js',
213 'jquery.arrowSteps' => array(
214 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
215 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
217 'jquery.async' => array(
218 'scripts' => 'resources/lib/jquery/jquery.async.js',
220 'jquery.autoEllipsis' => array(
221 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
222 'dependencies' => 'jquery.highlightText',
223 'targets' => array( 'desktop', 'mobile' ),
225 'jquery.badge' => array(
226 'scripts' => 'resources/src/jquery/jquery.badge.js',
227 'styles' => 'resources/src/jquery/jquery.badge.css',
228 'dependencies' => 'mediawiki.language',
230 'jquery.byteLength' => array(
231 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
232 'targets' => array( 'desktop', 'mobile' ),
234 'jquery.byteLimit' => array(
235 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
236 'dependencies' => 'jquery.byteLength',
237 'targets' => array( 'desktop', 'mobile' ),
239 'jquery.checkboxShiftClick' => array(
240 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
241 'targets' => array( 'desktop', 'mobile' ),
243 'jquery.chosen' => array(
244 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
245 'styles' => 'resources/lib/jquery.chosen/chosen.css',
247 'jquery.client' => array(
248 'scripts' => 'resources/src/jquery/jquery.client.js',
249 'targets' => array( 'desktop', 'mobile' ),
251 'jquery.color' => array(
252 'scripts' => 'resources/src/jquery/jquery.color.js',
253 'dependencies' => 'jquery.colorUtil',
255 'jquery.colorUtil' => array(
256 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
258 // Use mediawiki.cookie in new code, rather than jquery.cookie.
259 'jquery.cookie' => array(
260 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
261 'targets' => array( 'desktop', 'mobile' ),
263 'jquery.expandableField' => array(
264 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
266 'jquery.farbtastic' => array(
267 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
268 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
269 'dependencies' => 'jquery.colorUtil',
271 'jquery.footHovzer' => array(
272 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
273 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
275 'jquery.form' => array(
276 'scripts' => 'resources/lib/jquery/jquery.form.js',
278 'jquery.fullscreen' => array(
279 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
281 'jquery.getAttrs' => array(
282 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
283 'targets' => array( 'desktop', 'mobile' ),
285 'jquery.hidpi' => array(
286 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
287 'targets' => array( 'desktop', 'mobile' ),
289 'jquery.highlightText' => array(
290 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
291 'dependencies' => 'jquery.mwExtension',
292 'targets' => array( 'desktop', 'mobile' ),
294 'jquery.hoverIntent' => array(
295 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
297 'jquery.json' => array(
298 'scripts' => 'resources/lib/jquery/jquery.json.js',
299 'targets' => array( 'mobile', 'desktop' ),
301 'jquery.localize' => array(
302 'scripts' => 'resources/src/jquery/jquery.localize.js',
304 'jquery.makeCollapsible' => array(
305 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
306 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
307 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
308 'targets' => array( 'desktop', 'mobile' ),
310 'jquery.mockjax' => array(
311 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
313 'jquery.mw-jump' => array(
314 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
315 'targets' => array( 'desktop', 'mobile' ),
317 'jquery.mwExtension' => array(
318 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
319 'targets' => array( 'desktop', 'mobile' ),
321 'jquery.placeholder' => array(
322 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
323 'targets' => array( 'desktop', 'mobile' ),
325 'jquery.qunit' => array(
326 'scripts' => 'resources/lib/jquery/jquery.qunit.js',
327 'styles' => 'resources/lib/jquery/jquery.qunit.css',
329 'targets' => array( 'desktop', 'mobile' ),
331 'jquery.qunit.completenessTest' => array(
332 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
333 'dependencies' => 'jquery.qunit',
334 'targets' => array( 'desktop', 'mobile' ),
336 'jquery.spinner' => array(
337 'scripts' => 'resources/src/jquery/jquery.spinner.js',
338 'styles' => 'resources/src/jquery/jquery.spinner.css',
340 'jquery.jStorage' => array(
341 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
342 'dependencies' => 'jquery.json',
344 'jquery.suggestions' => array(
345 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
346 'styles' => 'resources/src/jquery/jquery.suggestions.css',
347 'dependencies' => 'jquery.highlightText',
349 'jquery.tabIndex' => array(
350 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
352 'jquery.tablesorter' => array(
353 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
354 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
355 'messages' => array( 'sort-descending', 'sort-ascending' ),
356 'dependencies' => array(
357 'jquery.mwExtension',
358 'mediawiki.language.months',
361 'jquery.textSelection' => array(
362 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
363 'dependencies' => 'jquery.client',
365 'jquery.throttle-debounce' => array(
366 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
368 'jquery.validate' => array(
369 'scripts' => 'resources/lib/jquery/jquery.validate.js',
371 'jquery.xmldom' => array(
372 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
377 'jquery.tipsy' => array(
378 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
379 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
385 'jquery.ui.core' => array(
386 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
387 'skinStyles' => array(
389 'resources/lib/jquery.ui/themes/default/jquery.ui.core.css',
390 'resources/lib/jquery.ui/themes/default/jquery.ui.theme.css',
393 'resources/src/jquery.ui-themes/vector/jquery.ui.core.css',
394 'resources/src/jquery.ui-themes/vector/jquery.ui.theme.css',
397 'group' => 'jquery.ui',
399 'jquery.ui.widget' => array(
400 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
401 'group' => 'jquery.ui',
403 'jquery.ui.mouse' => array(
404 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
405 'dependencies' => 'jquery.ui.widget',
406 'group' => 'jquery.ui',
408 'jquery.ui.position' => array(
409 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
410 'group' => 'jquery.ui',
413 'jquery.ui.draggable' => array(
414 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
415 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
416 'group' => 'jquery.ui',
418 'jquery.ui.droppable' => array(
419 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
420 'dependencies' => array(
421 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
423 'group' => 'jquery.ui',
425 'jquery.ui.resizable' => array(
426 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
427 'skinStyles' => array(
428 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.resizable.css',
429 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.resizable.css',
431 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
432 'group' => 'jquery.ui',
434 'jquery.ui.selectable' => array(
435 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
436 'skinStyles' => array(
437 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.selectable.css',
438 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.selectable.css',
440 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
441 'group' => 'jquery.ui',
443 'jquery.ui.sortable' => array(
444 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
445 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
446 'group' => 'jquery.ui',
449 'jquery.ui.accordion' => array(
450 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
451 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
452 'skinStyles' => array(
453 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.accordion.css',
454 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.accordion.css',
456 'group' => 'jquery.ui',
458 'jquery.ui.autocomplete' => array(
459 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
460 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
461 'skinStyles' => array(
462 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.autocomplete.css',
463 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.autocomplete.css',
465 'group' => 'jquery.ui',
467 'jquery.ui.button' => array(
468 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
469 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
470 'skinStyles' => array(
471 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.button.css',
472 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.button.css',
474 'group' => 'jquery.ui',
476 'jquery.ui.datepicker' => array(
477 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
478 'dependencies' => 'jquery.ui.core',
479 'skinStyles' => array(
480 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.datepicker.css',
481 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.datepicker.css',
483 'languageScripts' => array(
484 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
485 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
486 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
487 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
488 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
489 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
490 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
491 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
492 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
493 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
494 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
495 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
496 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
497 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
498 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
499 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
500 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
501 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
502 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
503 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
504 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
505 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
506 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
507 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
508 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
509 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
510 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
511 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
512 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
513 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
514 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
515 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
516 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
517 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
518 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
519 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
520 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
521 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
522 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
523 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
524 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
525 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
526 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
527 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
528 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
529 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
530 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
531 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
532 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
533 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
534 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
535 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
536 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
537 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
538 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
539 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
540 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
541 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
542 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
543 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
544 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
546 'group' => 'jquery.ui',
548 'jquery.ui.dialog' => array(
549 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
550 'dependencies' => array(
554 'jquery.ui.draggable',
556 'jquery.ui.position',
557 'jquery.ui.resizable',
559 'skinStyles' => array(
560 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.dialog.css',
561 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.dialog.css',
563 'group' => 'jquery.ui',
565 'jquery.ui.progressbar' => array(
566 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
567 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
568 'skinStyles' => array(
569 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.progressbar.css',
570 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.progressbar.css',
572 'group' => 'jquery.ui',
574 'jquery.ui.slider' => array(
575 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
576 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
577 'skinStyles' => array(
578 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.slider.css',
579 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.slider.css',
581 'group' => 'jquery.ui',
583 'jquery.ui.tabs' => array(
584 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
585 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
586 'skinStyles' => array(
587 'default' => 'resources/lib/jquery.ui/themes/default/jquery.ui.tabs.css',
588 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.tabs.css',
590 'group' => 'jquery.ui',
593 'jquery.effects.core' => array(
594 'scripts' => 'resources/lib/jquery.effects/jquery.effects.core.js',
595 'group' => 'jquery.ui',
597 'jquery.effects.blind' => array(
598 'scripts' => 'resources/lib/jquery.effects/jquery.effects.blind.js',
599 'dependencies' => 'jquery.effects.core',
600 'group' => 'jquery.ui',
602 'jquery.effects.bounce' => array(
603 'scripts' => 'resources/lib/jquery.effects/jquery.effects.bounce.js',
604 'dependencies' => 'jquery.effects.core',
605 'group' => 'jquery.ui',
607 'jquery.effects.clip' => array(
608 'scripts' => 'resources/lib/jquery.effects/jquery.effects.clip.js',
609 'dependencies' => 'jquery.effects.core',
610 'group' => 'jquery.ui',
612 'jquery.effects.drop' => array(
613 'scripts' => 'resources/lib/jquery.effects/jquery.effects.drop.js',
614 'dependencies' => 'jquery.effects.core',
615 'group' => 'jquery.ui',
617 'jquery.effects.explode' => array(
618 'scripts' => 'resources/lib/jquery.effects/jquery.effects.explode.js',
619 'dependencies' => 'jquery.effects.core',
620 'group' => 'jquery.ui',
622 'jquery.effects.fade' => array(
623 'scripts' => 'resources/lib/jquery.effects/jquery.effects.fade.js',
624 'dependencies' => 'jquery.effects.core',
625 'group' => 'jquery.ui',
627 'jquery.effects.fold' => array(
628 'scripts' => 'resources/lib/jquery.effects/jquery.effects.fold.js',
629 'dependencies' => 'jquery.effects.core',
630 'group' => 'jquery.ui',
632 'jquery.effects.highlight' => array(
633 'scripts' => 'resources/lib/jquery.effects/jquery.effects.highlight.js',
634 'dependencies' => 'jquery.effects.core',
635 'group' => 'jquery.ui',
637 'jquery.effects.pulsate' => array(
638 'scripts' => 'resources/lib/jquery.effects/jquery.effects.pulsate.js',
639 'dependencies' => 'jquery.effects.core',
640 'group' => 'jquery.ui',
642 'jquery.effects.scale' => array(
643 'scripts' => 'resources/lib/jquery.effects/jquery.effects.scale.js',
644 'dependencies' => 'jquery.effects.core',
645 'group' => 'jquery.ui',
647 'jquery.effects.shake' => array(
648 'scripts' => 'resources/lib/jquery.effects/jquery.effects.shake.js',
649 'dependencies' => 'jquery.effects.core',
650 'group' => 'jquery.ui',
652 'jquery.effects.slide' => array(
653 'scripts' => 'resources/lib/jquery.effects/jquery.effects.slide.js',
654 'dependencies' => 'jquery.effects.core',
655 'group' => 'jquery.ui',
657 'jquery.effects.transfer' => array(
658 'scripts' => 'resources/lib/jquery.effects/jquery.effects.transfer.js',
659 'dependencies' => 'jquery.effects.core',
660 'group' => 'jquery.ui',
666 'scripts' => 'resources/lib/moment/moment.js',
667 'languageScripts' => array(
668 'ar-ma' => 'resources/lib/moment/lang/ar-ma.js',
669 'ar' => 'resources/lib/moment/lang/ar.js',
670 'bg' => 'resources/lib/moment/lang/bg.js',
671 'br' => 'resources/lib/moment/lang/br.js',
672 'bs' => 'resources/lib/moment/lang/bs.js',
673 'ca' => 'resources/lib/moment/lang/ca.js',
674 'cs' => 'resources/lib/moment/lang/cs.js',
675 'cv' => 'resources/lib/moment/lang/cv.js',
676 'cy' => 'resources/lib/moment/lang/cy.js',
677 'da' => 'resources/lib/moment/lang/da.js',
678 'de' => 'resources/lib/moment/lang/de.js',
679 'el' => 'resources/lib/moment/lang/el.js',
680 'en-au' => 'resources/lib/moment/lang/en-au.js',
681 'en-ca' => 'resources/lib/moment/lang/en-ca.js',
682 'en-gb' => 'resources/lib/moment/lang/en-gb.js',
683 'eo' => 'resources/lib/moment/lang/eo.js',
684 'es' => 'resources/lib/moment/lang/es.js',
685 'et' => 'resources/lib/moment/lang/et.js',
686 'eu' => 'resources/lib/moment/lang/eu.js',
687 'fa' => 'resources/lib/moment/lang/fa.js',
688 'fi' => 'resources/lib/moment/lang/fi.js',
689 'fo' => 'resources/lib/moment/lang/fo.js',
690 'fr-ca' => 'resources/lib/moment/lang/fr-ca.js',
691 'fr' => 'resources/lib/moment/lang/fr.js',
692 'gl' => 'resources/lib/moment/lang/gl.js',
693 'he' => 'resources/lib/moment/lang/he.js',
694 'hi' => 'resources/lib/moment/lang/hi.js',
695 'hr' => 'resources/lib/moment/lang/hr.js',
696 'hu' => 'resources/lib/moment/lang/hu.js',
697 'hy-am' => 'resources/lib/moment/lang/hy-am.js',
698 'id' => 'resources/lib/moment/lang/id.js',
699 'is' => 'resources/lib/moment/lang/is.js',
700 'it' => 'resources/lib/moment/lang/it.js',
701 'ja' => 'resources/lib/moment/lang/ja.js',
702 'ka' => 'resources/lib/moment/lang/ka.js',
703 'ko' => 'resources/lib/moment/lang/ko.js',
704 'lt' => 'resources/lib/moment/lang/lt.js',
705 'lv' => 'resources/lib/moment/lang/lv.js',
706 'mk' => 'resources/lib/moment/lang/mk.js',
707 'ml' => 'resources/lib/moment/lang/ml.js',
708 'mr' => 'resources/lib/moment/lang/mr.js',
709 'ms-my' => 'resources/lib/moment/lang/ms-my.js',
710 'nb' => 'resources/lib/moment/lang/nb.js',
711 'ne' => 'resources/lib/moment/lang/ne.js',
712 'nl' => 'resources/lib/moment/lang/nl.js',
713 'nn' => 'resources/lib/moment/lang/nn.js',
714 'pl' => 'resources/lib/moment/lang/pl.js',
715 'pt-br' => 'resources/lib/moment/lang/pt-br.js',
716 'pt' => 'resources/lib/moment/lang/pt.js',
717 'ro' => 'resources/lib/moment/lang/ro.js',
718 'ru' => 'resources/lib/moment/lang/ru.js',
719 'sk' => 'resources/lib/moment/lang/sk.js',
720 'sl' => 'resources/lib/moment/lang/sl.js',
721 'sq' => 'resources/lib/moment/lang/sq.js',
722 'sr-el' => 'resources/lib/moment/lang/sr.js',
723 'sr-ec' => 'resources/lib/moment/lang/sr-cyr.js',
724 'sv' => 'resources/lib/moment/lang/sv.js',
725 'ta' => 'resources/lib/moment/lang/ta.js',
726 'th' => 'resources/lib/moment/lang/th.js',
727 'tl-ph' => 'resources/lib/moment/lang/tl-ph.js',
728 'tr' => 'resources/lib/moment/lang/tr.js',
729 'tzm-la' => 'resources/lib/moment/lang/tzm-la.js',
730 'tzm' => 'resources/lib/moment/lang/tzm.js',
731 'uk' => 'resources/lib/moment/lang/uk.js',
732 'uz' => 'resources/lib/moment/lang/uz.js',
733 'vi' => 'resources/lib/moment/lang/vi.js',
734 'zh-cn' => 'resources/lib/moment/lang/zh-cn.js',
735 'zh-tw' => 'resources/lib/moment/lang/zh-tw.js',
741 'mediawiki' => array(
742 'scripts' => 'resources/src/mediawiki/mediawiki.js',
743 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
745 'targets' => array( 'desktop', 'mobile' ),
747 'mediawiki.api' => array(
748 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
749 'dependencies' => 'mediawiki.util',
750 'targets' => array( 'desktop', 'mobile' ),
752 'mediawiki.api.category' => array(
753 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
754 'dependencies' => array(
759 'mediawiki.api.edit' => array(
760 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
761 'dependencies' => array(
767 'mediawiki.api.login' => array(
768 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
769 'dependencies' => array(
773 'mediawiki.api.parse' => array(
774 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
775 'dependencies' => 'mediawiki.api',
777 'mediawiki.api.watch' => array(
778 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
779 'dependencies' => array(
784 'mediawiki.debug' => array(
786 'resources/src/mediawiki/mediawiki.debug.js',
787 'resources/src/mediawiki/mediawiki.debug.profile.js'
790 'resources/src/mediawiki/mediawiki.debug.less',
791 'resources/src/mediawiki/mediawiki.debug.profile.css'
793 'dependencies' => array(
797 'position' => 'bottom',
799 'mediawiki.debug.init' => array(
800 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
801 'dependencies' => 'mediawiki.debug',
802 // Uses a custom mw.config variable that is set in debughtml,
803 // must be loaded on the bottom
804 'position' => 'bottom',
806 'mediawiki.feedback' => array(
807 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
808 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
809 'dependencies' => array(
810 'mediawiki.api.edit',
812 'mediawiki.jqueryMsg',
816 'feedback-bugornote',
831 'mediawiki.hidpi' => array(
832 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
833 'dependencies' => array(
836 'targets' => array( 'desktop', 'mobile' ),
838 'mediawiki.hlist' => array(
839 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
840 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
841 'dependencies' => array(
845 'mediawiki.htmlform' => array(
846 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
847 'messages' => array( 'htmlform-chosen-placeholder' ),
849 'mediawiki.icon' => array(
850 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
852 'mediawiki.inspect' => array(
853 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
854 'dependencies' => array(
858 'targets' => array( 'desktop', 'mobile' ),
860 'mediawiki.notification' => array(
862 'resources/src/mediawiki/mediawiki.notification.css',
863 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
864 => array( 'media' => 'print' ),
866 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
867 'dependencies' => array(
868 'mediawiki.page.startup',
870 'targets' => array( 'desktop', 'mobile' ),
872 'mediawiki.notify' => array(
873 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
874 'targets' => array( 'desktop', 'mobile' ),
876 'mediawiki.searchSuggest' => array(
877 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
878 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
880 'searchsuggest-search',
881 'searchsuggest-containing',
883 'dependencies' => array(
885 'jquery.placeholder',
886 'jquery.suggestions',
890 'mediawiki.Title' => array(
891 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
892 'dependencies' => array(
896 'targets' => array( 'desktop', 'mobile' ),
898 'mediawiki.toc' => array(
899 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
900 'dependencies' => array(
903 'messages' => array( 'showtoc', 'hidetoc' ),
904 'targets' => array( 'desktop', 'mobile' ),
906 'mediawiki.Uri' => array(
907 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
908 'targets' => array( 'desktop', 'mobile' ),
910 'mediawiki.user' => array(
911 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
912 'dependencies' => array(
918 'targets' => array( 'desktop', 'mobile' ),
920 'mediawiki.util' => array(
921 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
922 'dependencies' => array(
923 'jquery.accessKeyLabel',
924 'jquery.mwExtension',
926 'mediawiki.toc', // bug 64765
928 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
929 'targets' => array( 'desktop', 'mobile' ),
931 'mediawiki.cookie' => array(
932 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
933 'dependencies' => array(
938 /* MediaWiki Action */
940 'mediawiki.action.edit' => array(
941 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
942 'dependencies' => array(
943 'mediawiki.action.edit.styles',
944 'jquery.textSelection',
949 'mediawiki.action.edit.styles' => array(
950 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
953 'mediawiki.action.edit.collapsibleFooter' => array(
954 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
955 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
956 'dependencies' => array(
957 'jquery.makeCollapsible',
962 'mediawiki.action.edit.preview' => array(
963 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
964 'dependencies' => array(
967 'mediawiki.action.history.diff',
970 'mediawiki.action.history' => array(
971 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
972 'group' => 'mediawiki.action.history',
974 'mediawiki.action.history.diff' => array(
975 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
976 'group' => 'mediawiki.action.history',
977 'targets' => array( 'desktop', 'mobile' ),
979 'mediawiki.action.view.dblClickEdit' => array(
980 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
981 'dependencies' => array(
983 'mediawiki.page.startup',
986 'mediawiki.action.view.metadata' => array(
987 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
993 'mediawiki.action.view.postEdit' => array(
994 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
995 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
996 'dependencies' => array(
998 'mediawiki.jqueryMsg'
1000 'messages' => array(
1001 'postedit-confirmation-created',
1002 'postedit-confirmation-restored',
1003 'postedit-confirmation-saved',
1006 'mediawiki.action.view.redirectToFragment' => array(
1007 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectToFragment.js',
1008 'dependencies' => array(
1011 'position' => 'top',
1013 'mediawiki.action.view.rightClickEdit' => array(
1014 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1016 'mediawiki.action.edit.editWarning' => array(
1017 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1018 'dependencies' => array(
1019 'mediawiki.jqueryMsg'
1021 'messages' => array(
1022 'editwarning-warning',
1026 // Alias for backwards compatibility
1027 'mediawiki.action.watch.ajax' => array(
1028 'dependencies' => 'mediawiki.page.watch.ajax'
1031 /* MediaWiki Language */
1033 'mediawiki.language' => array(
1035 'resources/src/mediawiki.language/mediawiki.language.js',
1036 'resources/src/mediawiki.language/mediawiki.language.numbers.js'
1038 'languageScripts' => array(
1039 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1040 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1041 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1042 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1043 'he' => 'resources/src/mediawiki.language/languages/he.js',
1044 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1045 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1046 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1047 'la' => 'resources/src/mediawiki.language/languages/la.js',
1048 'os' => 'resources/src/mediawiki.language/languages/os.js',
1049 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1050 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1051 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1053 'dependencies' => array(
1054 'mediawiki.language.data',
1057 'targets' => array( 'desktop', 'mobile' ),
1060 'mediawiki.cldr' => array(
1061 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1062 'dependencies' => array(
1063 'mediawiki.libs.pluralruleparser',
1065 'targets' => array( 'desktop', 'mobile' ),
1068 'mediawiki.libs.pluralruleparser' => array(
1069 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1070 'targets' => array( 'desktop', 'mobile' ),
1073 'mediawiki.language.init' => array(
1074 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1075 'targets' => array( 'desktop', 'mobile' ),
1078 'mediawiki.jqueryMsg' => array(
1079 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1080 'dependencies' => array(
1082 'mediawiki.language',
1084 'targets' => array( 'desktop', 'mobile' ),
1087 'mediawiki.language.months' => array(
1088 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1089 'dependencies' => 'mediawiki.language',
1090 'messages' => array_merge(
1091 Language
::$mMonthMsgs,
1092 Language
::$mMonthGenMsgs,
1093 Language
::$mMonthAbbrevMsgs
1097 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1099 /* MediaWiki Libs */
1101 'mediawiki.libs.jpegmeta' => array(
1102 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1105 /* MediaWiki Page */
1107 'mediawiki.page.gallery' => array(
1108 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1110 'mediawiki.page.ready' => array(
1111 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1112 'dependencies' => array(
1113 'jquery.checkboxShiftClick',
1114 'jquery.makeCollapsible',
1115 'jquery.placeholder',
1119 'targets' => array( 'desktop', 'mobile' ),
1121 'mediawiki.page.startup' => array(
1122 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1123 'dependencies' => array(
1126 'position' => 'top',
1127 'targets' => array( 'desktop', 'mobile' ),
1129 'mediawiki.page.patrol.ajax' => array(
1130 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1131 'dependencies' => array(
1132 'mediawiki.page.startup',
1140 'messages' => array(
1141 'markedaspatrollednotify',
1142 'markedaspatrollederrornotify',
1143 'markedaspatrollederror-noautopatrol'
1146 'mediawiki.page.watch.ajax' => array(
1147 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1148 'dependencies' => array(
1149 'mediawiki.api.watch',
1152 'jquery.accessKeyLabel',
1153 'jquery.mwExtension',
1155 'messages' => array(
1161 'tooltip-ca-unwatch',
1165 'mediawiki.page.image.pagination' => array(
1166 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1167 'dependencies' => array( 'jquery.spinner' )
1170 /* MediaWiki Special pages */
1172 'mediawiki.special' => array(
1173 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1174 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1175 'skinStyles' => array(
1176 'vector' => 'skins/vector/special.less',
1179 'mediawiki.special.block' => array(
1180 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1181 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1182 'dependencies' => array(
1186 'mediawiki.special.changeemail' => array(
1187 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1188 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1189 'dependencies' => array(
1192 'messages' => array(
1193 'email-address-validity-valid',
1194 'email-address-validity-invalid',
1197 'mediawiki.special.changeslist' => array(
1198 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1200 'mediawiki.special.changeslist.legend' => array(
1201 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1203 'mediawiki.special.changeslist.legend.js' => array(
1204 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1205 'dependencies' => array(
1206 'jquery.makeCollapsible',
1210 'mediawiki.special.changeslist.enhanced' => array(
1211 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1213 'mediawiki.special.movePage' => array(
1214 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1215 'dependencies' => 'jquery.byteLimit',
1217 'mediawiki.special.pagesWithProp' => array(
1218 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1220 'mediawiki.special.preferences' => array(
1221 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1222 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1223 'position' => 'top',
1224 'skinStyles' => array(
1225 'vector' => 'skins/vector/special.preferences.less',
1227 'messages' => array(
1228 'prefs-tabs-navigation-hint',
1230 'dependencies' => array(
1231 'mediawiki.language',
1234 'mediawiki.special.recentchanges' => array(
1235 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1236 'dependencies' => array( 'mediawiki.special' ),
1237 'position' => 'top',
1239 'mediawiki.special.search' => array(
1240 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1241 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1242 'messages' => array(
1243 'powersearch-togglelabel',
1244 'powersearch-toggleall',
1245 'powersearch-togglenone',
1248 'mediawiki.special.undelete' => array(
1249 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1251 'mediawiki.special.upload' => array(
1252 // @todo merge in remainder of mediawiki.legacy.upload
1253 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1254 'messages' => array(
1262 'dependencies' => array(
1263 'mediawiki.libs.jpegmeta',
1267 'mediawiki.special.userlogin.common.styles' => array(
1269 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1271 'position' => 'top',
1273 'mediawiki.special.userlogin.signup.styles' => array(
1275 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1277 'position' => 'top',
1279 'mediawiki.special.userlogin.login.styles' => array(
1281 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1283 'position' => 'top',
1285 'mediawiki.special.userlogin.common.js' => array(
1287 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1289 'messages' => array(
1290 'createacct-captcha',
1291 'createacct-imgcaptcha-ph',
1294 'mediawiki.special.userlogin.signup.js' => array(
1295 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1296 'messages' => array(
1298 'createacct-emailrequired',
1302 'dependencies' => array(
1304 'mediawiki.jqueryMsg',
1305 'jquery.throttle-debounce',
1308 'mediawiki.special.javaScriptTest' => array(
1309 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1310 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1312 'javascripttest-pagetext-skins',
1314 'dependencies' => array( 'jquery.qunit' ),
1315 'position' => 'top',
1316 'targets' => array( 'desktop', 'mobile' ),
1318 'mediawiki.special.version' => array(
1319 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1322 /* MediaWiki Legacy */
1324 'mediawiki.legacy.ajax' => array(
1325 'scripts' => 'common/ajax.js',
1326 'remoteBasePath' => $GLOBALS['wgStylePath'],
1327 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1328 'dependencies' => array(
1330 'mediawiki.legacy.wikibits',
1332 'position' => 'top', // Temporary hack for legacy support
1334 'mediawiki.legacy.commonPrint' => array(
1335 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
1336 'remoteBasePath' => $GLOBALS['wgStylePath'],
1337 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1339 'mediawiki.legacy.config' => array(
1340 // Used in the web installer. Test it after modifying this definition!
1341 'scripts' => 'common/config.js',
1342 'styles' => array( 'common/config.css' ),
1343 'remoteBasePath' => $GLOBALS['wgStylePath'],
1344 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1345 'dependencies' => 'mediawiki.legacy.wikibits',
1347 'mediawiki.legacy.protect' => array(
1348 'scripts' => 'common/protect.js',
1349 'remoteBasePath' => $GLOBALS['wgStylePath'],
1350 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1351 'dependencies' => array(
1354 'position' => 'top',
1356 'mediawiki.legacy.shared' => array(
1357 // Used in the web installer. Test it after modifying this definition!
1358 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
1359 'remoteBasePath' => $GLOBALS['wgStylePath'],
1360 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1362 'mediawiki.legacy.oldshared' => array(
1363 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
1364 'remoteBasePath' => $GLOBALS['wgStylePath'],
1365 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1367 'mediawiki.legacy.upload' => array(
1368 'scripts' => 'common/upload.js',
1369 'remoteBasePath' => $GLOBALS['wgStylePath'],
1370 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1371 'dependencies' => array(
1378 'mediawiki.legacy.wikibits' => array(
1379 'scripts' => 'common/wikibits.js',
1380 'remoteBasePath' => $GLOBALS['wgStylePath'],
1381 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1382 'dependencies' => array(
1385 'position' => 'top',
1390 'mediawiki.ui' => array(
1391 'skinStyles' => array(
1392 'default' => 'resources/src/mediawiki.ui/default.less',
1393 'vector' => 'resources/src/mediawiki.ui/vector.less',
1395 'position' => 'top',
1396 'targets' => array( 'desktop', 'mobile' ),
1398 // Lightweight module for button styles
1399 'mediawiki.ui.button' => array(
1400 'skinStyles' => array(
1401 'default' => 'resources/src/mediawiki.ui/components/default/buttons.less',
1402 'vector' => 'resources/src/mediawiki.ui/components/vector/buttons.less',
1404 'position' => 'top',
1405 'targets' => array( 'desktop', 'mobile' ),
1409 // WARNING: OOjs and OOjs-UI are NOT COMPATIBLE with older browsers and
1410 // WILL BREAK if loaded in browsers that don't support ES5
1413 'resources/lib/oojs/oojs.js',
1415 'targets' => array( 'desktop', 'mobile' ),
1419 'resources/lib/oojs-ui/oojs-ui.js',
1422 'resources/lib/oojs-ui/oojs-ui.svg.css',
1424 'skinStyles' => array(
1425 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.css',
1426 'minerva' => 'resources/lib/oojs-ui/oojs-ui-agora.css',
1428 'messages' => array(
1429 'ooui-dialog-action-close',
1430 'ooui-outline-control-move-down',
1431 'ooui-outline-control-move-up',
1432 'ooui-outline-control-remove',
1433 'ooui-toolbar-more',
1435 'dependencies' => array(
1438 'targets' => array( 'desktop', 'mobile' ),