0982b2955b5cd0c888394546c398e27deb7e7d32
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',
500 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.menu.css',
502 'group' => 'jquery.ui',
504 'jquery.ui.mouse' => array(
505 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
506 'dependencies' => 'jquery.ui.widget',
507 'group' => 'jquery.ui',
509 'jquery.ui.position' => array(
510 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
511 'group' => 'jquery.ui',
513 'jquery.ui.progressbar' => array(
514 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
515 'dependencies' => array(
519 'skinStyles' => array(
520 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
521 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.progressbar.css',
523 'group' => 'jquery.ui',
525 'jquery.ui.resizable' => array(
526 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
527 'dependencies' => array(
532 'skinStyles' => array(
533 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
534 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.resizable.css',
536 'group' => 'jquery.ui',
538 'jquery.ui.selectable' => array(
539 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
540 'dependencies' => array(
545 'skinStyles' => array(
546 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
547 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.selectable.css',
549 'group' => 'jquery.ui',
551 'jquery.ui.slider' => array(
552 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
553 'dependencies' => array(
558 'skinStyles' => array(
559 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
560 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.slider.css',
562 'group' => 'jquery.ui',
564 'jquery.ui.sortable' => array(
565 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
566 'dependencies' => array(
571 'group' => 'jquery.ui',
573 'jquery.ui.spinner' => array(
574 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
575 'dependencies' => array(
580 'skinStyles' => array(
581 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
582 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.spinner.css',
584 'group' => 'jquery.ui',
586 'jquery.ui.tabs' => array(
587 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
588 'dependencies' => array(
592 'skinStyles' => array(
593 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
594 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.tabs.css',
596 'group' => 'jquery.ui',
598 'jquery.ui.tooltip' => array(
599 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
600 'dependencies' => array(
603 'jquery.ui.position',
605 'skinStyles' => array(
606 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
607 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.tooltip.css',
609 'group' => 'jquery.ui',
611 'jquery.ui.widget' => array(
612 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
613 'group' => 'jquery.ui',
616 'jquery.effects.core' => array(
617 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
618 'group' => 'jquery.ui',
620 'jquery.effects.blind' => array(
621 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
622 'dependencies' => 'jquery.effects.core',
623 'group' => 'jquery.ui',
625 'jquery.effects.bounce' => array(
626 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
627 'dependencies' => 'jquery.effects.core',
628 'group' => 'jquery.ui',
630 'jquery.effects.clip' => array(
631 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
632 'dependencies' => 'jquery.effects.core',
633 'group' => 'jquery.ui',
635 'jquery.effects.drop' => array(
636 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
637 'dependencies' => 'jquery.effects.core',
638 'group' => 'jquery.ui',
640 'jquery.effects.explode' => array(
641 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
642 'dependencies' => 'jquery.effects.core',
643 'group' => 'jquery.ui',
645 'jquery.effects.fade' => array(
646 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
647 'dependencies' => 'jquery.effects.core',
648 'group' => 'jquery.ui',
650 'jquery.effects.fold' => array(
651 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
652 'dependencies' => 'jquery.effects.core',
653 'group' => 'jquery.ui',
655 'jquery.effects.highlight' => array(
656 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
657 'dependencies' => 'jquery.effects.core',
658 'group' => 'jquery.ui',
660 'jquery.effects.pulsate' => array(
661 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
662 'dependencies' => 'jquery.effects.core',
663 'group' => 'jquery.ui',
665 'jquery.effects.scale' => array(
666 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
667 'dependencies' => 'jquery.effects.core',
668 'group' => 'jquery.ui',
670 'jquery.effects.shake' => array(
671 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
672 'dependencies' => 'jquery.effects.core',
673 'group' => 'jquery.ui',
675 'jquery.effects.slide' => array(
676 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
677 'dependencies' => 'jquery.effects.core',
678 'group' => 'jquery.ui',
680 'jquery.effects.transfer' => array(
681 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
682 'dependencies' => 'jquery.effects.core',
683 'group' => 'jquery.ui',
689 'scripts' => 'resources/lib/json2/json2.js',
690 'targets' => array( 'desktop', 'mobile' ),
691 'skipFunction' => 'resources/src/json-skip.js',
697 'scripts' => 'resources/lib/moment/moment.js',
698 'languageScripts' => array(
699 'ar' => 'resources/lib/moment/lang/ar.js',
700 'ar-ma' => 'resources/lib/moment/lang/ar-ma.js',
701 'ar-sa' => 'resources/lib/moment/lang/ar-sa.js',
702 'az' => 'resources/lib/moment/lang/az.js',
703 'bg' => 'resources/lib/moment/lang/bg.js',
704 'bn' => 'resources/lib/moment/lang/bn.js',
705 'br' => 'resources/lib/moment/lang/br.js',
706 'bs' => 'resources/lib/moment/lang/bs.js',
707 'ca' => 'resources/lib/moment/lang/ca.js',
708 'cs' => 'resources/lib/moment/lang/cs.js',
709 'cv' => 'resources/lib/moment/lang/cv.js',
710 'cy' => 'resources/lib/moment/lang/cy.js',
711 'da' => 'resources/lib/moment/lang/da.js',
712 'de' => 'resources/lib/moment/lang/de.js',
713 'de-at' => 'resources/lib/moment/lang/de-at.js',
714 'el' => 'resources/lib/moment/lang/el.js',
715 'en-au' => 'resources/lib/moment/lang/en-au.js',
716 'en-ca' => 'resources/lib/moment/lang/en-ca.js',
717 'en-gb' => 'resources/lib/moment/lang/en-gb.js',
718 'eo' => 'resources/lib/moment/lang/eo.js',
719 'es' => 'resources/lib/moment/lang/es.js',
720 'et' => 'resources/lib/moment/lang/et.js',
721 'eu' => 'resources/lib/moment/lang/eu.js',
722 'fa' => 'resources/lib/moment/lang/fa.js',
723 'fi' => 'resources/lib/moment/lang/fi.js',
724 'fo' => 'resources/lib/moment/lang/fo.js',
725 'fr-ca' => 'resources/lib/moment/lang/fr-ca.js',
726 'fr' => 'resources/lib/moment/lang/fr.js',
727 'gl' => 'resources/lib/moment/lang/gl.js',
728 'he' => 'resources/lib/moment/lang/he.js',
729 'hi' => 'resources/lib/moment/lang/hi.js',
730 'hr' => 'resources/lib/moment/lang/hr.js',
731 'hu' => 'resources/lib/moment/lang/hu.js',
732 'hy-am' => 'resources/lib/moment/lang/hy-am.js',
733 'id' => 'resources/lib/moment/lang/id.js',
734 'is' => 'resources/lib/moment/lang/is.js',
735 'it' => 'resources/lib/moment/lang/it.js',
736 'ja' => 'resources/lib/moment/lang/ja.js',
737 'ka' => 'resources/lib/moment/lang/ka.js',
738 'ko' => 'resources/lib/moment/lang/ko.js',
739 'lt' => 'resources/lib/moment/lang/lt.js',
740 'lv' => 'resources/lib/moment/lang/lv.js',
741 'mk' => 'resources/lib/moment/lang/mk.js',
742 'ml' => 'resources/lib/moment/lang/ml.js',
743 'mr' => 'resources/lib/moment/lang/mr.js',
744 'ms-my' => 'resources/lib/moment/lang/ms-my.js',
745 'nb' => 'resources/lib/moment/lang/nb.js',
746 'ne' => 'resources/lib/moment/lang/ne.js',
747 'nl' => 'resources/lib/moment/lang/nl.js',
748 'nn' => 'resources/lib/moment/lang/nn.js',
749 'pl' => 'resources/lib/moment/lang/pl.js',
750 'pt-br' => 'resources/lib/moment/lang/pt-br.js',
751 'pt' => 'resources/lib/moment/lang/pt.js',
752 'ro' => 'resources/lib/moment/lang/ro.js',
753 'ru' => 'resources/lib/moment/lang/ru.js',
754 'sk' => 'resources/lib/moment/lang/sk.js',
755 'sl' => 'resources/lib/moment/lang/sl.js',
756 'sq' => 'resources/lib/moment/lang/sq.js',
757 'sr' => 'resources/lib/moment/lang/sr.js',
758 'sr-ec' => 'resources/lib/moment/lang/sr-cyrl.js',
759 'sv' => 'resources/lib/moment/lang/sv.js',
760 'ta' => 'resources/lib/moment/lang/ta.js',
761 'th' => 'resources/lib/moment/lang/th.js',
762 'tl-ph' => 'resources/lib/moment/lang/tl-ph.js',
763 'tr' => 'resources/lib/moment/lang/tr.js',
764 'tzm' => 'resources/lib/moment/lang/tzm.js',
765 'tzm-latn' => 'resources/lib/moment/lang/tzm-latn.js',
766 'uk' => 'resources/lib/moment/lang/uk.js',
767 'uz' => 'resources/lib/moment/lang/uz.js',
768 'vi' => 'resources/lib/moment/lang/vi.js',
769 'zh-cn' => 'resources/lib/moment/lang/zh-cn.js',
770 'zh-tw' => 'resources/lib/moment/lang/zh-tw.js',
776 'mediawiki' => array(
777 'scripts' => 'resources/src/mediawiki/mediawiki.js',
778 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
780 'targets' => array( 'desktop', 'mobile' ),
782 'mediawiki.api' => array(
783 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
784 'dependencies' => 'mediawiki.util',
785 'targets' => array( 'desktop', 'mobile' ),
787 'mediawiki.api.category' => array(
788 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
789 'dependencies' => array(
794 'mediawiki.api.edit' => array(
795 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
796 'dependencies' => array(
802 'mediawiki.api.login' => array(
803 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
804 'dependencies' => array(
808 'mediawiki.api.parse' => array(
809 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
810 'dependencies' => 'mediawiki.api',
812 'mediawiki.api.watch' => array(
813 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
814 'dependencies' => array(
819 'mediawiki.debug' => array(
821 'resources/src/mediawiki/mediawiki.debug.js',
822 'resources/src/mediawiki/mediawiki.debug.profile.js'
825 'resources/src/mediawiki/mediawiki.debug.less',
826 'resources/src/mediawiki/mediawiki.debug.profile.css'
828 'dependencies' => array(
832 'position' => 'bottom',
834 'mediawiki.debug.init' => array(
835 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
836 'dependencies' => 'mediawiki.debug',
837 // Uses a custom mw.config variable that is set in debughtml,
838 // must be loaded on the bottom
839 'position' => 'bottom',
841 'mediawiki.feedback' => array(
842 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
843 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
844 'dependencies' => array(
845 'mediawiki.api.edit',
847 'mediawiki.jqueryMsg',
851 'feedback-bugornote',
866 'mediawiki.hidpi' => array(
867 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
868 'dependencies' => array(
871 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
872 'targets' => array( 'desktop', 'mobile' ),
874 'mediawiki.hlist' => array(
875 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
876 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
877 'dependencies' => array(
881 'mediawiki.htmlform' => array(
882 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
883 'messages' => array( 'htmlform-chosen-placeholder' ),
885 'mediawiki.icon' => array(
886 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
888 'mediawiki.inspect' => array(
889 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
890 'dependencies' => array(
894 'targets' => array( 'desktop', 'mobile' ),
896 'mediawiki.notification' => array(
898 'resources/src/mediawiki/mediawiki.notification.css',
899 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
900 => array( 'media' => 'print' ),
902 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
903 'dependencies' => array(
904 'mediawiki.page.startup',
906 'targets' => array( 'desktop', 'mobile' ),
908 'mediawiki.notify' => array(
909 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
910 'targets' => array( 'desktop', 'mobile' ),
912 'mediawiki.searchSuggest' => array(
913 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
914 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
916 'searchsuggest-search',
917 'searchsuggest-containing',
919 'dependencies' => array(
921 'jquery.placeholder',
922 'jquery.suggestions',
926 'mediawiki.Title' => array(
927 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
928 'dependencies' => array(
932 'targets' => array( 'desktop', 'mobile' ),
934 'mediawiki.toc' => array(
935 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
936 'dependencies' => array(
939 'messages' => array( 'showtoc', 'hidetoc' ),
940 'targets' => array( 'desktop', 'mobile' ),
942 'mediawiki.Uri' => array(
943 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
944 'targets' => array( 'desktop', 'mobile' ),
946 'mediawiki.user' => array(
947 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
948 'dependencies' => array(
954 'targets' => array( 'desktop', 'mobile' ),
956 'mediawiki.util' => array(
957 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
958 'dependencies' => array(
959 'jquery.accessKeyLabel',
960 'jquery.mwExtension',
963 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
964 'targets' => array( 'desktop', 'mobile' ),
966 'mediawiki.cookie' => array(
967 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
968 'dependencies' => array(
973 /* MediaWiki Action */
975 'mediawiki.action.edit' => array(
976 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
977 'dependencies' => array(
978 'mediawiki.action.edit.styles',
979 'jquery.textSelection',
984 'mediawiki.action.edit.styles' => array(
985 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
988 'mediawiki.action.edit.collapsibleFooter' => array(
989 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
990 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
991 'dependencies' => array(
992 'jquery.makeCollapsible',
997 'mediawiki.action.edit.preview' => array(
998 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
999 'dependencies' => array(
1002 'mediawiki.action.history.diff',
1005 'mediawiki.action.history' => array(
1006 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1007 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1008 'group' => 'mediawiki.action.history',
1010 'mediawiki.action.history.diff' => array(
1011 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1012 'group' => 'mediawiki.action.history',
1013 'targets' => array( 'desktop', 'mobile' ),
1015 'mediawiki.action.view.dblClickEdit' => array(
1016 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1017 'dependencies' => array(
1019 'mediawiki.page.startup',
1022 'mediawiki.action.view.metadata' => array(
1023 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1024 'messages' => array(
1026 'metadata-collapse',
1029 'mediawiki.action.view.postEdit' => array(
1030 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1031 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1032 'dependencies' => array(
1034 'mediawiki.jqueryMsg'
1036 'messages' => array(
1037 'postedit-confirmation-created',
1038 'postedit-confirmation-restored',
1039 'postedit-confirmation-saved',
1042 'mediawiki.action.view.redirectToFragment' => array(
1043 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectToFragment.js',
1044 'dependencies' => array(
1047 'position' => 'top',
1049 'mediawiki.action.view.rightClickEdit' => array(
1050 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1052 'mediawiki.action.edit.editWarning' => array(
1053 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1054 'dependencies' => array(
1055 'jquery.textSelection',
1056 'mediawiki.jqueryMsg'
1058 'messages' => array(
1059 'editwarning-warning',
1064 /* MediaWiki Language */
1066 'mediawiki.language' => array(
1068 'resources/src/mediawiki.language/mediawiki.language.js',
1069 'resources/src/mediawiki.language/mediawiki.language.numbers.js'
1071 'languageScripts' => array(
1072 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1073 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1074 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1075 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1076 'he' => 'resources/src/mediawiki.language/languages/he.js',
1077 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1078 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1079 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1080 'la' => 'resources/src/mediawiki.language/languages/la.js',
1081 'os' => 'resources/src/mediawiki.language/languages/os.js',
1082 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1083 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1084 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1086 'dependencies' => array(
1087 'mediawiki.language.data',
1090 'targets' => array( 'desktop', 'mobile' ),
1093 'mediawiki.cldr' => array(
1094 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1095 'dependencies' => array(
1096 'mediawiki.libs.pluralruleparser',
1098 'targets' => array( 'desktop', 'mobile' ),
1101 'mediawiki.libs.pluralruleparser' => array(
1102 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1103 'targets' => array( 'desktop', 'mobile' ),
1106 'mediawiki.language.init' => array(
1107 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1108 'targets' => array( 'desktop', 'mobile' ),
1111 'mediawiki.jqueryMsg' => array(
1112 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1113 'dependencies' => array(
1115 'mediawiki.language',
1117 'targets' => array( 'desktop', 'mobile' ),
1120 'mediawiki.language.months' => array(
1121 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1122 'dependencies' => 'mediawiki.language',
1123 'messages' => array_merge(
1124 Language
::$mMonthMsgs,
1125 Language
::$mMonthGenMsgs,
1126 Language
::$mMonthAbbrevMsgs
1130 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1132 /* MediaWiki Libs */
1134 'mediawiki.libs.jpegmeta' => array(
1135 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1138 /* MediaWiki Page */
1140 'mediawiki.page.gallery' => array(
1141 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1143 'mediawiki.page.ready' => array(
1144 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1145 'dependencies' => array(
1146 'jquery.checkboxShiftClick',
1147 'jquery.makeCollapsible',
1148 'jquery.placeholder',
1152 'targets' => array( 'desktop', 'mobile' ),
1154 'mediawiki.page.startup' => array(
1155 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1156 'dependencies' => array(
1159 'position' => 'top',
1160 'targets' => array( 'desktop', 'mobile' ),
1162 'mediawiki.page.patrol.ajax' => array(
1163 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1164 'dependencies' => array(
1165 'mediawiki.page.startup',
1173 'messages' => array(
1174 'markedaspatrollednotify',
1175 'markedaspatrollederrornotify',
1176 'markedaspatrollederror-noautopatrol'
1179 'mediawiki.page.watch.ajax' => array(
1180 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1181 'dependencies' => array(
1182 'mediawiki.api.watch',
1185 'jquery.accessKeyLabel',
1186 'jquery.mwExtension',
1188 'messages' => array(
1194 'tooltip-ca-unwatch',
1198 'mediawiki.page.image.pagination' => array(
1199 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1200 'dependencies' => array( 'jquery.spinner' )
1203 /* MediaWiki Special pages */
1205 'mediawiki.special' => array(
1206 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1207 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1209 'mediawiki.special.block' => array(
1210 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1211 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1212 'dependencies' => array(
1216 'mediawiki.special.changeemail' => array(
1217 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1218 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1219 'dependencies' => array(
1222 'messages' => array(
1223 'email-address-validity-valid',
1224 'email-address-validity-invalid',
1227 'mediawiki.special.changeslist' => array(
1228 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1230 'mediawiki.special.changeslist.legend' => array(
1231 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1233 'mediawiki.special.changeslist.legend.js' => array(
1234 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1235 'dependencies' => array(
1236 'jquery.makeCollapsible',
1240 'mediawiki.special.changeslist.enhanced' => array(
1241 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1243 'mediawiki.special.movePage' => array(
1244 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1245 'dependencies' => 'jquery.byteLimit',
1247 'mediawiki.special.pageLanguage' => array(
1248 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1250 'mediawiki.special.pagesWithProp' => array(
1251 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1253 'mediawiki.special.preferences' => array(
1254 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1255 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1256 'position' => 'top',
1257 'messages' => array(
1258 'prefs-tabs-navigation-hint',
1260 'dependencies' => array(
1261 'mediawiki.language',
1264 'mediawiki.special.recentchanges' => array(
1265 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1266 'dependencies' => array( 'mediawiki.special' ),
1267 'position' => 'top',
1269 'mediawiki.special.search' => array(
1270 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1271 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1272 'messages' => array(
1273 'powersearch-togglelabel',
1274 'powersearch-toggleall',
1275 'powersearch-togglenone',
1278 'mediawiki.special.undelete' => array(
1279 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1281 'mediawiki.special.upload' => array(
1282 // @todo merge in remainder of mediawiki.legacy.upload
1283 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1284 'messages' => array(
1292 'dependencies' => array(
1293 'mediawiki.libs.jpegmeta',
1297 'mediawiki.special.userlogin.common.styles' => array(
1299 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1301 'position' => 'top',
1303 'mediawiki.special.userlogin.signup.styles' => array(
1305 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1307 'position' => 'top',
1309 'mediawiki.special.userlogin.login.styles' => array(
1311 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1313 'position' => 'top',
1315 'mediawiki.special.userlogin.common.js' => array(
1317 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1319 'messages' => array(
1320 'createacct-captcha',
1321 'createacct-imgcaptcha-ph',
1324 'mediawiki.special.userlogin.signup.js' => array(
1325 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1326 'messages' => array(
1328 'createacct-emailrequired',
1332 'dependencies' => array(
1334 'mediawiki.jqueryMsg',
1335 'jquery.throttle-debounce',
1338 'mediawiki.special.unwatchedPages' => array(
1339 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1340 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1341 'messages' => array(
1342 'addedwatchtext-short',
1343 'removedwatchtext-short',
1350 'dependencies' => array(
1352 'mediawiki.api.watch',
1357 'mediawiki.special.javaScriptTest' => array(
1358 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1359 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1361 'javascripttest-pagetext-skins',
1363 'dependencies' => array( 'jquery.qunit' ),
1364 'position' => 'top',
1365 'targets' => array( 'desktop', 'mobile' ),
1367 'mediawiki.special.version' => array(
1368 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1371 /* MediaWiki Legacy */
1373 'mediawiki.legacy.ajax' => array(
1374 'scripts' => 'common/ajax.js',
1375 'remoteBasePath' => $GLOBALS['wgStylePath'],
1376 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1377 'dependencies' => array(
1379 'mediawiki.legacy.wikibits',
1381 'position' => 'top', // Temporary hack for legacy support
1383 'mediawiki.legacy.commonPrint' => array(
1384 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
1385 'remoteBasePath' => $GLOBALS['wgStylePath'],
1386 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1388 'mediawiki.legacy.config' => array(
1389 // Used in the web installer. Test it after modifying this definition!
1390 'scripts' => 'common/config.js',
1391 'styles' => array( 'common/config.css' ),
1392 'remoteBasePath' => $GLOBALS['wgStylePath'],
1393 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1394 'dependencies' => 'mediawiki.legacy.wikibits',
1396 'mediawiki.legacy.protect' => array(
1397 'scripts' => 'common/protect.js',
1398 'remoteBasePath' => $GLOBALS['wgStylePath'],
1399 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1400 'dependencies' => array(
1403 'position' => 'top',
1405 'mediawiki.legacy.shared' => array(
1406 // Used in the web installer. Test it after modifying this definition!
1407 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
1408 'remoteBasePath' => $GLOBALS['wgStylePath'],
1409 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1411 'mediawiki.legacy.oldshared' => array(
1412 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
1413 'remoteBasePath' => $GLOBALS['wgStylePath'],
1414 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1416 'mediawiki.legacy.upload' => array(
1417 'scripts' => 'common/upload.js',
1418 'remoteBasePath' => $GLOBALS['wgStylePath'],
1419 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1420 'dependencies' => array(
1427 'mediawiki.legacy.wikibits' => array(
1428 'scripts' => 'common/wikibits.js',
1429 'remoteBasePath' => $GLOBALS['wgStylePath'],
1430 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1431 'dependencies' => array(
1434 'position' => 'top',
1439 'mediawiki.ui' => array(
1441 'resources/src/mediawiki.ui/default.less',
1443 'position' => 'top',
1444 'targets' => array( 'desktop', 'mobile' ),
1446 // Lightweight module for button styles
1447 'mediawiki.ui.button' => array(
1449 'resources/src/mediawiki.ui/components/buttons.less',
1451 'position' => 'top',
1452 'targets' => array( 'desktop', 'mobile' ),
1456 'es5-shim' => array(
1458 'resources/lib/es5-shim/es5-shim.js',
1460 'targets' => array( 'desktop', 'mobile' ),
1461 'skipFunction' => 'resources/src/es5-skip.js',
1467 'resources/lib/oojs/oojs.jquery.js',
1469 'targets' => array( 'desktop', 'mobile' ),
1470 'dependencies' => array(
1477 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
1478 // if loaded in browsers that don't support ES5
1481 'resources/lib/oojs-ui/oojs-ui.js',
1484 'resources/lib/oojs-ui/oojs-ui.svg.css',
1486 'skinStyles' => array(
1487 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.css',
1488 'minerva' => 'resources/lib/oojs-ui/oojs-ui-agora.css',
1490 'messages' => array(
1491 'ooui-outline-control-move-down',
1492 'ooui-outline-control-move-up',
1493 'ooui-outline-control-remove',
1494 'ooui-toolbar-more',
1495 'ooui-dialog-message-accept',
1496 'ooui-dialog-message-reject',
1497 'ooui-dialog-process-dismiss',
1498 'ooui-dialog-process-error',
1499 'ooui-dialog-process-retry',
1501 'dependencies' => array(
1505 'targets' => array( 'desktop', 'mobile' ),