SearchResultSet: remove hasResults(), unused
[mediawiki.git] / resources / Resources.php
blob93415a5b92e5fa41084fa019d071add7c8474b20
1 <?php
2 /**
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
20 * @file
23 if ( !defined( 'MEDIAWIKI' ) ) {
24 die( 'Not an entry point.' );
27 return array(
29 /**
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 */
55 /**
56 * Common skin styles, grouped into three graded levels.
58 * Level 1 "elements":
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.
64 * Level 2 "content":
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
70 * implementation.
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(
85 'styles' => array(
86 'commonElements.css' => array( 'media' => 'screen' ),
88 'remoteSkinPath' => 'common',
89 'localBasePath' => $GLOBALS['wgStyleDirectory'] . '/common',
91 'mediawiki.skinning.content' => array(
92 'styles' => 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!
101 'styles' => array(
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' ),
122 * Skins
123 * Be careful not to add 'scripts' to these modules,
124 * since they are loaded with OutputPage::addModuleStyles so that the skin styles
125 * apply without javascript.
126 * If a skin needs custom js in the interface, register a separate module
127 * and add it to the load queue with OutputPage::addModules.
129 * See Vector for an example.
131 'skins.vector.styles' => array(
132 // Used in the web installer. Test it after modifying this definition!
133 'styles' => array(
134 'screen.less' => array( 'media' => 'screen' ),
135 'screen-hd.less' => array( 'media' => 'screen and (min-width: 982px)' ),
137 'remoteSkinPath' => 'vector',
138 'localBasePath' => $GLOBALS['wgStyleDirectory'] . '/vector',
140 'skins.monobook.styles' => array(
141 'styles' => array(
142 'main.css' => array( 'media' => 'screen' ),
144 'remoteSkinPath' => 'monobook',
145 'localBasePath' => $GLOBALS['wgStyleDirectory'] . '/monobook',
147 'skins.vector.js' => array(
148 'scripts' => array(
149 'collapsibleTabs.js',
150 'vector.js',
152 'position' => 'top',
153 'dependencies' => array(
154 'jquery.throttle-debounce',
155 'jquery.tabIndex',
157 'remoteSkinPath' => 'vector',
158 'localBasePath' => $GLOBALS['wgStyleDirectory'] . '/vector',
161 /* jQuery */
163 'jquery' => array(
164 'scripts' => ( $GLOBALS['wgIncludejQueryMigrate'] ?
165 array(
166 'resources/lib/jquery/jquery.js',
167 'resources/lib/jquery/jquery.migrate.js'
169 array(
170 'resources/lib/jquery/jquery.js'
171 ) ),
172 'debugRaw' => false,
173 'targets' => array( 'desktop', 'mobile' ),
176 /* jQuery Plugins */
178 'jquery.accessKeyLabel' => array(
179 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
180 'dependencies' => array(
181 'jquery.client',
182 'jquery.mwExtension',
184 'messages' => array( 'brackets', 'word-separator' ),
185 'targets' => array( 'mobile', 'desktop' ),
187 'jquery.appear' => array(
188 'scripts' => 'resources/lib/jquery/jquery.appear.js',
190 'jquery.arrowSteps' => array(
191 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
192 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
194 'jquery.async' => array(
195 'scripts' => 'resources/lib/jquery/jquery.async.js',
197 'jquery.autoEllipsis' => array(
198 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
199 'dependencies' => 'jquery.highlightText',
200 'targets' => array( 'desktop', 'mobile' ),
202 'jquery.badge' => array(
203 'scripts' => 'resources/src/jquery/jquery.badge.js',
204 'styles' => 'resources/src/jquery/jquery.badge.css',
205 'dependencies' => 'mediawiki.language',
207 'jquery.byteLength' => array(
208 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
209 'targets' => array( 'desktop', 'mobile' ),
211 'jquery.byteLimit' => array(
212 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
213 'dependencies' => 'jquery.byteLength',
214 'targets' => array( 'desktop', 'mobile' ),
216 'jquery.checkboxShiftClick' => array(
217 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
218 'targets' => array( 'desktop', 'mobile' ),
220 'jquery.chosen' => array(
221 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
222 'styles' => 'resources/lib/jquery.chosen/chosen.css',
224 'jquery.client' => array(
225 'scripts' => 'resources/src/jquery/jquery.client.js',
226 'targets' => array( 'desktop', 'mobile' ),
228 'jquery.color' => array(
229 'scripts' => 'resources/src/jquery/jquery.color.js',
230 'dependencies' => 'jquery.colorUtil',
232 'jquery.colorUtil' => array(
233 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
235 // Use mediawiki.cookie in new code, rather than jquery.cookie.
236 'jquery.cookie' => array(
237 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
238 'targets' => array( 'desktop', 'mobile' ),
240 'jquery.expandableField' => array(
241 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
243 'jquery.farbtastic' => array(
244 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
245 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
246 'dependencies' => 'jquery.colorUtil',
248 'jquery.footHovzer' => array(
249 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
250 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
252 'jquery.form' => array(
253 'scripts' => 'resources/lib/jquery/jquery.form.js',
255 'jquery.fullscreen' => array(
256 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
258 'jquery.getAttrs' => array(
259 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
260 'targets' => array( 'desktop', 'mobile' ),
262 'jquery.hidpi' => array(
263 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
264 'targets' => array( 'desktop', 'mobile' ),
266 'jquery.highlightText' => array(
267 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
268 'dependencies' => 'jquery.mwExtension',
269 'targets' => array( 'desktop', 'mobile' ),
271 'jquery.hoverIntent' => array(
272 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
274 'jquery.json' => array(
275 'scripts' => 'resources/lib/jquery/jquery.json.js',
276 'targets' => array( 'mobile', 'desktop' ),
278 'jquery.localize' => array(
279 'scripts' => 'resources/src/jquery/jquery.localize.js',
281 'jquery.makeCollapsible' => array(
282 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
283 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
284 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
285 'targets' => array( 'desktop', 'mobile' ),
287 'jquery.mockjax' => array(
288 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
290 'jquery.mw-jump' => array(
291 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
292 'targets' => array( 'desktop', 'mobile' ),
294 'jquery.mwExtension' => array(
295 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
296 'targets' => array( 'desktop', 'mobile' ),
298 'jquery.placeholder' => array(
299 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
300 'targets' => array( 'desktop', 'mobile' ),
302 'jquery.qunit' => array(
303 'scripts' => 'resources/lib/jquery/jquery.qunit.js',
304 'styles' => 'resources/lib/jquery/jquery.qunit.css',
305 'position' => 'top',
306 'targets' => array( 'desktop', 'mobile' ),
308 'jquery.qunit.completenessTest' => array(
309 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
310 'dependencies' => 'jquery.qunit',
311 'targets' => array( 'desktop', 'mobile' ),
313 'jquery.spinner' => array(
314 'scripts' => 'resources/src/jquery/jquery.spinner.js',
315 'styles' => 'resources/src/jquery/jquery.spinner.css',
317 'jquery.jStorage' => array(
318 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
319 'dependencies' => 'jquery.json',
321 'jquery.suggestions' => array(
322 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
323 'styles' => 'resources/src/jquery/jquery.suggestions.css',
324 'dependencies' => 'jquery.highlightText',
326 'jquery.tabIndex' => array(
327 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
329 'jquery.tablesorter' => array(
330 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
331 'styles' => 'resources/src/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/src/jquery/jquery.textSelection.js',
340 'dependencies' => 'jquery.client',
342 'jquery.throttle-debounce' => array(
343 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
345 'jquery.validate' => array(
346 'scripts' => 'resources/lib/jquery/jquery.validate.js',
348 'jquery.xmldom' => array(
349 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
352 /* jQuery Tipsy */
354 'jquery.tipsy' => array(
355 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
356 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
359 /* jQuery UI */
361 'jquery.ui.core' => array(
362 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
363 'skinStyles' => array(
364 'default' => array(
365 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
366 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
368 'vector' => array(
369 'resources/src/jquery.ui-themes/vector/jquery.ui.core.css',
370 'resources/src/jquery.ui-themes/vector/jquery.ui.theme.css',
373 'group' => 'jquery.ui',
375 'jquery.ui.accordion' => array(
376 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
377 'dependencies' => array(
378 'jquery.ui.core',
379 'jquery.ui.widget',
381 'skinStyles' => array(
382 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
383 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.accordion.css',
385 'group' => 'jquery.ui',
387 'jquery.ui.autocomplete' => array(
388 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
389 'dependencies' => array(
390 'jquery.ui.core',
391 'jquery.ui.widget',
392 'jquery.ui.position',
393 'jquery.ui.menu',
395 'skinStyles' => array(
396 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
397 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.autocomplete.css',
399 'group' => 'jquery.ui',
401 'jquery.ui.button' => array(
402 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
403 'dependencies' => array(
404 'jquery.ui.core',
405 'jquery.ui.widget',
407 'skinStyles' => array(
408 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
409 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.button.css',
411 'group' => 'jquery.ui',
413 'jquery.ui.datepicker' => array(
414 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
415 'dependencies' => 'jquery.ui.core',
416 'skinStyles' => array(
417 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
418 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.datepicker.css',
420 'languageScripts' => array(
421 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
422 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
423 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
424 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
425 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
426 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
427 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
428 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
429 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
430 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
431 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
432 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
433 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
434 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
435 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
436 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
437 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
438 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
439 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
440 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
441 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
442 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
443 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
444 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
445 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
446 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
447 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
448 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
449 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
450 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
451 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
452 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
453 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
454 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
455 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
456 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
457 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
458 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
459 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
460 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
461 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
462 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
463 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
464 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
465 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
466 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
467 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
468 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
469 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
470 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
471 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
472 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
473 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
474 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
475 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
476 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
477 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
478 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
479 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
480 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
481 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
482 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
483 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
484 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
485 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
486 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
487 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
489 'group' => 'jquery.ui',
491 'jquery.ui.dialog' => array(
492 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
493 'dependencies' => array(
494 'jquery.ui.core',
495 'jquery.ui.widget',
496 'jquery.ui.button',
497 'jquery.ui.draggable',
498 'jquery.ui.mouse',
499 'jquery.ui.position',
500 'jquery.ui.resizable',
502 'skinStyles' => array(
503 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
504 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.dialog.css',
506 'group' => 'jquery.ui',
508 'jquery.ui.draggable' => array(
509 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
510 'dependencies' => array(
511 'jquery.ui.core',
512 'jquery.ui.mouse',
513 'jquery.ui.widget',
515 'group' => 'jquery.ui',
517 'jquery.ui.droppable' => array(
518 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
519 'dependencies' => array(
520 'jquery.ui.core',
521 'jquery.ui.mouse',
522 'jquery.ui.widget',
523 'jquery.ui.draggable',
525 'group' => 'jquery.ui',
527 'jquery.ui.menu' => array(
528 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
529 'dependencies' => array(
530 'jquery.ui.core',
531 'jquery.ui.widget',
532 'jquery.ui.position',
534 'skinStyles' => array(
535 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
537 'group' => 'jquery.ui',
539 'jquery.ui.mouse' => array(
540 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
541 'dependencies' => 'jquery.ui.widget',
542 'group' => 'jquery.ui',
544 'jquery.ui.position' => array(
545 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
546 'group' => 'jquery.ui',
548 'jquery.ui.progressbar' => array(
549 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
550 'dependencies' => array(
551 'jquery.ui.core',
552 'jquery.ui.widget',
554 'skinStyles' => array(
555 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
556 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.progressbar.css',
558 'group' => 'jquery.ui',
560 'jquery.ui.resizable' => array(
561 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
562 'dependencies' => array(
563 'jquery.ui.core',
564 'jquery.ui.widget',
565 'jquery.ui.mouse',
567 'skinStyles' => array(
568 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
569 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.resizable.css',
571 'group' => 'jquery.ui',
573 'jquery.ui.selectable' => array(
574 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
575 'dependencies' => array(
576 'jquery.ui.core',
577 'jquery.ui.widget',
578 'jquery.ui.mouse',
580 'skinStyles' => array(
581 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
582 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.selectable.css',
584 'group' => 'jquery.ui',
586 'jquery.ui.slider' => array(
587 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
588 'dependencies' => array(
589 'jquery.ui.core',
590 'jquery.ui.widget',
591 'jquery.ui.mouse',
593 'skinStyles' => array(
594 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
595 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.slider.css',
597 'group' => 'jquery.ui',
599 'jquery.ui.sortable' => array(
600 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
601 'dependencies' => array(
602 'jquery.ui.core',
603 'jquery.ui.mouse',
604 'jquery.ui.widget',
606 'group' => 'jquery.ui',
608 'jquery.ui.spinner' => array(
609 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
610 'dependencies' => array(
611 'jquery.ui.core',
612 'jquery.ui.widget',
613 'jquery.ui.button',
615 'skinStyles' => array(
616 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
618 'group' => 'jquery.ui',
620 'jquery.ui.tabs' => array(
621 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
622 'dependencies' => array(
623 'jquery.ui.core',
624 'jquery.ui.widget',
626 'skinStyles' => array(
627 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
628 'vector' => 'resources/src/jquery.ui-themes/vector/jquery.ui.tabs.css',
630 'group' => 'jquery.ui',
632 'jquery.ui.tooltip' => array(
633 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
634 'dependencies' => array(
635 'jquery.ui.core',
636 'jquery.ui.widget',
637 'jquery.ui.position',
639 'skinStyles' => array(
640 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
642 'group' => 'jquery.ui',
644 'jquery.ui.widget' => array(
645 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
646 'group' => 'jquery.ui',
648 // Effects
649 'jquery.effects.core' => array(
650 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
651 'group' => 'jquery.ui',
653 'jquery.effects.blind' => array(
654 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
655 'dependencies' => 'jquery.effects.core',
656 'group' => 'jquery.ui',
658 'jquery.effects.bounce' => array(
659 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
660 'dependencies' => 'jquery.effects.core',
661 'group' => 'jquery.ui',
663 'jquery.effects.clip' => array(
664 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
665 'dependencies' => 'jquery.effects.core',
666 'group' => 'jquery.ui',
668 'jquery.effects.drop' => array(
669 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
670 'dependencies' => 'jquery.effects.core',
671 'group' => 'jquery.ui',
673 'jquery.effects.explode' => array(
674 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
675 'dependencies' => 'jquery.effects.core',
676 'group' => 'jquery.ui',
678 'jquery.effects.fade' => array(
679 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
680 'dependencies' => 'jquery.effects.core',
681 'group' => 'jquery.ui',
683 'jquery.effects.fold' => array(
684 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
685 'dependencies' => 'jquery.effects.core',
686 'group' => 'jquery.ui',
688 'jquery.effects.highlight' => array(
689 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
690 'dependencies' => 'jquery.effects.core',
691 'group' => 'jquery.ui',
693 'jquery.effects.pulsate' => array(
694 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
695 'dependencies' => 'jquery.effects.core',
696 'group' => 'jquery.ui',
698 'jquery.effects.scale' => array(
699 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
700 'dependencies' => 'jquery.effects.core',
701 'group' => 'jquery.ui',
703 'jquery.effects.shake' => array(
704 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
705 'dependencies' => 'jquery.effects.core',
706 'group' => 'jquery.ui',
708 'jquery.effects.slide' => array(
709 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
710 'dependencies' => 'jquery.effects.core',
711 'group' => 'jquery.ui',
713 'jquery.effects.transfer' => array(
714 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
715 'dependencies' => 'jquery.effects.core',
716 'group' => 'jquery.ui',
719 /* Moment.js */
721 'moment' => array(
722 'scripts' => 'resources/lib/moment/moment.js',
723 'languageScripts' => array(
724 'ar-ma' => 'resources/lib/moment/lang/ar-ma.js',
725 'ar' => 'resources/lib/moment/lang/ar.js',
726 'bg' => 'resources/lib/moment/lang/bg.js',
727 'br' => 'resources/lib/moment/lang/br.js',
728 'bs' => 'resources/lib/moment/lang/bs.js',
729 'ca' => 'resources/lib/moment/lang/ca.js',
730 'cs' => 'resources/lib/moment/lang/cs.js',
731 'cv' => 'resources/lib/moment/lang/cv.js',
732 'cy' => 'resources/lib/moment/lang/cy.js',
733 'da' => 'resources/lib/moment/lang/da.js',
734 'de' => 'resources/lib/moment/lang/de.js',
735 'el' => 'resources/lib/moment/lang/el.js',
736 'en-au' => 'resources/lib/moment/lang/en-au.js',
737 'en-ca' => 'resources/lib/moment/lang/en-ca.js',
738 'en-gb' => 'resources/lib/moment/lang/en-gb.js',
739 'eo' => 'resources/lib/moment/lang/eo.js',
740 'es' => 'resources/lib/moment/lang/es.js',
741 'et' => 'resources/lib/moment/lang/et.js',
742 'eu' => 'resources/lib/moment/lang/eu.js',
743 'fa' => 'resources/lib/moment/lang/fa.js',
744 'fi' => 'resources/lib/moment/lang/fi.js',
745 'fo' => 'resources/lib/moment/lang/fo.js',
746 'fr-ca' => 'resources/lib/moment/lang/fr-ca.js',
747 'fr' => 'resources/lib/moment/lang/fr.js',
748 'gl' => 'resources/lib/moment/lang/gl.js',
749 'he' => 'resources/lib/moment/lang/he.js',
750 'hi' => 'resources/lib/moment/lang/hi.js',
751 'hr' => 'resources/lib/moment/lang/hr.js',
752 'hu' => 'resources/lib/moment/lang/hu.js',
753 'hy-am' => 'resources/lib/moment/lang/hy-am.js',
754 'id' => 'resources/lib/moment/lang/id.js',
755 'is' => 'resources/lib/moment/lang/is.js',
756 'it' => 'resources/lib/moment/lang/it.js',
757 'ja' => 'resources/lib/moment/lang/ja.js',
758 'ka' => 'resources/lib/moment/lang/ka.js',
759 'ko' => 'resources/lib/moment/lang/ko.js',
760 'lt' => 'resources/lib/moment/lang/lt.js',
761 'lv' => 'resources/lib/moment/lang/lv.js',
762 'mk' => 'resources/lib/moment/lang/mk.js',
763 'ml' => 'resources/lib/moment/lang/ml.js',
764 'mr' => 'resources/lib/moment/lang/mr.js',
765 'ms-my' => 'resources/lib/moment/lang/ms-my.js',
766 'nb' => 'resources/lib/moment/lang/nb.js',
767 'ne' => 'resources/lib/moment/lang/ne.js',
768 'nl' => 'resources/lib/moment/lang/nl.js',
769 'nn' => 'resources/lib/moment/lang/nn.js',
770 'pl' => 'resources/lib/moment/lang/pl.js',
771 'pt-br' => 'resources/lib/moment/lang/pt-br.js',
772 'pt' => 'resources/lib/moment/lang/pt.js',
773 'ro' => 'resources/lib/moment/lang/ro.js',
774 'ru' => 'resources/lib/moment/lang/ru.js',
775 'sk' => 'resources/lib/moment/lang/sk.js',
776 'sl' => 'resources/lib/moment/lang/sl.js',
777 'sq' => 'resources/lib/moment/lang/sq.js',
778 'sr-el' => 'resources/lib/moment/lang/sr.js',
779 'sr-ec' => 'resources/lib/moment/lang/sr-cyr.js',
780 'sv' => 'resources/lib/moment/lang/sv.js',
781 'ta' => 'resources/lib/moment/lang/ta.js',
782 'th' => 'resources/lib/moment/lang/th.js',
783 'tl-ph' => 'resources/lib/moment/lang/tl-ph.js',
784 'tr' => 'resources/lib/moment/lang/tr.js',
785 'tzm-la' => 'resources/lib/moment/lang/tzm-la.js',
786 'tzm' => 'resources/lib/moment/lang/tzm.js',
787 'uk' => 'resources/lib/moment/lang/uk.js',
788 'uz' => 'resources/lib/moment/lang/uz.js',
789 'vi' => 'resources/lib/moment/lang/vi.js',
790 'zh-cn' => 'resources/lib/moment/lang/zh-cn.js',
791 'zh-tw' => 'resources/lib/moment/lang/zh-tw.js',
795 /* MediaWiki */
797 'mediawiki' => array(
798 'scripts' => 'resources/src/mediawiki/mediawiki.js',
799 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
800 'debugRaw' => false,
801 'targets' => array( 'desktop', 'mobile' ),
803 'mediawiki.api' => array(
804 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
805 'dependencies' => 'mediawiki.util',
806 'targets' => array( 'desktop', 'mobile' ),
808 'mediawiki.api.category' => array(
809 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
810 'dependencies' => array(
811 'mediawiki.api',
812 'mediawiki.Title',
815 'mediawiki.api.edit' => array(
816 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
817 'dependencies' => array(
818 'mediawiki.api',
819 'mediawiki.Title',
820 'user.tokens',
823 'mediawiki.api.login' => array(
824 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
825 'dependencies' => array(
826 'mediawiki.api',
829 'mediawiki.api.parse' => array(
830 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
831 'dependencies' => 'mediawiki.api',
833 'mediawiki.api.watch' => array(
834 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
835 'dependencies' => array(
836 'mediawiki.api',
837 'user.tokens',
840 'mediawiki.debug' => array(
841 'scripts' => array(
842 'resources/src/mediawiki/mediawiki.debug.js',
843 'resources/src/mediawiki/mediawiki.debug.profile.js'
845 'styles' => array(
846 'resources/src/mediawiki/mediawiki.debug.less',
847 'resources/src/mediawiki/mediawiki.debug.profile.css'
849 'dependencies' => array(
850 'jquery.footHovzer',
851 'jquery.tipsy',
853 'position' => 'bottom',
855 'mediawiki.debug.init' => array(
856 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
857 'dependencies' => 'mediawiki.debug',
858 // Uses a custom mw.config variable that is set in debughtml,
859 // must be loaded on the bottom
860 'position' => 'bottom',
862 'mediawiki.feedback' => array(
863 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
864 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
865 'dependencies' => array(
866 'mediawiki.api.edit',
867 'mediawiki.Title',
868 'mediawiki.jqueryMsg',
869 'jquery.ui.dialog',
871 'messages' => array(
872 'feedback-bugornote',
873 'feedback-subject',
874 'feedback-message',
875 'feedback-cancel',
876 'feedback-submit',
877 'feedback-adding',
878 'feedback-error1',
879 'feedback-error2',
880 'feedback-error3',
881 'feedback-thanks',
882 'feedback-close',
883 'feedback-bugcheck',
884 'feedback-bugnew',
887 'mediawiki.hidpi' => array(
888 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
889 'dependencies' => array(
890 'jquery.hidpi',
892 'targets' => array( 'desktop', 'mobile' ),
894 'mediawiki.hlist' => array(
895 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
896 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
897 'dependencies' => array(
898 'jquery.client',
901 'mediawiki.htmlform' => array(
902 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
903 'messages' => array( 'htmlform-chosen-placeholder' ),
905 'mediawiki.icon' => array(
906 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
908 'mediawiki.inspect' => array(
909 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
910 'dependencies' => array(
911 'jquery.byteLength',
912 'jquery.json',
914 'targets' => array( 'desktop', 'mobile' ),
916 'mediawiki.notification' => array(
917 'styles' => array(
918 'resources/src/mediawiki/mediawiki.notification.css',
919 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
920 => array( 'media' => 'print' ),
922 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
923 'dependencies' => array(
924 'mediawiki.page.startup',
926 'targets' => array( 'desktop', 'mobile' ),
928 'mediawiki.notify' => array(
929 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
930 'targets' => array( 'desktop', 'mobile' ),
932 'mediawiki.searchSuggest' => array(
933 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
934 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
935 'messages' => array(
936 'searchsuggest-search',
937 'searchsuggest-containing',
939 'dependencies' => array(
940 'jquery.client',
941 'jquery.placeholder',
942 'jquery.suggestions',
943 'mediawiki.api',
946 'mediawiki.Title' => array(
947 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
948 'dependencies' => array(
949 'jquery.byteLength',
950 'mediawiki.util',
952 'targets' => array( 'desktop', 'mobile' ),
954 'mediawiki.toc' => array(
955 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
956 'dependencies' => array(
957 'jquery.cookie',
959 'messages' => array( 'showtoc', 'hidetoc' ),
960 'targets' => array( 'desktop', 'mobile' ),
962 'mediawiki.Uri' => array(
963 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
964 'targets' => array( 'desktop', 'mobile' ),
966 'mediawiki.user' => array(
967 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
968 'dependencies' => array(
969 'jquery.cookie',
970 'mediawiki.api',
971 'user.options',
972 'user.tokens',
974 'targets' => array( 'desktop', 'mobile' ),
976 'mediawiki.util' => array(
977 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
978 'dependencies' => array(
979 'jquery.accessKeyLabel',
980 'jquery.mwExtension',
981 'mediawiki.notify',
983 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
984 'targets' => array( 'desktop', 'mobile' ),
986 'mediawiki.cookie' => array(
987 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
988 'dependencies' => array(
989 'jquery.cookie',
993 /* MediaWiki Action */
995 'mediawiki.action.edit' => array(
996 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
997 'dependencies' => array(
998 'mediawiki.action.edit.styles',
999 'jquery.textSelection',
1000 'jquery.byteLimit',
1002 'position' => 'top',
1004 'mediawiki.action.edit.styles' => array(
1005 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1006 'position' => 'top',
1008 'mediawiki.action.edit.collapsibleFooter' => array(
1009 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1010 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1011 'dependencies' => array(
1012 'jquery.makeCollapsible',
1013 'jquery.cookie',
1014 'mediawiki.icon',
1017 'mediawiki.action.edit.preview' => array(
1018 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1019 'dependencies' => array(
1020 'jquery.form',
1021 'jquery.spinner',
1022 'mediawiki.action.history.diff',
1025 'mediawiki.action.history' => array(
1026 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1027 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1028 'group' => 'mediawiki.action.history',
1030 'mediawiki.action.history.diff' => array(
1031 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1032 'group' => 'mediawiki.action.history',
1033 'targets' => array( 'desktop', 'mobile' ),
1035 'mediawiki.action.view.dblClickEdit' => array(
1036 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1037 'dependencies' => array(
1038 'mediawiki.util',
1039 'mediawiki.page.startup',
1042 'mediawiki.action.view.metadata' => array(
1043 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1044 'messages' => array(
1045 'metadata-expand',
1046 'metadata-collapse',
1049 'mediawiki.action.view.postEdit' => array(
1050 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1051 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1052 'dependencies' => array(
1053 'mediawiki.cookie',
1054 'mediawiki.jqueryMsg'
1056 'messages' => array(
1057 'postedit-confirmation-created',
1058 'postedit-confirmation-restored',
1059 'postedit-confirmation-saved',
1062 'mediawiki.action.view.redirectToFragment' => array(
1063 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectToFragment.js',
1064 'dependencies' => array(
1065 'jquery.client',
1067 'position' => 'top',
1069 'mediawiki.action.view.rightClickEdit' => array(
1070 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1072 'mediawiki.action.edit.editWarning' => array(
1073 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1074 'dependencies' => array(
1075 'mediawiki.jqueryMsg'
1077 'messages' => array(
1078 'editwarning-warning',
1079 'prefs-editing'
1082 // Alias for backwards compatibility
1083 'mediawiki.action.watch.ajax' => array(
1084 'dependencies' => 'mediawiki.page.watch.ajax'
1087 /* MediaWiki Language */
1089 'mediawiki.language' => array(
1090 'scripts' => array(
1091 'resources/src/mediawiki.language/mediawiki.language.js',
1092 'resources/src/mediawiki.language/mediawiki.language.numbers.js'
1094 'languageScripts' => array(
1095 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1096 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1097 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1098 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1099 'he' => 'resources/src/mediawiki.language/languages/he.js',
1100 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1101 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1102 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1103 'la' => 'resources/src/mediawiki.language/languages/la.js',
1104 'os' => 'resources/src/mediawiki.language/languages/os.js',
1105 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1106 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1107 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1109 'dependencies' => array(
1110 'mediawiki.language.data',
1111 'mediawiki.cldr',
1113 'targets' => array( 'desktop', 'mobile' ),
1116 'mediawiki.cldr' => array(
1117 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1118 'dependencies' => array(
1119 'mediawiki.libs.pluralruleparser',
1121 'targets' => array( 'desktop', 'mobile' ),
1124 'mediawiki.libs.pluralruleparser' => array(
1125 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1126 'targets' => array( 'desktop', 'mobile' ),
1129 'mediawiki.language.init' => array(
1130 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1131 'targets' => array( 'desktop', 'mobile' ),
1134 'mediawiki.jqueryMsg' => array(
1135 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1136 'dependencies' => array(
1137 'mediawiki.util',
1138 'mediawiki.language',
1140 'targets' => array( 'desktop', 'mobile' ),
1143 'mediawiki.language.months' => array(
1144 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1145 'dependencies' => 'mediawiki.language',
1146 'messages' => array_merge(
1147 Language::$mMonthMsgs,
1148 Language::$mMonthGenMsgs,
1149 Language::$mMonthAbbrevMsgs
1153 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1155 /* MediaWiki Libs */
1157 'mediawiki.libs.jpegmeta' => array(
1158 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1161 /* MediaWiki Page */
1163 'mediawiki.page.gallery' => array(
1164 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1166 'mediawiki.page.ready' => array(
1167 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1168 'dependencies' => array(
1169 'jquery.checkboxShiftClick',
1170 'jquery.makeCollapsible',
1171 'jquery.placeholder',
1172 'jquery.mw-jump',
1173 'mediawiki.util',
1175 'targets' => array( 'desktop', 'mobile' ),
1177 'mediawiki.page.startup' => array(
1178 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1179 'dependencies' => array(
1180 'mediawiki.util',
1182 'position' => 'top',
1183 'targets' => array( 'desktop', 'mobile' ),
1185 'mediawiki.page.patrol.ajax' => array(
1186 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1187 'dependencies' => array(
1188 'mediawiki.page.startup',
1189 'mediawiki.api',
1190 'mediawiki.util',
1191 'mediawiki.Title',
1192 'mediawiki.notify',
1193 'jquery.spinner',
1194 'user.tokens'
1196 'messages' => array(
1197 'markedaspatrollednotify',
1198 'markedaspatrollederrornotify',
1199 'markedaspatrollederror-noautopatrol'
1202 'mediawiki.page.watch.ajax' => array(
1203 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1204 'dependencies' => array(
1205 'mediawiki.api.watch',
1206 'mediawiki.notify',
1207 'mediawiki.util',
1208 'jquery.accessKeyLabel',
1209 'jquery.mwExtension',
1211 'messages' => array(
1212 'watch',
1213 'unwatch',
1214 'watching',
1215 'unwatching',
1216 'tooltip-ca-watch',
1217 'tooltip-ca-unwatch',
1218 'watcherrortext',
1221 'mediawiki.page.image.pagination' => array(
1222 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1223 'dependencies' => array( 'jquery.spinner' )
1226 /* MediaWiki Special pages */
1228 'mediawiki.special' => array(
1229 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1230 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1231 'skinStyles' => array(
1232 'vector' => 'skins/vector/special.less', // FIXME this should use $wgStyleDirectory
1235 'mediawiki.special.block' => array(
1236 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1237 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1238 'dependencies' => array(
1239 'mediawiki.util',
1242 'mediawiki.special.changeemail' => array(
1243 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1244 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1245 'dependencies' => array(
1246 'mediawiki.util',
1248 'messages' => array(
1249 'email-address-validity-valid',
1250 'email-address-validity-invalid',
1253 'mediawiki.special.changeslist' => array(
1254 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1256 'mediawiki.special.changeslist.legend' => array(
1257 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1259 'mediawiki.special.changeslist.legend.js' => array(
1260 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1261 'dependencies' => array(
1262 'jquery.makeCollapsible',
1263 'jquery.cookie',
1266 'mediawiki.special.changeslist.enhanced' => array(
1267 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1269 'mediawiki.special.movePage' => array(
1270 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1271 'dependencies' => 'jquery.byteLimit',
1273 'mediawiki.special.pagesWithProp' => array(
1274 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1276 'mediawiki.special.preferences' => array(
1277 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1278 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1279 'position' => 'top',
1280 'skinStyles' => array(
1281 'vector' => 'skins/vector/special.preferences.less', // FIXME this should use $wgStyleDirectory
1283 'messages' => array(
1284 'prefs-tabs-navigation-hint',
1286 'dependencies' => array(
1287 'mediawiki.language',
1290 'mediawiki.special.recentchanges' => array(
1291 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1292 'dependencies' => array( 'mediawiki.special' ),
1293 'position' => 'top',
1295 'mediawiki.special.search' => array(
1296 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1297 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1298 'messages' => array(
1299 'powersearch-togglelabel',
1300 'powersearch-toggleall',
1301 'powersearch-togglenone',
1304 'mediawiki.special.undelete' => array(
1305 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1307 'mediawiki.special.upload' => array(
1308 // @todo merge in remainder of mediawiki.legacy.upload
1309 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1310 'messages' => array(
1311 'widthheight',
1312 'size-bytes',
1313 'size-kilobytes',
1314 'size-megabytes',
1315 'size-gigabytes',
1316 'largefileserver',
1318 'dependencies' => array(
1319 'mediawiki.libs.jpegmeta',
1320 'mediawiki.util',
1323 'mediawiki.special.userlogin.common.styles' => array(
1324 'styles' => array(
1325 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1327 'position' => 'top',
1329 'mediawiki.special.userlogin.signup.styles' => array(
1330 'styles' => array(
1331 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1333 'position' => 'top',
1335 'mediawiki.special.userlogin.login.styles' => array(
1336 'styles' => array(
1337 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1339 'position' => 'top',
1341 'mediawiki.special.userlogin.common.js' => array(
1342 'scripts' => array(
1343 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1345 'messages' => array(
1346 'createacct-captcha',
1347 'createacct-imgcaptcha-ph',
1350 'mediawiki.special.userlogin.signup.js' => array(
1351 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1352 'messages' => array(
1353 'createacct-error',
1354 'createacct-emailrequired',
1355 'noname',
1356 'userexists',
1358 'dependencies' => array(
1359 'mediawiki.api',
1360 'mediawiki.jqueryMsg',
1361 'jquery.throttle-debounce',
1364 'mediawiki.special.unwatchedPages' => array(
1365 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1366 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1367 'messages' => array(
1368 'addedwatchtext-short',
1369 'removedwatchtext-short',
1370 'unwatch',
1371 'unwatching',
1372 'watch',
1373 'watcherrortext',
1374 'watching',
1376 'dependencies' => array(
1377 'mediawiki.api',
1378 'mediawiki.api.watch',
1379 'mediawiki.notify',
1380 'mediawiki.Title'
1383 'mediawiki.special.javaScriptTest' => array(
1384 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1385 'messages' => array_merge( Skin::getSkinNameMessages(), array(
1386 'colon-separator',
1387 'javascripttest-pagetext-skins',
1388 ) ),
1389 'dependencies' => array( 'jquery.qunit' ),
1390 'position' => 'top',
1391 'targets' => array( 'desktop', 'mobile' ),
1393 'mediawiki.special.version' => array(
1394 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1397 /* MediaWiki Legacy */
1399 'mediawiki.legacy.ajax' => array(
1400 'scripts' => 'common/ajax.js',
1401 'remoteBasePath' => $GLOBALS['wgStylePath'],
1402 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1403 'dependencies' => array(
1404 'mediawiki.util',
1405 'mediawiki.legacy.wikibits',
1407 'position' => 'top', // Temporary hack for legacy support
1409 'mediawiki.legacy.commonPrint' => array(
1410 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
1411 'remoteBasePath' => $GLOBALS['wgStylePath'],
1412 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1414 'mediawiki.legacy.config' => array(
1415 // Used in the web installer. Test it after modifying this definition!
1416 'scripts' => 'common/config.js',
1417 'styles' => array( 'common/config.css' ),
1418 'remoteBasePath' => $GLOBALS['wgStylePath'],
1419 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1420 'dependencies' => 'mediawiki.legacy.wikibits',
1422 'mediawiki.legacy.protect' => array(
1423 'scripts' => 'common/protect.js',
1424 'remoteBasePath' => $GLOBALS['wgStylePath'],
1425 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1426 'dependencies' => array(
1427 'jquery.byteLimit',
1429 'position' => 'top',
1431 'mediawiki.legacy.shared' => array(
1432 // Used in the web installer. Test it after modifying this definition!
1433 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
1434 'remoteBasePath' => $GLOBALS['wgStylePath'],
1435 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1437 'mediawiki.legacy.oldshared' => array(
1438 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
1439 'remoteBasePath' => $GLOBALS['wgStylePath'],
1440 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1442 'mediawiki.legacy.upload' => array(
1443 'scripts' => 'common/upload.js',
1444 'remoteBasePath' => $GLOBALS['wgStylePath'],
1445 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1446 'dependencies' => array(
1447 'jquery.spinner',
1448 'mediawiki.api',
1449 'mediawiki.Title',
1450 'mediawiki.util',
1453 'mediawiki.legacy.wikibits' => array(
1454 'scripts' => 'common/wikibits.js',
1455 'remoteBasePath' => $GLOBALS['wgStylePath'],
1456 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1457 'dependencies' => array(
1458 'mediawiki.util',
1460 'position' => 'top',
1463 /* MediaWiki UI */
1465 'mediawiki.ui' => array(
1466 'skinStyles' => array(
1467 'default' => 'resources/src/mediawiki.ui/default.less',
1468 'vector' => 'resources/src/mediawiki.ui/vector.less',
1470 'position' => 'top',
1471 'targets' => array( 'desktop', 'mobile' ),
1473 // Lightweight module for button styles
1474 'mediawiki.ui.button' => array(
1475 'skinStyles' => array(
1476 'default' => 'resources/src/mediawiki.ui/components/default/buttons.less',
1477 'vector' => 'resources/src/mediawiki.ui/components/vector/buttons.less',
1479 'position' => 'top',
1480 'targets' => array( 'desktop', 'mobile' ),
1483 /* OOjs */
1484 // WARNING: OOjs and OOjs-UI are NOT COMPATIBLE with older browsers and
1485 // WILL BREAK if loaded in browsers that don't support ES5
1486 'oojs' => array(
1487 'scripts' => array(
1488 'resources/lib/oojs/oojs.js',
1490 'targets' => array( 'desktop', 'mobile' ),
1492 'oojs-ui' => array(
1493 'scripts' => array(
1494 'resources/lib/oojs-ui/oojs-ui.js',
1496 'styles' => array(
1497 'resources/lib/oojs-ui/oojs-ui.svg.css',
1499 'skinStyles' => array(
1500 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.css',
1501 'minerva' => 'resources/lib/oojs-ui/oojs-ui-agora.css',
1503 'messages' => array(
1504 'ooui-dialog-action-close',
1505 'ooui-outline-control-move-down',
1506 'ooui-outline-control-move-up',
1507 'ooui-outline-control-remove',
1508 'ooui-toolbar-more',
1509 'ooui-dialog-confirm-title',
1510 'ooui-dialog-confirm-default-prompt',
1511 'ooui-dialog-confirm-default-ok',
1512 'ooui-dialog-confirm-default-cancel'
1514 'dependencies' => array(
1515 'oojs',
1517 'targets' => array( 'desktop', 'mobile' ),