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' ),
54 * Common skin styles, grouped into three graded levels.
57 * The base level that only contains the most basic of common skin styles.
58 * Only styles for single elements are included, no styling for complex structures like the TOC
59 * is present. This level is for skins that want to implement the entire style of even content area
60 * structures like the TOC themselves.
63 * The most commonly used level for skins implemented from scratch. This level includes all the single
64 * element styles from "elements" as well as styles for complex structures such as the TOC that are output
65 * in the content area by MediaWiki rather than the skin. Essentially this is the common level that lets
66 * skins leave the style of the content area as it is normally styled, while leaving the rest of the skin
67 * up to the skin implementation.
69 * Level 3 "interface":
70 * The highest level, this stylesheet contains extra common styles for classes like .firstHeading, #contentSub,
71 * et cetera which are not outputted by MediaWiki but are common to skins like MonoBook, Vector, etc...
72 * Essentially this level is for styles that are common to MonoBook clones. And since practically every skin
73 * that currently exists within core is a MonoBook clone, all our core skins currently use this level.
75 * These modules are typically loaded by addModuleStyles which has absolutely no concept of dependency
76 * management. As a result the skins.common.* modules contain duplicate stylesheet references instead of
77 * setting 'dependencies' to the lower level the module is based on. For this reason avoid including multiple
78 * skins.common.* modules into your skin as this will result in duplicate css.
80 'skins.common.elements' => array(
82 'common/commonElements.css' => array( 'media' => 'screen' ),
84 'remoteBasePath' => $GLOBALS['wgStylePath'],
85 'localBasePath' => $GLOBALS['wgStyleDirectory'],
87 'skins.common.content' => array(
89 'common/commonElements.css' => array( 'media' => 'screen' ),
90 'common/commonContent.css' => array( 'media' => 'screen' ),
92 'remoteBasePath' => $GLOBALS['wgStylePath'],
93 'localBasePath' => $GLOBALS['wgStyleDirectory'],
95 'skins.common.interface' => array(
96 // Used in the web installer. Test it after modifying this definition!
98 'common/commonElements.css' => array( 'media' => 'screen' ),
99 'common/commonContent.css' => array( 'media' => 'screen' ),
100 'common/commonInterface.css' => array( 'media' => 'screen' ),
102 'remoteBasePath' => $GLOBALS['wgStylePath'],
103 'localBasePath' => $GLOBALS['wgStyleDirectory'],
108 * Be careful not to add 'scripts' to these modules,
109 * since they are loaded with OutputPage::addModuleStyles so that the skin styles
110 * apply without javascript.
111 * If a skin needs custom js in the interface, register a separate module
112 * and add it to the load queue with OutputPage::addModules.
114 * See Vector for an example.
116 'skins.cologneblue' => array(
118 'cologneblue/screen.css' => array( 'media' => 'screen' ),
119 'cologneblue/print.css' => array( 'media' => 'print' ),
121 'remoteBasePath' => $GLOBALS['wgStylePath'],
122 'localBasePath' => $GLOBALS['wgStyleDirectory'],
124 'skins.modern' => array(
126 'modern/main.css' => array( 'media' => 'screen' ),
127 'modern/print.css' => array( 'media' => 'print' ),
129 'remoteBasePath' => $GLOBALS['wgStylePath'],
130 'localBasePath' => $GLOBALS['wgStyleDirectory'],
132 'skins.vector.styles' => array(
133 // Used in the web installer. Test it after modifying this definition!
135 'vector/styles.less',
137 'remoteBasePath' => $GLOBALS['wgStylePath'],
138 'localBasePath' => $GLOBALS['wgStyleDirectory'],
140 'skins.monobook.styles' => array(
142 'monobook/main.css' => array( 'media' => 'screen' ),
144 'remoteBasePath' => $GLOBALS['wgStylePath'],
145 'localBasePath' => $GLOBALS['wgStyleDirectory'],
147 'skins.vector.js' => array(
149 'vector/collapsibleTabs.js',
153 'dependencies' => 'jquery.delayedBind',
154 'remoteBasePath' => $GLOBALS['wgStylePath'],
155 'localBasePath' => $GLOBALS['wgStyleDirectory'],
157 'skins.vector.collapsibleNav' => array(
159 'vector/collapsibleNav.js',
162 'vector-collapsiblenav-more',
164 'dependencies' => array(
169 'remoteBasePath' => $GLOBALS['wgStylePath'],
170 'localBasePath' => $GLOBALS['wgStyleDirectory'],
171 'position' => 'bottom',
177 'scripts' => 'resources/jquery/jquery.js',
179 'targets' => array( 'desktop', 'mobile' ),
184 'jquery.appear' => array(
185 'scripts' => 'resources/jquery/jquery.appear.js',
187 'jquery.arrowSteps' => array(
188 'scripts' => 'resources/jquery/jquery.arrowSteps.js',
189 'styles' => 'resources/jquery/jquery.arrowSteps.css',
191 'jquery.async' => array(
192 'scripts' => 'resources/jquery/jquery.async.js',
194 'jquery.autoEllipsis' => array(
195 'scripts' => 'resources/jquery/jquery.autoEllipsis.js',
196 'dependencies' => 'jquery.highlightText',
197 'targets' => array( 'desktop', 'mobile' ),
199 'jquery.badge' => array(
200 'scripts' => 'resources/jquery/jquery.badge.js',
201 'styles' => 'resources/jquery/jquery.badge.css',
202 'dependencies' => 'mediawiki.language',
204 'jquery.byteLength' => array(
205 'scripts' => 'resources/jquery/jquery.byteLength.js',
206 'targets' => array( 'desktop', 'mobile' ),
208 'jquery.byteLimit' => array(
209 'scripts' => 'resources/jquery/jquery.byteLimit.js',
210 'dependencies' => 'jquery.byteLength',
211 'targets' => array( 'desktop', 'mobile' ),
213 'jquery.checkboxShiftClick' => array(
214 'scripts' => 'resources/jquery/jquery.checkboxShiftClick.js',
215 'targets' => array( 'desktop', 'mobile' ),
217 'jquery.chosen' => array(
218 'scripts' => 'resources/jquery.chosen/chosen.jquery.js',
219 'styles' => 'resources/jquery.chosen/chosen.css',
221 'jquery.client' => array(
222 'scripts' => 'resources/jquery/jquery.client.js',
223 'targets' => array( 'desktop', 'mobile' ),
225 'jquery.color' => array(
226 'scripts' => 'resources/jquery/jquery.color.js',
227 'dependencies' => 'jquery.colorUtil',
229 'jquery.colorUtil' => array(
230 'scripts' => 'resources/jquery/jquery.colorUtil.js',
232 'jquery.cookie' => array(
233 'scripts' => 'resources/jquery/jquery.cookie.js',
234 'targets' => array( 'desktop', 'mobile' ),
236 'jquery.delayedBind' => array(
237 'scripts' => 'resources/jquery/jquery.delayedBind.js',
239 'jquery.expandableField' => array(
240 'scripts' => 'resources/jquery/jquery.expandableField.js',
241 'dependencies' => 'jquery.delayedBind',
243 'jquery.farbtastic' => array(
244 'scripts' => 'resources/jquery/jquery.farbtastic.js',
245 'styles' => 'resources/jquery/jquery.farbtastic.css',
246 'dependencies' => 'jquery.colorUtil',
248 'jquery.footHovzer' => array(
249 'scripts' => 'resources/jquery/jquery.footHovzer.js',
250 'styles' => 'resources/jquery/jquery.footHovzer.css',
252 'jquery.form' => array(
253 'scripts' => 'resources/jquery/jquery.form.js',
255 'jquery.fullscreen' => array(
256 'scripts' => 'resources/jquery/jquery.fullscreen.js',
258 'jquery.getAttrs' => array(
259 'scripts' => 'resources/jquery/jquery.getAttrs.js',
260 'targets' => array( 'desktop', 'mobile' ),
262 'jquery.hidpi' => array(
263 'scripts' => 'resources/jquery/jquery.hidpi.js',
264 'targets' => array( 'desktop', 'mobile' ),
266 'jquery.highlightText' => array(
267 'scripts' => 'resources/jquery/jquery.highlightText.js',
268 'dependencies' => 'jquery.mwExtension',
269 'targets' => array( 'desktop', 'mobile' ),
271 'jquery.hoverIntent' => array(
272 'scripts' => 'resources/jquery/jquery.hoverIntent.js',
274 'jquery.json' => array(
275 'scripts' => 'resources/jquery/jquery.json.js',
276 'targets' => array( 'mobile', 'desktop' ),
278 'jquery.localize' => array(
279 'scripts' => 'resources/jquery/jquery.localize.js',
281 'jquery.makeCollapsible' => array(
282 'scripts' => 'resources/jquery/jquery.makeCollapsible.js',
283 'styles' => 'resources/jquery/jquery.makeCollapsible.css',
284 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
285 'targets' => array( 'desktop', 'mobile' ),
287 'jquery.mockjax' => array(
288 'scripts' => 'resources/jquery/jquery.mockjax.js',
290 'jquery.mw-jump' => array(
291 'scripts' => 'resources/jquery/jquery.mw-jump.js',
292 'targets' => array( 'desktop', 'mobile' ),
294 'jquery.mwExtension' => array(
295 'scripts' => 'resources/jquery/jquery.mwExtension.js',
296 'targets' => array( 'desktop', 'mobile' ),
298 'jquery.placeholder' => array(
299 'scripts' => 'resources/jquery/jquery.placeholder.js',
300 'targets' => array( 'desktop', 'mobile' ),
302 'jquery.qunit' => array(
303 'scripts' => 'resources/jquery/jquery.qunit.js',
304 'styles' => 'resources/jquery/jquery.qunit.css',
306 'targets' => array( 'desktop', 'mobile' ),
308 'jquery.qunit.completenessTest' => array(
309 'scripts' => 'resources/jquery/jquery.qunit.completenessTest.js',
310 'dependencies' => 'jquery.qunit',
311 'targets' => array( 'desktop', 'mobile' ),
313 'jquery.spinner' => array(
314 'scripts' => 'resources/jquery/jquery.spinner.js',
315 'styles' => 'resources/jquery/jquery.spinner.css',
317 'jquery.jStorage' => array(
318 'scripts' => 'resources/jquery/jquery.jStorage.js',
319 'dependencies' => 'jquery.json',
321 'jquery.suggestions' => array(
322 'scripts' => 'resources/jquery/jquery.suggestions.js',
323 'styles' => 'resources/jquery/jquery.suggestions.css',
324 'dependencies' => 'jquery.autoEllipsis',
326 'jquery.tabIndex' => array(
327 'scripts' => 'resources/jquery/jquery.tabIndex.js',
329 'jquery.tablesorter' => array(
330 'scripts' => 'resources/jquery/jquery.tablesorter.js',
331 'styles' => 'resources/jquery/jquery.tablesorter.css',
332 'messages' => array( 'sort-descending', 'sort-ascending' ),
333 'dependencies' => array(
334 'jquery.mwExtension',
335 'mediawiki.language.months',
338 'jquery.textSelection' => array(
339 'scripts' => 'resources/jquery/jquery.textSelection.js',
340 'dependencies' => 'jquery.client',
342 'jquery.validate' => array(
343 'scripts' => 'resources/jquery/jquery.validate.js',
345 'jquery.xmldom' => array(
346 'scripts' => 'resources/jquery/jquery.xmldom.js',
351 'jquery.tipsy' => array(
352 'scripts' => 'resources/jquery.tipsy/jquery.tipsy.js',
353 'styles' => 'resources/jquery.tipsy/jquery.tipsy.css',
359 'jquery.ui.core' => array(
360 'scripts' => 'resources/jquery.ui/jquery.ui.core.js',
361 'skinStyles' => array(
363 'resources/jquery.ui/themes/default/jquery.ui.core.css',
364 'resources/jquery.ui/themes/default/jquery.ui.theme.css',
367 'resources/jquery.ui/themes/vector/jquery.ui.core.css',
368 'resources/jquery.ui/themes/vector/jquery.ui.theme.css',
371 'dependencies' => 'jquery',
372 'group' => 'jquery.ui',
374 'jquery.ui.widget' => array(
375 'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
376 'group' => 'jquery.ui',
378 'jquery.ui.mouse' => array(
379 'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
380 'dependencies' => 'jquery.ui.widget',
381 'group' => 'jquery.ui',
383 'jquery.ui.position' => array(
384 'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
385 'group' => 'jquery.ui',
388 'jquery.ui.draggable' => array(
389 'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
390 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
391 'group' => 'jquery.ui',
393 'jquery.ui.droppable' => array(
394 'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
395 'dependencies' => array(
396 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
398 'group' => 'jquery.ui',
400 'jquery.ui.resizable' => array(
401 'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
402 'skinStyles' => array(
403 'default' => 'resources/jquery.ui/themes/default/jquery.ui.resizable.css',
404 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
406 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
407 'group' => 'jquery.ui',
409 'jquery.ui.selectable' => array(
410 'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
411 'skinStyles' => array(
412 'default' => 'resources/jquery.ui/themes/default/jquery.ui.selectable.css',
413 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
415 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
416 'group' => 'jquery.ui',
418 'jquery.ui.sortable' => array(
419 'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
420 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
421 'group' => 'jquery.ui',
424 'jquery.ui.accordion' => array(
425 'scripts' => 'resources/jquery.ui/jquery.ui.accordion.js',
426 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
427 'skinStyles' => array(
428 'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
429 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
431 'group' => 'jquery.ui',
433 'jquery.ui.autocomplete' => array(
434 'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
435 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
436 'skinStyles' => array(
437 'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
438 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
440 'group' => 'jquery.ui',
442 'jquery.ui.button' => array(
443 'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
444 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
445 'skinStyles' => array(
446 'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
447 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
449 'group' => 'jquery.ui',
451 'jquery.ui.datepicker' => array(
452 'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
453 'dependencies' => 'jquery.ui.core',
454 'skinStyles' => array(
455 'default' => 'resources/jquery.ui/themes/default/jquery.ui.datepicker.css',
456 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.datepicker.css',
458 'languageScripts' => array(
459 'af' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-af.js',
460 'ar' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
461 'az' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-az.js',
462 'bg' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
463 'bs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
464 'ca' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
465 'cs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
466 'da' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-da.js',
467 'de' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-de.js',
468 'el' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-el.js',
469 'en-gb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
470 'eo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
471 'es' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-es.js',
472 'et' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-et.js',
473 'eu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
474 'fa' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
475 'fi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
476 'fo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
477 'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
478 'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
479 'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
480 'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
481 'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
482 'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
483 'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
484 'id' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-id.js',
485 'is' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-is.js',
486 'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
487 'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
488 'ka' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
489 'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
490 'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
491 'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
492 'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
493 'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
494 'lv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
495 'mk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
496 'ml' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
497 'ms' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
498 'nl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
499 'no' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-no.js',
500 'pl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
501 'pt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
502 'pt-br' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
503 'rm' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
504 'ro' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
505 'ru' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
506 'sk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
507 'sl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
508 'sq' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
509 'sr-sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
510 'sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
511 'sv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
512 'ta' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
513 'th' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-th.js',
514 'tr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
515 'uk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
516 'vi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
517 'zh-cn' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
518 'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
519 'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
521 'group' => 'jquery.ui',
523 'jquery.ui.dialog' => array(
524 'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
525 'dependencies' => array(
529 'jquery.ui.draggable',
531 'jquery.ui.position',
532 'jquery.ui.resizable',
534 'skinStyles' => array(
535 'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
536 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
538 'group' => 'jquery.ui',
540 'jquery.ui.progressbar' => array(
541 'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
542 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
543 'skinStyles' => array(
544 'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
545 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
547 'group' => 'jquery.ui',
549 'jquery.ui.slider' => array(
550 'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
551 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
552 'skinStyles' => array(
553 'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
554 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
556 'group' => 'jquery.ui',
558 'jquery.ui.tabs' => array(
559 'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
560 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
561 'skinStyles' => array(
562 'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
563 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
565 'group' => 'jquery.ui',
568 'jquery.effects.core' => array(
569 'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
570 'dependencies' => 'jquery',
571 'group' => 'jquery.ui',
573 'jquery.effects.blind' => array(
574 'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
575 'dependencies' => 'jquery.effects.core',
576 'group' => 'jquery.ui',
578 'jquery.effects.bounce' => array(
579 'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
580 'dependencies' => 'jquery.effects.core',
581 'group' => 'jquery.ui',
583 'jquery.effects.clip' => array(
584 'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
585 'dependencies' => 'jquery.effects.core',
586 'group' => 'jquery.ui',
588 'jquery.effects.drop' => array(
589 'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
590 'dependencies' => 'jquery.effects.core',
591 'group' => 'jquery.ui',
593 'jquery.effects.explode' => array(
594 'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
595 'dependencies' => 'jquery.effects.core',
596 'group' => 'jquery.ui',
598 'jquery.effects.fade' => array(
599 'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
600 'dependencies' => 'jquery.effects.core',
601 'group' => 'jquery.ui',
603 'jquery.effects.fold' => array(
604 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
605 'dependencies' => 'jquery.effects.core',
606 'group' => 'jquery.ui',
608 'jquery.effects.highlight' => array(
609 'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
610 'dependencies' => 'jquery.effects.core',
611 'group' => 'jquery.ui',
613 'jquery.effects.pulsate' => array(
614 'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
615 'dependencies' => 'jquery.effects.core',
616 'group' => 'jquery.ui',
618 'jquery.effects.scale' => array(
619 'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
620 'dependencies' => 'jquery.effects.core',
621 'group' => 'jquery.ui',
623 'jquery.effects.shake' => array(
624 'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
625 'dependencies' => 'jquery.effects.core',
626 'group' => 'jquery.ui',
628 'jquery.effects.slide' => array(
629 'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
630 'dependencies' => 'jquery.effects.core',
631 'group' => 'jquery.ui',
633 'jquery.effects.transfer' => array(
634 'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
635 'dependencies' => 'jquery.effects.core',
636 'group' => 'jquery.ui',
641 'mediawiki' => array(
642 'scripts' => 'resources/mediawiki/mediawiki.js',
643 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
645 'targets' => array( 'desktop', 'mobile' ),
647 'mediawiki.api' => array(
648 'scripts' => 'resources/mediawiki.api/mediawiki.api.js',
649 'dependencies' => 'mediawiki.util',
650 'targets' => array( 'desktop', 'mobile' ),
652 'mediawiki.api.category' => array(
653 'scripts' => 'resources/mediawiki.api/mediawiki.api.category.js',
654 'dependencies' => array(
659 'mediawiki.api.edit' => array(
660 'scripts' => 'resources/mediawiki.api/mediawiki.api.edit.js',
661 'dependencies' => array(
666 'mediawiki.api.login' => array(
667 'scripts' => 'resources/mediawiki.api/mediawiki.api.login.js',
668 'dependencies' => array(
672 'mediawiki.api.parse' => array(
673 'scripts' => 'resources/mediawiki.api/mediawiki.api.parse.js',
674 'dependencies' => 'mediawiki.api',
676 'mediawiki.api.watch' => array(
677 'scripts' => 'resources/mediawiki.api/mediawiki.api.watch.js',
678 'dependencies' => array(
683 'mediawiki.debug' => array(
684 'scripts' => 'resources/mediawiki/mediawiki.debug.js',
685 'styles' => 'resources/mediawiki/mediawiki.debug.css',
686 'dependencies' => 'jquery.footHovzer',
687 'position' => 'bottom',
689 'mediawiki.debug.init' => array(
690 'scripts' => 'resources/mediawiki/mediawiki.debug.init.js',
691 'dependencies' => 'mediawiki.debug',
692 // Uses a custom mw.config variable that is set in debughtml,
693 // must be loaded on the bottom
694 'position' => 'bottom',
696 'mediawiki.feedback' => array(
697 'scripts' => 'resources/mediawiki/mediawiki.feedback.js',
698 'styles' => 'resources/mediawiki/mediawiki.feedback.css',
699 'dependencies' => array(
700 'mediawiki.api.edit',
702 'mediawiki.jqueryMsg',
706 'feedback-bugornote',
721 'mediawiki.hidpi' => array(
722 'scripts' => 'resources/mediawiki/mediawiki.hidpi.js',
723 'dependencies' => array(
726 'targets' => array( 'desktop', 'mobile' ),
728 'mediawiki.hlist' => array(
729 'styles' => 'resources/mediawiki/mediawiki.hlist.css',
730 'scripts' => 'resources/mediawiki/mediawiki.hlist.js',
731 'dependencies' => array(
735 'mediawiki.htmlform' => array(
736 'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
737 'messages' => array( 'htmlform-chosen-placeholder' ),
739 'mediawiki.icon' => array(
740 'styles' => 'resources/mediawiki/mediawiki.icon.less',
742 'mediawiki.inspect' => array(
743 'scripts' => 'resources/mediawiki/mediawiki.inspect.js',
744 'dependencies' => array(
748 'targets' => array( 'desktop', 'mobile' ),
750 'mediawiki.notification' => array(
752 'resources/mediawiki/mediawiki.notification.css',
753 'resources/mediawiki/mediawiki.notification.hideForPrint.css' => array( 'media' => 'print' ),
755 'scripts' => 'resources/mediawiki/mediawiki.notification.js',
756 'dependencies' => array(
757 'mediawiki.page.startup',
759 'targets' => array( 'desktop', 'mobile' ),
761 'mediawiki.notify' => array(
762 'scripts' => 'resources/mediawiki/mediawiki.notify.js',
763 'targets' => array( 'desktop', 'mobile' ),
765 'mediawiki.searchSuggest' => array(
766 'scripts' => 'resources/mediawiki/mediawiki.searchSuggest.js',
767 'styles' => 'resources/mediawiki/mediawiki.searchSuggest.css',
769 'searchsuggest-search',
770 'searchsuggest-containing',
772 'dependencies' => array(
773 'jquery.autoEllipsis',
775 'jquery.placeholder',
776 'jquery.suggestions',
780 'mediawiki.Title' => array(
781 'scripts' => 'resources/mediawiki/mediawiki.Title.js',
782 'dependencies' => array(
786 'targets' => array( 'desktop', 'mobile' ),
788 'mediawiki.toc' => array(
789 'scripts' => 'resources/mediawiki/mediawiki.toc.js',
790 'dependencies' => array(
793 'messages' => array( 'showtoc', 'hidetoc' ),
794 'targets' => array( 'desktop', 'mobile' ),
796 'mediawiki.Uri' => array(
797 'scripts' => 'resources/mediawiki/mediawiki.Uri.js',
798 'targets' => array( 'desktop', 'mobile' ),
800 'mediawiki.user' => array(
801 'scripts' => 'resources/mediawiki/mediawiki.user.js',
802 'dependencies' => array(
808 'targets' => array( 'desktop', 'mobile' ),
810 'mediawiki.util' => array(
811 'scripts' => 'resources/mediawiki/mediawiki.util.js',
812 'dependencies' => array(
814 'jquery.mwExtension',
818 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
819 'targets' => array( 'desktop', 'mobile' ),
822 /* MediaWiki Action */
824 'mediawiki.action.edit' => array(
825 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js',
826 'dependencies' => array(
827 'mediawiki.action.edit.styles',
828 'jquery.textSelection',
833 'mediawiki.action.edit.styles' => array(
834 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.styles.css',
837 'mediawiki.action.edit.collapsibleFooter' => array(
838 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
839 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
840 'dependencies' => array(
841 'jquery.makeCollapsible',
846 'mediawiki.action.edit.preview' => array(
847 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.preview.js',
848 'dependencies' => array(
851 'mediawiki.action.history.diff',
854 'mediawiki.action.history' => array(
855 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
856 'group' => 'mediawiki.action.history',
858 'mediawiki.action.history.diff' => array(
859 'styles' => 'resources/mediawiki.action/mediawiki.action.history.diff.css',
860 'group' => 'mediawiki.action.history',
861 'targets' => array( 'desktop', 'mobile' ),
863 'mediawiki.action.view.dblClickEdit' => array(
864 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
865 'dependencies' => array(
867 'mediawiki.page.startup',
870 'mediawiki.action.view.metadata' => array(
871 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.metadata.js',
877 'mediawiki.action.view.postEdit' => array(
878 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.js',
879 'styles' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.css',
880 'dependencies' => array(
882 'mediawiki.jqueryMsg'
885 'postedit-confirmation',
888 'mediawiki.action.view.redirectToFragment' => array(
889 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.redirectToFragment.js',
890 'dependencies' => array(
895 'mediawiki.action.view.rightClickEdit' => array(
896 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
898 'mediawiki.action.edit.editWarning' => array(
899 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.editWarning.js',
901 'editwarning-warning',
904 // Alias for backwards compatibility
905 'mediawiki.action.watch.ajax' => array(
906 'dependencies' => 'mediawiki.page.watch.ajax'
909 /* MediaWiki Language */
911 'mediawiki.language' => array(
913 'resources/mediawiki.language/mediawiki.language.js',
914 'resources/mediawiki.language/mediawiki.language.numbers.js'
916 'languageScripts' => array(
917 'bs' => 'resources/mediawiki.language/languages/bs.js',
918 'dsb' => 'resources/mediawiki.language/languages/dsb.js',
919 'fi' => 'resources/mediawiki.language/languages/fi.js',
920 'ga' => 'resources/mediawiki.language/languages/ga.js',
921 'he' => 'resources/mediawiki.language/languages/he.js',
922 'hsb' => 'resources/mediawiki.language/languages/hsb.js',
923 'hu' => 'resources/mediawiki.language/languages/hu.js',
924 'hy' => 'resources/mediawiki.language/languages/hy.js',
925 'la' => 'resources/mediawiki.language/languages/la.js',
926 'os' => 'resources/mediawiki.language/languages/os.js',
927 'ru' => 'resources/mediawiki.language/languages/ru.js',
928 'sl' => 'resources/mediawiki.language/languages/sl.js',
929 'uk' => 'resources/mediawiki.language/languages/uk.js',
931 'dependencies' => array(
932 'mediawiki.language.data',
935 'targets' => array( 'desktop', 'mobile' ),
938 'mediawiki.cldr' => array(
939 'scripts' => 'resources/mediawiki.language/mediawiki.cldr.js',
940 'dependencies' => array(
941 'mediawiki.libs.pluralruleparser',
943 'targets' => array( 'desktop', 'mobile' ),
946 'mediawiki.libs.pluralruleparser' => array(
947 'scripts' => 'resources/mediawiki.libs/CLDRPluralRuleParser.js',
948 'targets' => array( 'desktop', 'mobile' ),
951 'mediawiki.language.init' => array(
952 'scripts' => 'resources/mediawiki.language/mediawiki.language.init.js',
953 'targets' => array( 'desktop', 'mobile' ),
956 'mediawiki.jqueryMsg' => array(
957 'scripts' => 'resources/mediawiki/mediawiki.jqueryMsg.js',
958 'dependencies' => array(
960 'mediawiki.language',
962 'targets' => array( 'desktop', 'mobile' ),
965 'mediawiki.language.months' => array(
966 'scripts' => 'resources/mediawiki.language/mediawiki.language.months.js',
967 'dependencies' => 'mediawiki.language',
968 'messages' => array_merge(
969 Language
::$mMonthMsgs,
970 Language
::$mMonthGenMsgs,
971 Language
::$mMonthAbbrevMsgs
977 'mediawiki.libs.jpegmeta' => array(
978 'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
983 'mediawiki.page.gallery' => array(
984 'scripts' => 'resources/mediawiki.page/mediawiki.page.gallery.js',
986 'mediawiki.page.ready' => array(
987 'scripts' => 'resources/mediawiki.page/mediawiki.page.ready.js',
988 'dependencies' => array(
989 'jquery.checkboxShiftClick',
990 'jquery.makeCollapsible',
991 'jquery.placeholder',
995 'targets' => array( 'desktop', 'mobile' ),
997 'mediawiki.page.startup' => array(
998 'scripts' => 'resources/mediawiki.page/mediawiki.page.startup.js',
999 'dependencies' => array(
1003 'position' => 'top',
1004 'targets' => array( 'desktop', 'mobile' ),
1006 'mediawiki.page.patrol.ajax' => array(
1007 'scripts' => 'resources/mediawiki.page/mediawiki.page.patrol.ajax.js',
1008 'dependencies' => array(
1009 'mediawiki.page.startup',
1017 'messages' => array(
1018 'markedaspatrollednotify',
1019 'markedaspatrollederrornotify',
1020 'markedaspatrollederror-noautopatrol'
1023 'mediawiki.page.watch.ajax' => array(
1024 'scripts' => 'resources/mediawiki.page/mediawiki.page.watch.ajax.js',
1025 'dependencies' => array(
1026 'mediawiki.page.startup',
1027 'mediawiki.api.watch',
1030 'jquery.mwExtension',
1032 'messages' => array(
1038 'tooltip-ca-unwatch',
1042 'mediawiki.page.image.pagination' => array(
1043 'scripts' => 'resources/mediawiki.page/mediawiki.page.image.pagination.js',
1044 'dependencies' => array( 'jquery.spinner' )
1047 /* MediaWiki Special pages */
1049 'mediawiki.special' => array(
1050 'scripts' => 'resources/mediawiki.special/mediawiki.special.js',
1051 'styles' => 'resources/mediawiki.special/mediawiki.special.css',
1053 'mediawiki.special.block' => array(
1054 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
1055 'styles' => 'resources/mediawiki.special/mediawiki.special.block.css',
1056 'dependencies' => array(
1060 'mediawiki.special.changeemail' => array(
1061 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js',
1062 'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css',
1063 'dependencies' => array(
1066 'messages' => array(
1067 'email-address-validity-valid',
1068 'email-address-validity-invalid',
1071 'mediawiki.special.changeslist' => array(
1072 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css',
1074 'mediawiki.special.changeslist.legend' => array(
1075 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.legend.css',
1077 'mediawiki.special.changeslist.legend.js' => array(
1078 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeslist.legend.js',
1079 'dependencies' => array(
1080 'jquery.makeCollapsible',
1084 'mediawiki.special.changeslist.enhanced' => array(
1085 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1087 'mediawiki.special.movePage' => array(
1088 'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
1089 'dependencies' => 'jquery.byteLimit',
1091 'mediawiki.special.pagesWithProp' => array(
1092 'styles' => 'resources/mediawiki.special/mediawiki.special.pagesWithProp.css',
1094 'mediawiki.special.preferences' => array(
1095 'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js',
1096 'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css',
1097 'position' => 'top',
1098 'skinStyles' => array(
1099 'vector' => 'skins/vector/special.preferences.less',
1101 'messages' => array(
1102 'prefs-tabs-navigation-hint',
1104 'dependencies' => array(
1105 'mediawiki.language',
1108 'mediawiki.special.recentchanges' => array(
1109 'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js',
1110 'dependencies' => array( 'mediawiki.special' ),
1111 'position' => 'top',
1113 'mediawiki.special.search' => array(
1114 'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js',
1115 'styles' => 'resources/mediawiki.special/mediawiki.special.search.css',
1116 'messages' => array(
1117 'powersearch-togglelabel',
1118 'powersearch-toggleall',
1119 'powersearch-togglenone',
1122 'mediawiki.special.undelete' => array(
1123 'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
1125 'mediawiki.special.upload' => array(
1126 // @todo merge in remainder of mediawiki.legacy.upload
1127 'scripts' => 'resources/mediawiki.special/mediawiki.special.upload.js',
1128 'messages' => array(
1136 'dependencies' => array(
1137 'mediawiki.libs.jpegmeta',
1141 'mediawiki.special.userlogin.common.styles' => array(
1143 'resources/mediawiki.special/mediawiki.special.userlogin.common.css',
1145 'position' => 'top',
1147 'mediawiki.special.userlogin.signup.styles' => array(
1149 'resources/mediawiki.special/mediawiki.special.userlogin.signup.css',
1151 'position' => 'top',
1153 'mediawiki.special.userlogin.login.styles' => array(
1155 'resources/mediawiki.special/mediawiki.special.userlogin.login.css',
1157 'position' => 'top',
1159 'mediawiki.special.userlogin.common.js' => array(
1161 'resources/mediawiki.special/mediawiki.special.userlogin.common.js',
1163 'messages' => array(
1164 'createacct-captcha',
1165 'createacct-imgcaptcha-ph',
1168 'mediawiki.special.userlogin.signup.js' => array(
1169 'scripts' => 'resources/mediawiki.special/mediawiki.special.userlogin.signup.js',
1170 'messages' => array(
1171 'createacct-emailrequired',
1173 'dependencies' => 'mediawiki.jqueryMsg',
1175 'mediawiki.special.javaScriptTest' => array(
1176 'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
1177 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1179 'javascripttest-pagetext-skins',
1181 'dependencies' => array( 'jquery.qunit' ),
1182 'position' => 'top',
1183 'targets' => array( 'desktop', 'mobile' ),
1185 'mediawiki.special.version' => array(
1186 'styles' => 'resources/mediawiki.special/mediawiki.special.version.css',
1189 /* MediaWiki Legacy */
1191 'mediawiki.legacy.ajax' => array(
1192 'scripts' => 'common/ajax.js',
1193 'remoteBasePath' => $GLOBALS['wgStylePath'],
1194 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1195 'dependencies' => array(
1197 'mediawiki.legacy.wikibits',
1199 'position' => 'top', // Temporary hack for legacy support
1201 'mediawiki.legacy.commonPrint' => array(
1202 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
1203 'remoteBasePath' => $GLOBALS['wgStylePath'],
1204 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1206 'mediawiki.legacy.config' => array(
1207 // Used in the web installer. Test it after modifying this definition!
1208 'scripts' => 'common/config.js',
1209 'styles' => array( 'common/config.css' ),
1210 'remoteBasePath' => $GLOBALS['wgStylePath'],
1211 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1212 'dependencies' => 'mediawiki.legacy.wikibits',
1214 'mediawiki.legacy.protect' => array(
1215 'scripts' => 'common/protect.js',
1216 'remoteBasePath' => $GLOBALS['wgStylePath'],
1217 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1218 'dependencies' => array(
1221 'position' => 'top',
1223 'mediawiki.legacy.shared' => array(
1224 // Used in the web installer. Test it after modifying this definition!
1225 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
1226 'remoteBasePath' => $GLOBALS['wgStylePath'],
1227 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1229 'mediawiki.legacy.oldshared' => array(
1230 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
1231 'remoteBasePath' => $GLOBALS['wgStylePath'],
1232 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1234 'mediawiki.legacy.upload' => array(
1235 'scripts' => 'common/upload.js',
1236 'remoteBasePath' => $GLOBALS['wgStylePath'],
1237 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1238 'dependencies' => array(
1245 'mediawiki.legacy.wikibits' => array(
1246 'scripts' => 'common/wikibits.js',
1247 'remoteBasePath' => $GLOBALS['wgStylePath'],
1248 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1249 'dependencies' => array(
1252 'position' => 'top',
1254 'mediawiki.ui' => array(
1255 'skinStyles' => array(
1256 'default' => 'resources/mediawiki.ui/default.less',
1257 'vector' => 'resources/mediawiki.ui/vector.less',
1259 'position' => 'top',
1260 'targets' => array( 'desktop', 'mobile' ),
1262 // Lightweight module for button styles
1263 'mediawiki.ui.button' => array(
1264 'skinStyles' => array(
1265 'default' => 'resources/mediawiki.ui/components/default/buttons.less',
1266 'vector' => 'resources/mediawiki.ui/components/vector/buttons.less',
1268 'position' => 'top',
1269 'targets' => array( 'desktop', 'mobile' ),
1273 // WARNING: OOjs and OOjs-UI are NOT COMPATIBLE with older browsers and
1274 // WILL BREAK if loaded in browsers that don't support ES5
1277 'resources/oojs/oojs.js',
1279 'targets' => array( 'desktop', 'mobile' ),
1284 'resources/oojs-ui/oojs-ui.js',
1287 'resources/oojs-ui/oojs-ui.svg.css',
1289 'messages' => array(
1290 'ooui-dialog-action-close',
1291 'ooui-outline-control-move-down',
1292 'ooui-outline-control-move-up',
1293 'ooui-toolbar-more',
1295 'dependencies' => array(
1298 'targets' => array( 'desktop', 'mobile' ),