Additional release note for I495683
[mediawiki.git] / resources / Resources.php
blobaba5ce83044da53e2df83e0731bbca283d7f66c2
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
32 'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
34 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
35 'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
36 'noscript' => array(
37 'class' => 'ResourceLoaderWikiModule',
38 'styles' => array( 'MediaWiki:Noscript.css' ),
39 'group' => 'noscript',
41 'filepage' => array(
42 'position' => 'top',
43 'class' => 'ResourceLoaderWikiModule',
44 'styles' => array( 'MediaWiki:Filepage.css' ),
46 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
48 // Scripts managed by the current user (stored in their user space)
49 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
51 // Scripts generated based on the current user's preferences
52 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
54 // Populate mediawiki.user placeholders with information about the current user
55 'user.defaults' => array( 'class' => 'ResourceLoaderUserDefaultsModule' ),
56 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
57 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
59 // Scripts for the dynamic language specific data, like grammar forms.
60 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
62 /* MediaWiki base skinning modules */
64 /**
65 * Common skin styles, grouped into three graded levels.
67 * Level 1 "elements":
68 * The base level that only contains the most basic of common skin styles.
69 * Only styles for single elements are included, no styling for complex structures like the
70 * TOC is present. This level is for skins that want to implement the entire style of even
71 * content area structures like the TOC themselves.
73 * Level 2 "content":
74 * The most commonly used level for skins implemented from scratch. This level includes all
75 * the single element styles from "elements" as well as styles for complex structures such
76 * as the TOC that are output in the content area by MediaWiki rather than the skin.
77 * Essentially this is the common level that lets skins leave the style of the content area
78 * as it is normally styled, while leaving the rest of the skin up to the skin
79 * implementation.
81 * Level 3 "interface":
82 * The highest level, this stylesheet contains extra common styles for classes like
83 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
84 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
85 * common to MonoBook clones. And since practically every skin that currently exists within
86 * core is a MonoBook clone, all our core skins currently use this level.
88 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
89 * dependency management. As a result they contain duplicate stylesheet references instead of
90 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
91 * including more than one of them into your skin as this will result in duplicate CSS.
93 'mediawiki.skinning.elements' => array(
94 'position' => 'top',
95 'styles' => array(
96 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
99 'mediawiki.skinning.content' => array(
100 'position' => 'top',
101 'styles' => array(
102 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
103 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
106 // Used in the web installer. Test it after modifying this definition!
107 'mediawiki.skinning.interface' => array(
108 'position' => 'top',
109 'class' => 'ResourceLoaderSkinModule',
110 'styles' => array(
111 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
112 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
113 'resources/src/mediawiki.skinning/interface.css' => array( 'media' => 'screen' ),
117 'mediawiki.skinning.content.parsoid' => array(
118 'position' => 'top',
119 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
120 // with the interface.css styles; skinStyles should be used if your
121 // skin over-rides common content styling.
122 'skinStyles' => array(
123 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
125 'targets' => array( 'desktop', 'mobile' ),
128 'mediawiki.skinning.content.externallinks' => array(
129 'position' => 'bottom',
130 'styles' => array(
131 'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
135 /* jQuery */
137 'jquery' => array(
138 'scripts' => array(
139 'resources/lib/jquery/jquery.js',
141 'raw' => true,
142 'targets' => array( 'desktop', 'mobile' ),
145 /* jQuery Plugins */
147 'jquery.accessKeyLabel' => array(
148 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
149 'dependencies' => array(
150 'jquery.client',
151 'mediawiki.RegExp',
153 'messages' => array( 'brackets', 'word-separator' ),
154 'targets' => array( 'mobile', 'desktop' ),
156 'jquery.appear' => array(
157 'scripts' => 'resources/lib/jquery/jquery.appear.js',
159 'jquery.arrowSteps' => array(
160 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
161 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
163 'jquery.async' => array(
164 'scripts' => 'resources/lib/jquery/jquery.async.js',
166 'jquery.autoEllipsis' => array(
167 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
168 'dependencies' => 'jquery.highlightText',
169 'targets' => array( 'desktop', 'mobile' ),
171 'jquery.badge' => array(
172 'scripts' => 'resources/src/jquery/jquery.badge.js',
173 'styles' => 'resources/src/jquery/jquery.badge.css',
174 'dependencies' => 'mediawiki.language',
176 'jquery.byteLength' => array(
177 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
178 'targets' => array( 'desktop', 'mobile' ),
180 'jquery.byteLimit' => array(
181 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
182 'dependencies' => 'jquery.byteLength',
183 'targets' => array( 'desktop', 'mobile' ),
185 'jquery.checkboxShiftClick' => array(
186 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
187 'targets' => array( 'desktop', 'mobile' ),
189 'jquery.chosen' => array(
190 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
191 'styles' => 'resources/lib/jquery.chosen/chosen.css',
193 'jquery.client' => array(
194 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
195 'targets' => array( 'desktop', 'mobile' ),
197 'jquery.color' => array(
198 'scripts' => 'resources/src/jquery/jquery.color.js',
199 'dependencies' => 'jquery.colorUtil',
201 'jquery.colorUtil' => array(
202 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
204 'jquery.confirmable' => array(
205 'scripts' => array(
206 'resources/src/jquery/jquery.confirmable.js',
207 'resources/src/jquery/jquery.confirmable.mediawiki.js',
209 'messages' => array(
210 'confirmable-confirm',
211 'confirmable-yes',
212 'confirmable-no',
213 'word-separator',
215 'styles' => 'resources/src/jquery/jquery.confirmable.css',
216 'dependencies' => 'mediawiki.jqueryMsg',
218 'jquery.cookie' => array(
219 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
220 'targets' => array( 'desktop', 'mobile' ),
222 'jquery.expandableField' => array(
223 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
225 'jquery.farbtastic' => array(
226 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
227 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
228 'dependencies' => 'jquery.colorUtil',
230 'jquery.footHovzer' => array(
231 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
232 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
234 'jquery.form' => array(
235 'scripts' => 'resources/lib/jquery/jquery.form.js',
237 'jquery.fullscreen' => array(
238 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
240 'jquery.getAttrs' => array(
241 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
242 'targets' => array( 'desktop', 'mobile' ),
244 'jquery.hidpi' => array(
245 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
246 'targets' => array( 'desktop', 'mobile' ),
248 'jquery.highlightText' => array(
249 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
250 'dependencies' => array(
251 'mediawiki.RegExp',
252 'dom-level2-shim',
254 'targets' => array( 'desktop', 'mobile' ),
256 'jquery.hoverIntent' => array(
257 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
259 'jquery.i18n' => array(
260 'scripts' => array(
261 'resources/lib/jquery.i18n/src/jquery.i18n.js',
262 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
263 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
264 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
265 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
267 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
269 'dependencies' => 'mediawiki.libs.pluralruleparser',
270 'languageScripts' => array(
271 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
272 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
273 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
274 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
275 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
276 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
277 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
278 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
279 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
280 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
281 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
282 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
283 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
284 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
286 'targets' => array( 'desktop', 'mobile' ),
288 'jquery.localize' => array(
289 'scripts' => 'resources/src/jquery/jquery.localize.js',
291 'jquery.makeCollapsible' => array(
292 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
293 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
294 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
295 'targets' => array( 'desktop', 'mobile' ),
297 'jquery.mockjax' => array(
298 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
300 'jquery.mw-jump' => array(
301 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
302 'targets' => array( 'desktop', 'mobile' ),
304 'jquery.mwExtension' => array(
305 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
306 'targets' => array( 'desktop', 'mobile' ),
308 'jquery.placeholder' => array(
309 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
310 'targets' => array( 'desktop', 'mobile' ),
312 'jquery.qunit' => array(
313 'scripts' => 'resources/lib/qunitjs/qunit.js',
314 'styles' => 'resources/lib/qunitjs/qunit.css',
315 'position' => 'top',
316 'targets' => array( 'desktop', 'mobile' ),
318 'jquery.qunit.completenessTest' => array(
319 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
320 'dependencies' => 'jquery.qunit',
321 'targets' => array( 'desktop', 'mobile' ),
323 'jquery.spinner' => array(
324 'scripts' => 'resources/src/jquery/jquery.spinner.js',
325 'styles' => 'resources/src/jquery/jquery.spinner.css',
327 'jquery.jStorage' => array(
328 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
329 'dependencies' => 'json',
331 'jquery.suggestions' => array(
332 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
333 'styles' => 'resources/src/jquery/jquery.suggestions.css',
334 'dependencies' => 'jquery.highlightText',
336 'jquery.tabIndex' => array(
337 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
339 'jquery.tablesorter' => array(
340 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
341 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
342 'messages' => array( 'sort-descending', 'sort-ascending' ),
343 'dependencies' => array(
344 'dom-level2-shim',
345 'mediawiki.RegExp',
346 'mediawiki.language.months',
349 'jquery.textSelection' => array(
350 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
351 'dependencies' => 'jquery.client',
352 'targets' => array( 'mobile', 'desktop' ),
354 'jquery.throttle-debounce' => array(
355 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
356 'targets' => array( 'desktop', 'mobile' ),
358 'jquery.validate' => array(
359 'scripts' => 'resources/lib/jquery/jquery.validate.js',
361 'jquery.xmldom' => array(
362 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
365 /* jQuery Tipsy */
367 'jquery.tipsy' => array(
368 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
369 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
372 /* jQuery UI */
374 'jquery.ui.core' => array(
375 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
376 'dependencies' => array(
377 'jquery.ui.core.styles',
379 'group' => 'jquery.ui',
381 'jquery.ui.core.styles' => array(
382 'position' => 'top',
383 'skinStyles' => array(
384 'default' => array(
385 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
386 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
389 'group' => 'jquery.ui',
391 'jquery.ui.accordion' => array(
392 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
393 'dependencies' => array(
394 'jquery.ui.core',
395 'jquery.ui.widget',
397 'skinStyles' => array(
398 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
400 'group' => 'jquery.ui',
402 'jquery.ui.autocomplete' => array(
403 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
404 'dependencies' => array(
405 'jquery.ui.core',
406 'jquery.ui.widget',
407 'jquery.ui.position',
408 'jquery.ui.menu',
410 'skinStyles' => array(
411 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
413 'group' => 'jquery.ui',
415 'jquery.ui.button' => array(
416 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
417 'dependencies' => array(
418 'jquery.ui.core',
419 'jquery.ui.widget',
421 'skinStyles' => array(
422 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
424 'group' => 'jquery.ui',
426 'jquery.ui.datepicker' => array(
427 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
428 'dependencies' => 'jquery.ui.core',
429 'skinStyles' => array(
430 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
432 'languageScripts' => array(
433 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
434 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
435 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
436 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
437 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
438 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
439 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
440 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
441 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
442 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
443 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
444 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
445 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
446 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
447 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
448 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
449 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
450 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
451 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
452 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
453 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
454 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
455 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
456 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
457 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
458 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
459 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
460 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
461 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
462 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
463 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
464 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
465 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
466 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
467 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
468 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
469 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
470 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
471 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
472 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
473 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
474 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
475 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
476 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
477 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
478 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
479 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
480 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
481 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
482 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
483 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
484 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
485 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
486 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
487 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
488 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
489 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
490 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
491 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
492 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
493 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
494 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
495 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
496 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
497 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
498 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
499 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
501 'group' => 'jquery.ui',
503 'jquery.ui.dialog' => array(
504 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
505 'dependencies' => array(
506 'jquery.ui.core',
507 'jquery.ui.widget',
508 'jquery.ui.button',
509 'jquery.ui.draggable',
510 'jquery.ui.mouse',
511 'jquery.ui.position',
512 'jquery.ui.resizable',
514 'skinStyles' => array(
515 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
517 'group' => 'jquery.ui',
519 'jquery.ui.draggable' => array(
520 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
521 'dependencies' => array(
522 'jquery.ui.core',
523 'jquery.ui.mouse',
524 'jquery.ui.widget',
526 'group' => 'jquery.ui',
528 'jquery.ui.droppable' => array(
529 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
530 'dependencies' => array(
531 'jquery.ui.core',
532 'jquery.ui.mouse',
533 'jquery.ui.widget',
534 'jquery.ui.draggable',
536 'group' => 'jquery.ui',
538 'jquery.ui.menu' => array(
539 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
540 'dependencies' => array(
541 'jquery.ui.core',
542 'jquery.ui.widget',
543 'jquery.ui.position',
545 'skinStyles' => array(
546 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
548 'group' => 'jquery.ui',
550 'jquery.ui.mouse' => array(
551 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
552 'dependencies' => 'jquery.ui.widget',
553 'group' => 'jquery.ui',
555 'jquery.ui.position' => array(
556 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
557 'group' => 'jquery.ui',
559 'jquery.ui.progressbar' => array(
560 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
561 'dependencies' => array(
562 'jquery.ui.core',
563 'jquery.ui.widget',
565 'skinStyles' => array(
566 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
568 'group' => 'jquery.ui',
570 'jquery.ui.resizable' => array(
571 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
572 'dependencies' => array(
573 'jquery.ui.core',
574 'jquery.ui.widget',
575 'jquery.ui.mouse',
577 'skinStyles' => array(
578 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
580 'group' => 'jquery.ui',
582 'jquery.ui.selectable' => array(
583 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
584 'dependencies' => array(
585 'jquery.ui.core',
586 'jquery.ui.widget',
587 'jquery.ui.mouse',
589 'skinStyles' => array(
590 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
592 'group' => 'jquery.ui',
594 'jquery.ui.slider' => array(
595 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
596 'dependencies' => array(
597 'jquery.ui.core',
598 'jquery.ui.widget',
599 'jquery.ui.mouse',
601 'skinStyles' => array(
602 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
604 'group' => 'jquery.ui',
606 'jquery.ui.sortable' => array(
607 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
608 'dependencies' => array(
609 'jquery.ui.core',
610 'jquery.ui.mouse',
611 'jquery.ui.widget',
613 'group' => 'jquery.ui',
615 'jquery.ui.spinner' => array(
616 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
617 'dependencies' => array(
618 'jquery.ui.core',
619 'jquery.ui.widget',
620 'jquery.ui.button',
622 'skinStyles' => array(
623 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
625 'group' => 'jquery.ui',
627 'jquery.ui.tabs' => array(
628 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
629 'dependencies' => array(
630 'jquery.ui.core',
631 'jquery.ui.widget',
633 'skinStyles' => array(
634 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
636 'group' => 'jquery.ui',
638 'jquery.ui.tooltip' => array(
639 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
640 'dependencies' => array(
641 'jquery.ui.core',
642 'jquery.ui.widget',
643 'jquery.ui.position',
645 'skinStyles' => array(
646 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
648 'group' => 'jquery.ui',
650 'jquery.ui.widget' => array(
651 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
652 'group' => 'jquery.ui',
654 // Effects
655 'jquery.effects.core' => array(
656 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
657 'group' => 'jquery.ui',
659 'jquery.effects.blind' => array(
660 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
661 'dependencies' => 'jquery.effects.core',
662 'group' => 'jquery.ui',
664 'jquery.effects.bounce' => array(
665 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
666 'dependencies' => 'jquery.effects.core',
667 'group' => 'jquery.ui',
669 'jquery.effects.clip' => array(
670 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
671 'dependencies' => 'jquery.effects.core',
672 'group' => 'jquery.ui',
674 'jquery.effects.drop' => array(
675 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
676 'dependencies' => 'jquery.effects.core',
677 'group' => 'jquery.ui',
679 'jquery.effects.explode' => array(
680 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
681 'dependencies' => 'jquery.effects.core',
682 'group' => 'jquery.ui',
684 'jquery.effects.fade' => array(
685 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
686 'dependencies' => 'jquery.effects.core',
687 'group' => 'jquery.ui',
689 'jquery.effects.fold' => array(
690 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
691 'dependencies' => 'jquery.effects.core',
692 'group' => 'jquery.ui',
694 'jquery.effects.highlight' => array(
695 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
696 'dependencies' => 'jquery.effects.core',
697 'group' => 'jquery.ui',
699 'jquery.effects.pulsate' => array(
700 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
701 'dependencies' => 'jquery.effects.core',
702 'group' => 'jquery.ui',
704 'jquery.effects.scale' => array(
705 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
706 'dependencies' => 'jquery.effects.core',
707 'group' => 'jquery.ui',
709 'jquery.effects.shake' => array(
710 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
711 'dependencies' => 'jquery.effects.core',
712 'group' => 'jquery.ui',
714 'jquery.effects.slide' => array(
715 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
716 'dependencies' => 'jquery.effects.core',
717 'group' => 'jquery.ui',
719 'jquery.effects.transfer' => array(
720 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
721 'dependencies' => 'jquery.effects.core',
722 'group' => 'jquery.ui',
725 /* json2 */
727 'json' => array(
728 'scripts' => 'resources/lib/json2/json2.js',
729 'targets' => array( 'desktop', 'mobile' ),
730 'skipFunction' => 'resources/src/json-skip.js',
733 /* Moment.js */
735 'moment' => array(
736 'scripts' => array(
737 'resources/lib/moment/moment.js',
738 'resources/src/moment-local-dmy.js',
740 'languageScripts' => array(
741 'af' => 'resources/lib/moment/locale/af.js',
742 'ar' => 'resources/lib/moment/locale/ar.js',
743 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
744 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
745 'az' => 'resources/lib/moment/locale/az.js',
746 'be' => 'resources/lib/moment/locale/be.js',
747 'bg' => 'resources/lib/moment/locale/bg.js',
748 'bn' => 'resources/lib/moment/locale/bn.js',
749 'bo' => 'resources/lib/moment/locale/bo.js',
750 'br' => 'resources/lib/moment/locale/br.js',
751 'bs' => 'resources/lib/moment/locale/bs.js',
752 'ca' => 'resources/lib/moment/locale/ca.js',
753 'cs' => 'resources/lib/moment/locale/cs.js',
754 'cv' => 'resources/lib/moment/locale/cv.js',
755 'cy' => 'resources/lib/moment/locale/cy.js',
756 'da' => 'resources/lib/moment/locale/da.js',
757 'de' => 'resources/lib/moment/locale/de.js',
758 'de-at' => 'resources/lib/moment/locale/de-at.js',
759 'el' => 'resources/lib/moment/locale/el.js',
760 'en-au' => 'resources/lib/moment/locale/en-au.js',
761 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
762 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
763 'eo' => 'resources/lib/moment/locale/eo.js',
764 'es' => 'resources/lib/moment/locale/es.js',
765 'et' => 'resources/lib/moment/locale/et.js',
766 'eu' => 'resources/lib/moment/locale/eu.js',
767 'fa' => 'resources/lib/moment/locale/fa.js',
768 'fi' => 'resources/lib/moment/locale/fi.js',
769 'fo' => 'resources/lib/moment/locale/fo.js',
770 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
771 'fr' => 'resources/lib/moment/locale/fr.js',
772 'gl' => 'resources/lib/moment/locale/gl.js',
773 'he' => 'resources/lib/moment/locale/he.js',
774 'hi' => 'resources/lib/moment/locale/hi.js',
775 'hr' => 'resources/lib/moment/locale/hr.js',
776 'hu' => 'resources/lib/moment/locale/hu.js',
777 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
778 'id' => 'resources/lib/moment/locale/id.js',
779 'is' => 'resources/lib/moment/locale/is.js',
780 'it' => 'resources/lib/moment/locale/it.js',
781 'ja' => 'resources/lib/moment/locale/ja.js',
782 'ka' => 'resources/lib/moment/locale/ka.js',
783 'ko' => 'resources/lib/moment/locale/ko.js',
784 'lt' => 'resources/lib/moment/locale/lt.js',
785 'lv' => 'resources/lib/moment/locale/lv.js',
786 'mk' => 'resources/lib/moment/locale/mk.js',
787 'ml' => 'resources/lib/moment/locale/ml.js',
788 'mr' => 'resources/lib/moment/locale/mr.js',
789 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
790 'my' => 'resources/lib/moment/locale/my.js',
791 'nb' => 'resources/lib/moment/locale/nb.js',
792 'ne' => 'resources/lib/moment/locale/ne.js',
793 'nl' => 'resources/lib/moment/locale/nl.js',
794 'nn' => 'resources/lib/moment/locale/nn.js',
795 'pl' => 'resources/lib/moment/locale/pl.js',
796 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
797 'pt' => 'resources/lib/moment/locale/pt.js',
798 'ro' => 'resources/lib/moment/locale/ro.js',
799 'ru' => 'resources/lib/moment/locale/ru.js',
800 'sk' => 'resources/lib/moment/locale/sk.js',
801 'sl' => 'resources/lib/moment/locale/sl.js',
802 'sq' => 'resources/lib/moment/locale/sq.js',
803 'sr' => 'resources/lib/moment/locale/sr.js',
804 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
805 'sv' => 'resources/lib/moment/locale/sv.js',
806 'ta' => 'resources/lib/moment/locale/ta.js',
807 'th' => 'resources/lib/moment/locale/th.js',
808 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
809 'tr' => 'resources/lib/moment/locale/tr.js',
810 'tzm' => 'resources/lib/moment/locale/tzm.js',
811 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
812 'uk' => 'resources/lib/moment/locale/uk.js',
813 'uz' => 'resources/lib/moment/locale/uz.js',
814 'vi' => 'resources/lib/moment/locale/vi.js',
815 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
816 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
818 'targets' => array( 'desktop', 'mobile' ),
821 /* MediaWiki */
823 'mediawiki' => array(
824 'class' => 'ResourceLoaderRawFileModule',
825 // Keep in sync with maintenance/jsduck/eg-iframe.html
826 'scripts' => array(
827 'resources/lib/phpjs-sha1/sha1.js',
828 'resources/src/mediawiki/mediawiki.js',
829 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
830 'resources/src/mediawiki/mediawiki.errorLogger.js',
832 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
833 'targets' => array( 'desktop', 'mobile' ),
835 'mediawiki.apihelp' => array(
836 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
837 'targets' => array( 'desktop' ),
838 'dependencies' => 'mediawiki.hlist',
839 'position' => 'top',
841 'mediawiki.template' => array(
842 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
843 'targets' => array( 'desktop', 'mobile' ),
845 'mediawiki.template.mustache' => array(
846 'scripts' => array(
847 'resources/lib/mustache/mustache.js',
848 'resources/src/mediawiki/mediawiki.template.mustache.js',
850 'targets' => array( 'desktop', 'mobile' ),
851 'dependencies' => 'mediawiki.template',
853 'mediawiki.template.regexp' => array(
854 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
855 'targets' => array( 'desktop', 'mobile' ),
856 'dependencies' => 'mediawiki.template',
858 'mediawiki.apipretty' => array(
859 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
860 'targets' => array( 'desktop', 'mobile' ),
861 'position' => 'top',
863 'mediawiki.api' => array(
864 'scripts' => 'resources/src/mediawiki/api.js',
865 'dependencies' => array(
866 'mediawiki.util',
867 'user.tokens',
869 'targets' => array( 'desktop', 'mobile' ),
871 'mediawiki.api.category' => array(
872 'scripts' => 'resources/src/mediawiki/api/category.js',
873 'dependencies' => array(
874 'mediawiki.api',
875 'mediawiki.Title',
878 'mediawiki.api.edit' => array(
879 'scripts' => 'resources/src/mediawiki/api/edit.js',
880 'dependencies' => array(
881 'mediawiki.api',
882 'mediawiki.Title',
884 'targets' => array( 'desktop', 'mobile' ),
886 'mediawiki.api.login' => array(
887 'scripts' => 'resources/src/mediawiki/api/login.js',
888 'dependencies' => 'mediawiki.api',
890 'mediawiki.api.options' => array(
891 'scripts' => 'resources/src/mediawiki/api/options.js',
892 'dependencies' => 'mediawiki.api',
893 'targets' => array( 'desktop', 'mobile' ),
895 'mediawiki.api.parse' => array(
896 'scripts' => 'resources/src/mediawiki/api/parse.js',
897 'dependencies' => 'mediawiki.api',
898 'targets' => array( 'desktop', 'mobile' ),
900 'mediawiki.api.upload' => array(
901 'scripts' => 'resources/src/mediawiki/api/upload.js',
902 'dependencies' => array(
903 'dom-level2-shim',
904 'mediawiki.api',
905 'mediawiki.api.edit',
906 'json',
909 'mediawiki.api.watch' => array(
910 'scripts' => 'resources/src/mediawiki/api/watch.js',
911 'dependencies' => array(
912 'mediawiki.api',
915 'mediawiki.api.messages' => array(
916 'scripts' => 'resources/src/mediawiki/api/messages.js',
917 'dependencies' => array(
918 'mediawiki.api',
921 'mediawiki.content.json' => array(
922 'position' => 'top',
923 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
925 'mediawiki.confirmCloseWindow' => array(
926 'scripts' => array(
927 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
929 'targets' => array( 'desktop', 'mobile' ),
931 'mediawiki.debug' => array(
932 'scripts' => array(
933 'resources/src/mediawiki/mediawiki.debug.js',
935 'styles' => array(
936 'resources/src/mediawiki/mediawiki.debug.less',
938 'dependencies' => array(
939 'jquery.footHovzer',
940 'jquery.tipsy',
942 'position' => 'bottom',
944 'mediawiki.debug.init' => array(
945 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
946 'dependencies' => 'mediawiki.debug',
947 // Uses a custom mw.config variable that is set in debughtml,
948 // must be loaded on the bottom
949 'position' => 'bottom',
951 'mediawiki.feedback' => array(
952 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
953 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
954 'dependencies' => array(
955 'mediawiki.messagePoster',
956 'mediawiki.Title',
957 'oojs-ui',
959 'messages' => array(
960 'feedback-adding',
961 'feedback-back',
962 'feedback-bugcheck',
963 'feedback-dialog-intro',
964 'feedback-external-bug-report-button',
965 'feedback-bugnew',
966 'feedback-bugornote',
967 'feedback-cancel',
968 'feedback-close',
969 'feedback-dialog-title',
970 'feedback-error-title',
971 'feedback-error1',
972 'feedback-error2',
973 'feedback-error3',
974 'feedback-error4',
975 'feedback-message',
976 'feedback-subject',
977 'feedback-submit',
978 'feedback-terms',
979 'feedback-termsofuse',
980 'feedback-thanks',
981 'feedback-thanks-title',
982 'feedback-useragent'
985 'mediawiki.feedlink' => array(
986 'position' => 'top',
987 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
989 'mediawiki.filewarning' => array(
990 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
991 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
992 'dependencies' => array(
993 'oojs-ui',
996 'mediawiki.ForeignApi' => array(
997 'targets' => array( 'desktop', 'mobile' ),
998 'class' => 'ResourceLoaderForeignApiModule',
999 // Additional dependencies generated dynamically
1000 'dependencies' => 'mediawiki.ForeignApi.core',
1002 'mediawiki.ForeignApi.core' => array(
1003 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1004 'dependencies' => array(
1005 'mediawiki.api',
1006 'oojs',
1008 'targets' => array( 'desktop', 'mobile' ),
1010 'mediawiki.helplink' => array(
1011 'position' => 'top',
1012 'styles' => array(
1013 'resources/src/mediawiki/mediawiki.helplink.less',
1015 'targets' => array( 'desktop', 'mobile' ),
1017 'mediawiki.hidpi' => array(
1018 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1019 'dependencies' => 'jquery.hidpi',
1020 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1021 'targets' => array( 'desktop', 'mobile' ),
1023 'mediawiki.hlist' => array(
1024 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1025 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
1026 'dependencies' => 'jquery.client',
1028 'mediawiki.htmlform' => array(
1029 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
1030 'dependencies' => array(
1031 'mediawiki.RegExp',
1032 'jquery.byteLimit',
1034 'messages' => array(
1035 'htmlform-chosen-placeholder',
1036 // @todo Load this message in content language
1037 'colon-separator',
1040 'mediawiki.htmlform.styles' => array(
1041 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.css',
1042 'position' => 'top',
1044 'mediawiki.htmlform.ooui.styles' => array(
1045 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.css',
1046 'position' => 'top',
1048 'mediawiki.icon' => array(
1049 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1051 'mediawiki.inspect' => array(
1052 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1053 'dependencies' => array(
1054 'jquery.byteLength',
1055 'mediawiki.RegExp',
1056 'json',
1058 'targets' => array( 'desktop', 'mobile' ),
1060 'mediawiki.messagePoster' => array(
1061 'scripts' => array(
1062 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1063 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1065 'dependencies' => array(
1066 'oojs',
1067 'mediawiki.api',
1069 'targets' => array( 'desktop', 'mobile' ),
1071 'mediawiki.messagePoster.wikitext' => array(
1072 'scripts' => array(
1073 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1075 'dependencies' => array(
1076 'mediawiki.api.edit',
1077 'mediawiki.messagePoster',
1079 'targets' => array( 'desktop', 'mobile' ),
1081 'mediawiki.notification' => array(
1082 'styles' => array(
1083 'resources/src/mediawiki/mediawiki.notification.common.css',
1084 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
1085 => array( 'media' => 'print' ),
1087 'skinStyles' => array(
1088 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1090 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1091 'dependencies' => 'mediawiki.page.startup',
1092 'targets' => array( 'desktop', 'mobile' ),
1094 'mediawiki.notify' => array(
1095 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1096 'targets' => array( 'desktop', 'mobile' ),
1098 'mediawiki.RegExp' => array(
1099 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1100 'targets' => array( 'desktop', 'mobile' ),
1102 'mediawiki.pager.tablePager' => array(
1103 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1104 'position' => 'top',
1106 'mediawiki.searchSuggest' => array(
1107 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1108 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1109 'messages' => array(
1110 'searchsuggest-search',
1111 'searchsuggest-containing',
1113 'dependencies' => array(
1114 'jquery.client',
1115 'jquery.placeholder',
1116 'jquery.suggestions',
1117 'jquery.getAttrs',
1118 'mediawiki.api',
1121 'mediawiki.sectionAnchor' => array(
1122 'position' => 'top',
1123 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1124 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1125 'targets' => array( 'desktop', 'mobile' ),
1127 'mediawiki.storage' => array(
1128 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1129 'targets' => array( 'desktop', 'mobile' ),
1131 'mediawiki.Title' => array(
1132 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1133 'dependencies' => array(
1134 'jquery.byteLength',
1135 'mediawiki.util',
1137 'targets' => array( 'desktop', 'mobile' ),
1139 'mediawiki.Upload' => array(
1140 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1141 'dependencies' => array(
1142 'dom-level2-shim',
1143 'mediawiki.api.upload',
1146 'mediawiki.ForeignUpload' => array(
1147 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1148 'dependencies' => array(
1149 'mediawiki.ForeignApi',
1150 'mediawiki.Upload',
1151 'oojs',
1154 'mediawiki.ForeignStructuredUpload' => array(
1155 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1156 'dependencies' => array(
1157 'mediawiki.ForeignUpload',
1160 'mediawiki.Upload.Dialog' => array(
1161 'scripts' => array(
1162 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1164 'dependencies' => array(
1165 'mediawiki.Upload.BookletLayout',
1167 'messages' => array(
1168 'upload-dialog-title',
1169 'upload-dialog-button-cancel',
1170 'upload-dialog-button-done',
1171 'upload-dialog-button-save',
1172 'upload-dialog-button-upload',
1175 'mediawiki.Upload.BookletLayout' => array(
1176 'scripts' => array(
1177 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1179 'dependencies' => array(
1180 'oojs-ui',
1181 'mediawiki.Upload',
1182 'mediawiki.jqueryMsg',
1184 'messages' => array(
1185 'upload-form-label-select-file',
1186 'upload-form-label-infoform-title',
1187 'upload-form-label-infoform-name',
1188 'upload-form-label-infoform-description',
1189 'upload-form-label-usage-title',
1190 'upload-form-label-usage-filename',
1191 'api-error-unknownerror',
1192 'api-error-unknown-warning',
1193 'api-error-badaccess-groups',
1194 'api-error-badtoken',
1195 'api-error-copyuploaddisabled',
1196 'api-error-duplicate',
1197 'api-error-duplicate-archive',
1198 'api-error-empty-file',
1199 'api-error-emptypage',
1200 'api-error-fetchfileerror',
1201 'api-error-fileexists-forbidden',
1202 'api-error-fileexists-shared-forbidden',
1203 'api-error-file-too-large',
1204 'api-error-filename-tooshort',
1205 'api-error-filetype-banned',
1206 'api-error-filetype-banned-type',
1207 'api-error-filetype-missing',
1208 'api-error-hookaborted',
1209 'api-error-http',
1210 'api-error-illegal-filename',
1211 'api-error-internal-error',
1212 'api-error-invalid-file-key',
1213 'api-error-missingparam',
1214 'api-error-missingresult',
1215 'api-error-mustbeloggedin',
1216 'api-error-mustbeposted',
1217 'api-error-noimageinfo',
1218 'api-error-nomodule',
1219 'api-error-ok-but-empty',
1220 'api-error-overwrite',
1221 'api-error-stashfailed',
1222 'api-error-publishfailed',
1223 'api-error-stasherror',
1224 'api-error-stashedfilenotfound',
1225 'api-error-stashpathinvalid',
1226 'api-error-stashfilestorage',
1227 'api-error-stashzerolength',
1228 'api-error-stashnotloggedin',
1229 'api-error-stashwrongowner',
1230 'api-error-stashnosuchfilekey',
1231 'api-error-timeout',
1232 'api-error-unclassified',
1233 'api-error-unknown-code',
1234 'api-error-unknown-error',
1235 'api-error-uploaddisabled',
1236 'api-error-verification-error',
1237 'fileexists',
1238 'filepageexists',
1239 'filename-bad-prefix',
1240 'filename-thumb-name',
1241 'badfilename',
1242 'api-error-blacklisted', // HACK
1245 'mediawiki.ForeignStructuredUpload.BookletLayout' => array(
1246 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1247 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.css',
1248 'dependencies' => array(
1249 'mediawiki.ForeignStructuredUpload',
1250 'mediawiki.Upload.BookletLayout',
1251 'mediawiki.widgets.CategorySelector',
1252 'mediawiki.widgets.DateInputWidget',
1253 'mediawiki.jqueryMsg',
1254 'moment',
1256 'messages' => array(
1257 'foreign-structured-upload-form-label-own-work',
1258 'foreign-structured-upload-form-label-infoform-categories',
1259 'foreign-structured-upload-form-label-infoform-date',
1260 'foreign-structured-upload-form-label-own-work-message-default',
1261 'foreign-structured-upload-form-label-not-own-work-message-default',
1262 'foreign-structured-upload-form-label-not-own-work-local-default',
1263 'foreign-structured-upload-form-label-own-work-message-shared',
1264 'foreign-structured-upload-form-label-not-own-work-message-shared',
1265 'foreign-structured-upload-form-label-not-own-work-local-shared',
1266 'foreign-structured-upload-form-label-own-work-message-local',
1267 'foreign-structured-upload-form-label-not-own-work-message-local',
1268 'foreign-structured-upload-form-label-not-own-work-local-local',
1271 'mediawiki.toc' => array(
1272 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1273 'dependencies' => 'mediawiki.cookie',
1274 'messages' => array( 'showtoc', 'hidetoc' ),
1275 'targets' => array( 'desktop', 'mobile' ),
1277 'mediawiki.Uri' => array(
1278 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1279 'templates' => array(
1280 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1281 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1283 'dependencies' => 'mediawiki.util',
1284 'targets' => array( 'desktop', 'mobile' ),
1286 'mediawiki.user' => array(
1287 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1288 'dependencies' => array(
1289 'mediawiki.cookie',
1290 'mediawiki.api',
1291 'user.options',
1292 'user.tokens',
1294 'targets' => array( 'desktop', 'mobile' ),
1296 'mediawiki.userSuggest' => array(
1297 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1298 'dependencies' => array(
1299 'jquery.suggestions',
1300 'mediawiki.api'
1303 'mediawiki.util' => array(
1304 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1305 'dependencies' => array(
1306 'jquery.accessKeyLabel',
1307 'mediawiki.RegExp',
1308 'mediawiki.notify',
1310 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
1311 'targets' => array( 'desktop', 'mobile' ),
1313 'mediawiki.cookie' => array(
1314 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1315 'dependencies' => 'jquery.cookie',
1316 'targets' => array( 'desktop', 'mobile' ),
1318 'mediawiki.toolbar' => array(
1319 'class' => 'ResourceLoaderEditToolbarModule',
1320 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1321 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1322 'position' => 'top',
1324 'mediawiki.experiments' => array(
1325 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1326 'targets' => array( 'desktop', 'mobile' ),
1328 'mediawiki.raggett' => array(
1329 'styles' => 'resources/src/mediawiki/mediawiki.raggett.css',
1330 'targets' => array( 'desktop', 'mobile' ),
1333 /* MediaWiki Action */
1335 'mediawiki.action.edit' => array(
1336 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1337 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1338 'dependencies' => array(
1339 'mediawiki.action.edit.styles',
1340 'jquery.textSelection',
1341 'jquery.byteLimit',
1343 'position' => 'top',
1345 'mediawiki.action.edit.styles' => array(
1346 'position' => 'top',
1347 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1349 'mediawiki.action.edit.collapsibleFooter' => array(
1350 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1351 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1352 'dependencies' => array(
1353 'jquery.makeCollapsible',
1354 'mediawiki.cookie',
1355 'mediawiki.icon',
1358 'mediawiki.action.edit.preview' => array(
1359 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1360 'dependencies' => array(
1361 'jquery.form',
1362 'jquery.spinner',
1363 'jquery.textSelection',
1364 'mediawiki.api',
1365 'mediawiki.action.history.diff',
1366 'mediawiki.util',
1367 'mediawiki.jqueryMsg',
1369 'messages' => array(
1370 // Keep the uses message keys in sync with EditPage#setHeaders
1371 'creating',
1372 'editconflict',
1373 'editing',
1374 'editingcomment',
1375 'editingsection',
1376 'pagetitle',
1377 'otherlanguages',
1378 'summary-preview',
1379 'subject-preview',
1380 'parentheses',
1381 'previewerrortext',
1384 'mediawiki.action.edit.stash' => array(
1385 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1386 'dependencies' => array(
1387 'jquery.getAttrs',
1388 'mediawiki.api',
1391 'mediawiki.action.history' => array(
1392 'position' => 'top',
1393 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1394 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1396 'mediawiki.action.history.diff' => array(
1397 'position' => 'top',
1398 'styles' => array(
1399 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1400 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array(
1401 'media' => 'print'
1404 'targets' => array( 'desktop', 'mobile' ),
1406 'mediawiki.action.view.dblClickEdit' => array(
1407 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1408 'dependencies' => array(
1409 'mediawiki.util',
1410 'mediawiki.page.startup',
1411 'user.options',
1414 'mediawiki.action.view.metadata' => array(
1415 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1416 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1417 'messages' => array(
1418 'metadata-expand',
1419 'metadata-collapse',
1422 'mediawiki.action.view.categoryPage.styles' => array(
1423 'position' => 'top',
1424 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1425 'targets' => array( 'desktop', 'mobile' )
1427 'mediawiki.action.view.postEdit' => array(
1428 'templates' => array(
1429 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1431 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1432 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1433 'dependencies' => array(
1434 'mediawiki.cookie',
1435 'mediawiki.jqueryMsg'
1437 'messages' => array(
1438 'postedit-confirmation-created',
1439 'postedit-confirmation-restored',
1440 'postedit-confirmation-saved',
1443 'mediawiki.action.view.redirect' => array(
1444 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1445 'dependencies' => 'jquery.client',
1446 'position' => 'top',
1448 'mediawiki.action.view.redirectPage' => array(
1449 'position' => 'top',
1450 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1452 'mediawiki.action.view.rightClickEdit' => array(
1453 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1455 'mediawiki.action.edit.editWarning' => array(
1456 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1457 'dependencies' => array(
1458 'jquery.textSelection',
1459 'mediawiki.jqueryMsg',
1460 'mediawiki.confirmCloseWindow',
1461 'user.options',
1463 'messages' => array(
1464 'editwarning-warning',
1465 // editwarning-warning uses {{int:prefs-editing}}
1466 'prefs-editing'
1469 'mediawiki.action.view.filepage' => array(
1470 'styles' => array(
1471 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1472 array( 'media' => 'print' ),
1473 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1475 'position' => 'top',
1478 /* MediaWiki Language */
1480 'mediawiki.language' => array(
1481 'scripts' => array(
1482 'resources/src/mediawiki.language/mediawiki.language.js',
1483 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1484 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1486 'languageScripts' => array(
1487 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1488 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1489 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1490 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1491 'he' => 'resources/src/mediawiki.language/languages/he.js',
1492 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1493 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1494 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1495 'la' => 'resources/src/mediawiki.language/languages/la.js',
1496 'os' => 'resources/src/mediawiki.language/languages/os.js',
1497 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1498 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1499 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1501 'dependencies' => array(
1502 'mediawiki.language.data',
1503 'mediawiki.cldr',
1505 'targets' => array( 'desktop', 'mobile' ),
1506 'messages' => array(
1507 'and',
1508 'comma-separator',
1509 'word-separator'
1513 'mediawiki.cldr' => array(
1514 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1515 'dependencies' => array(
1516 'mediawiki.libs.pluralruleparser',
1518 'targets' => array( 'desktop', 'mobile' ),
1521 'mediawiki.libs.pluralruleparser' => array(
1522 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1523 'targets' => array( 'desktop', 'mobile' ),
1526 'mediawiki.language.init' => array(
1527 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1528 'targets' => array( 'desktop', 'mobile' ),
1531 'mediawiki.jqueryMsg' => array(
1532 // Add data for mediawiki.jqueryMsg, such as allowed tags
1533 'class' => 'ResourceLoaderJqueryMsgModule',
1534 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1535 'dependencies' => array(
1536 'mediawiki.util',
1537 'mediawiki.language',
1538 'user.options',
1539 'dom-level2-shim',
1541 'targets' => array( 'desktop', 'mobile' ),
1544 'mediawiki.language.months' => array(
1545 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1546 'dependencies' => 'mediawiki.language',
1547 'messages' => array_merge(
1548 Language::$mMonthMsgs,
1549 Language::$mMonthGenMsgs,
1550 Language::$mMonthAbbrevMsgs
1554 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1556 'mediawiki.language.specialCharacters' => array(
1557 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1560 /* MediaWiki Libs */
1562 'mediawiki.libs.jpegmeta' => array(
1563 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1566 /* MediaWiki Page */
1568 'mediawiki.page.gallery' => array(
1569 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1570 'dependencies' => array(
1571 'mediawiki.page.gallery.styles',
1572 'jquery.throttle-debounce',
1575 'mediawiki.page.gallery.styles' => array(
1576 'styles' => array(
1577 'resources/src/mediawiki/page/gallery-print.css' => array( 'media' => 'print' ),
1578 'resources/src/mediawiki/page/gallery.css',
1580 'position' => 'top',
1581 'targets' => array( 'desktop', 'mobile' ),
1583 'mediawiki.page.ready' => array(
1584 'scripts' => 'resources/src/mediawiki/page/ready.js',
1585 'dependencies' => array(
1586 'jquery.accessKeyLabel',
1587 'jquery.checkboxShiftClick',
1588 'jquery.makeCollapsible',
1589 'jquery.placeholder',
1590 'jquery.mw-jump',
1592 'targets' => array( 'desktop', 'mobile' ),
1594 'mediawiki.page.startup' => array(
1595 'scripts' => 'resources/src/mediawiki/page/startup.js',
1596 'dependencies' => 'mediawiki.util',
1597 'position' => 'top',
1598 'targets' => array( 'desktop', 'mobile' ),
1600 'mediawiki.page.patrol.ajax' => array(
1601 'scripts' => 'resources/src/mediawiki/page/patrol.js',
1602 'dependencies' => array(
1603 'mediawiki.page.startup',
1604 'mediawiki.api',
1605 'mediawiki.util',
1606 'mediawiki.Title',
1607 'mediawiki.notify',
1608 'jquery.spinner',
1609 'user.tokens'
1611 'messages' => array(
1612 'markedaspatrollednotify',
1613 'markedaspatrollederrornotify',
1614 'markedaspatrollederror-noautopatrol'
1617 'mediawiki.page.watch.ajax' => array(
1618 'scripts' => 'resources/src/mediawiki/page/watch.js',
1619 'dependencies' => array(
1620 'mediawiki.page.startup',
1621 'mediawiki.api.watch',
1622 'mediawiki.notify',
1623 'mediawiki.util',
1624 'jquery.accessKeyLabel',
1625 'mediawiki.RegExp',
1627 'messages' => array(
1628 'watch',
1629 'unwatch',
1630 'watching',
1631 'unwatching',
1632 'tooltip-ca-watch',
1633 'tooltip-ca-unwatch',
1634 'watcherrortext',
1637 'mediawiki.page.image.pagination' => array(
1638 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1639 'dependencies' => array(
1640 'mediawiki.Uri',
1641 'mediawiki.util',
1642 'jquery.spinner',
1646 /* MediaWiki Special pages */
1648 'mediawiki.special' => array(
1649 'position' => 'top',
1650 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1651 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1653 'mediawiki.special.block' => array(
1654 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1655 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1656 'dependencies' => 'mediawiki.util',
1658 'mediawiki.special.changeemail' => array(
1659 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1660 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1661 'dependencies' => 'mediawiki.util',
1662 'messages' => array(
1663 'email-address-validity-valid',
1664 'email-address-validity-invalid',
1667 'mediawiki.special.changeslist' => array(
1668 'position' => 'top',
1669 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1671 'mediawiki.special.changeslist.legend' => array(
1672 'position' => 'top',
1673 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1675 'mediawiki.special.changeslist.legend.js' => array(
1676 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1677 'dependencies' => array(
1678 'jquery.makeCollapsible',
1679 'mediawiki.cookie',
1682 'mediawiki.special.changeslist.enhanced' => array(
1683 'position' => 'top',
1684 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1686 'mediawiki.special.edittags' => array(
1687 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1688 'dependencies' => array(
1689 'jquery.chosen',
1691 'messages' => array(
1692 'tags-edit-chosen-placeholder',
1693 'tags-edit-chosen-no-results',
1696 'mediawiki.special.edittags.styles' => array(
1697 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1698 'position' => 'top',
1700 'mediawiki.special.import' => array(
1701 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1703 'mediawiki.special.movePage' => array(
1704 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1705 'dependencies' => array(
1706 'jquery.byteLimit',
1707 'mediawiki.widgets',
1710 'mediawiki.special.movePage.styles' => array(
1711 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1712 'position' => 'top',
1714 'mediawiki.special.pageLanguage' => array(
1715 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1717 'mediawiki.special.pagesWithProp' => array(
1718 'position' => 'top',
1719 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1721 'mediawiki.special.preferences' => array(
1722 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1723 'position' => 'top',
1724 'messages' => array(
1725 'prefs-tabs-navigation-hint',
1726 'prefswarning-warning',
1727 'saveprefs',
1728 'savedprefs',
1730 'dependencies' => array(
1731 'mediawiki.language',
1732 'mediawiki.confirmCloseWindow',
1733 'mediawiki.notification',
1736 'mediawiki.special.preferences.styles' => array(
1737 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1738 'position' => 'top',
1740 'mediawiki.special.recentchanges' => array(
1741 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1742 'dependencies' => 'mediawiki.special',
1743 'position' => 'top',
1745 'mediawiki.special.search' => array(
1746 'position' => 'top',
1747 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1748 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1749 'messages' => array(
1750 'powersearch-togglelabel',
1751 'powersearch-toggleall',
1752 'powersearch-togglenone',
1755 'mediawiki.special.undelete' => array(
1756 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1758 'mediawiki.special.upload' => array(
1759 'templates' => array(
1760 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1762 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1763 'messages' => array(
1764 'widthheight',
1765 'size-bytes',
1766 'size-kilobytes',
1767 'size-megabytes',
1768 'size-gigabytes',
1769 'largefileserver',
1770 'editwarning-warning',
1771 // editwarning-warning uses {{int:prefs-editing}}
1772 'prefs-editing',
1774 'dependencies' => array(
1775 'jquery.spinner',
1776 'mediawiki.jqueryMsg',
1777 'mediawiki.api',
1778 'mediawiki.libs.jpegmeta',
1779 'mediawiki.Title',
1780 'mediawiki.util',
1781 'mediawiki.confirmCloseWindow',
1782 'user.options',
1785 'mediawiki.special.userlogin.common.styles' => array(
1786 'styles' => array(
1787 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1789 'position' => 'top',
1791 'mediawiki.special.userlogin.signup.styles' => array(
1792 'position' => 'top',
1793 'styles' => array(
1794 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1797 'mediawiki.special.userlogin.login.styles' => array(
1798 'position' => 'top',
1799 'styles' => array(
1800 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1803 'mediawiki.special.userlogin.signup.js' => array(
1804 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1805 'messages' => array(
1806 'createacct-error',
1807 'createacct-emailrequired',
1808 'noname',
1809 'userexists',
1811 'dependencies' => array(
1812 'mediawiki.api',
1813 'mediawiki.jqueryMsg',
1814 'jquery.throttle-debounce',
1817 'mediawiki.special.unwatchedPages' => array(
1818 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1819 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1820 'messages' => array(
1821 'addedwatchtext-short',
1822 'removedwatchtext-short',
1823 'unwatch',
1824 'unwatching',
1825 'watch',
1826 'watcherrortext',
1827 'watching',
1829 'dependencies' => array(
1830 'mediawiki.api',
1831 'mediawiki.api.watch',
1832 'mediawiki.notify',
1833 'mediawiki.Title',
1834 'mediawiki.util',
1837 'mediawiki.special.watchlist' => array(
1838 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
1840 'mediawiki.special.javaScriptTest' => array(
1841 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1842 'messages' => array_merge( Skin::getSkinNameMessages(), array(
1843 'colon-separator',
1844 'javascripttest-pagetext-skins',
1845 ) ),
1846 'dependencies' => 'mediawiki.Uri',
1847 'position' => 'top',
1848 'targets' => array( 'desktop', 'mobile' ),
1850 'mediawiki.special.version' => array(
1851 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1854 /* MediaWiki Installer */
1856 // Used in the web installer. Test it after modifying this definition!
1857 'mediawiki.legacy.config' => array(
1858 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1859 'scripts' => 'mw-config/config.js',
1860 'styles' => 'mw-config/config.css',
1863 /* MediaWiki Legacy */
1865 'mediawiki.legacy.commonPrint' => array(
1866 'position' => 'top',
1867 'styles' => array(
1868 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1871 'mediawiki.legacy.protect' => array(
1872 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1873 'dependencies' => 'jquery.byteLimit',
1874 'messages' => array( 'protect-unchain-permissions' )
1876 // Used in the web installer. Test it after modifying this definition!
1877 'mediawiki.legacy.shared' => array(
1878 'position' => 'top',
1879 'styles' => array(
1880 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1883 'mediawiki.legacy.oldshared' => array(
1884 'position' => 'top',
1885 'styles' => array(
1886 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1889 'mediawiki.legacy.wikibits' => array(
1890 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1891 'dependencies' => 'mediawiki.util',
1892 'position' => 'top',
1893 'targets' => array( 'desktop', 'mobile' ),
1896 /* MediaWiki UI */
1898 'mediawiki.ui' => array(
1899 'position' => 'top',
1900 'skinStyles' => array(
1901 'default' => array(
1902 'resources/src/mediawiki.ui/default.less',
1905 'targets' => array( 'desktop', 'mobile' ),
1907 'mediawiki.ui.checkbox' => array(
1908 'position' => 'top',
1909 'skinStyles' => array(
1910 'default' => array(
1911 'resources/src/mediawiki.ui/components/checkbox.less',
1914 'targets' => array( 'desktop', 'mobile' ),
1916 'mediawiki.ui.radio' => array(
1917 'position' => 'top',
1918 'skinStyles' => array(
1919 'default' => array(
1920 'resources/src/mediawiki.ui/components/radio.less',
1923 'targets' => array( 'desktop', 'mobile' ),
1925 // Lightweight module for anchor styles
1926 'mediawiki.ui.anchor' => array(
1927 'position' => 'top',
1928 'skinStyles' => array(
1929 'default' => array(
1930 'resources/src/mediawiki.ui/components/anchors.less',
1933 'targets' => array( 'desktop', 'mobile' ),
1935 // Lightweight module for button styles
1936 'mediawiki.ui.button' => array(
1937 'position' => 'top',
1938 'skinStyles' => array(
1939 'default' => array(
1940 'resources/src/mediawiki.ui/components/buttons.less',
1943 'targets' => array( 'desktop', 'mobile' ),
1945 'mediawiki.ui.input' => array(
1946 'position' => 'top',
1947 'skinStyles' => array(
1948 'default' => array(
1949 'resources/src/mediawiki.ui/components/inputs.less',
1952 'targets' => array( 'desktop', 'mobile' ),
1954 'mediawiki.ui.icon' => array(
1955 'position' => 'top',
1956 'skinStyles' => array(
1957 'default' => array(
1958 'resources/src/mediawiki.ui/components/icons.less',
1961 'targets' => array( 'desktop', 'mobile' ),
1963 // Lightweight module for text styles
1964 'mediawiki.ui.text' => array(
1965 'position' => 'top',
1966 'skinStyles' => array(
1967 'default' => array(
1968 'resources/src/mediawiki.ui/components/text.less',
1971 'targets' => array( 'desktop', 'mobile' ),
1974 'mediawiki.widgets' => array(
1975 'scripts' => array(
1976 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
1977 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
1978 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
1979 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
1980 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
1981 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
1982 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
1984 'skinStyles' => array(
1985 'default' => array(
1986 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
1989 'dependencies' => array(
1990 'oojs-ui',
1991 'mediawiki.widgets.styles',
1992 // TitleInputWidget
1993 'mediawiki.Title',
1994 'mediawiki.api',
1995 'jquery.byteLimit',
1996 // TitleOptionWidget
1997 'jquery.autoEllipsis',
1998 // FIXME: Kept for bc
1999 'mediawiki.widgets.CategorySelector',
2001 'messages' => array(
2002 // NamespaceInputWidget
2003 'blanknamespace',
2004 'namespacesall',
2005 // TitleInputWidget
2006 'mw-widgets-titleinput-description-new-page',
2007 'mw-widgets-titleinput-description-redirect',
2009 'targets' => array( 'desktop', 'mobile' ),
2011 'mediawiki.widgets.styles' => array(
2012 'skinStyles' => array(
2013 'default' => array(
2014 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2015 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2018 'position' => 'top',
2019 'targets' => array( 'desktop', 'mobile' ),
2021 'mediawiki.widgets.DateInputWidget' => array(
2022 'scripts' => array(
2023 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2024 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2026 'skinStyles' => array(
2027 'default' => array(
2028 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2029 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2032 'messages' => array(
2033 'mw-widgets-dateinput-no-date',
2034 'mw-widgets-dateinput-placeholder-day',
2035 'mw-widgets-dateinput-placeholder-month',
2037 'dependencies' => array(
2038 'oojs-ui',
2039 'moment',
2041 'targets' => array( 'desktop', 'mobile' ),
2043 'mediawiki.widgets.CategorySelector' => array(
2044 'scripts' => array(
2045 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2046 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2048 'dependencies' => array(
2049 'oojs-ui',
2050 'mediawiki.api',
2051 'mediawiki.ForeignApi',
2052 'mediawiki.Title',
2054 'messages' => array(
2055 'red-link-title',
2057 'targets' => array( 'desktop', 'mobile' ),
2059 'mediawiki.widgets.UserInputWidget' => array(
2060 'scripts' => array(
2061 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2063 'dependencies' => array(
2064 'oojs-ui',
2068 /* es5-shim */
2069 'es5-shim' => array(
2070 'scripts' => array(
2071 'resources/lib/es5-shim/es5-shim.js',
2072 'resources/src/polyfill-object-create.js',
2074 'targets' => array( 'desktop', 'mobile' ),
2075 'skipFunction' => 'resources/src/es5-skip.js',
2078 /* dom-level2-shim */
2079 // IE 8
2080 'dom-level2-shim' => array(
2081 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2082 'targets' => array( 'desktop', 'mobile' ),
2083 'skipFunction' => 'resources/src/dom-level2-skip.js',
2086 /* OOjs */
2087 'oojs' => array(
2088 'scripts' => array(
2089 'resources/lib/oojs/oojs.jquery.js',
2091 'targets' => array( 'desktop', 'mobile' ),
2092 'dependencies' => array(
2093 'es5-shim',
2094 'json',
2098 /* OOjs UI */
2099 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
2100 // if loaded in browsers that don't support ES5
2101 // @see ResourcesOOUI.php