Fix UserTest case that was missing a cache purge
[mediawiki.git] / resources / Resources.php
blob1dfafc7ce26cc9d3f13e78b88791ab7d8a6987ea
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 [
29 /**
30 * Special modules who have their own classes
32 'startup' => [ 'class' => 'ResourceLoaderStartUpModule' ],
34 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
35 'site' => [ 'class' => 'ResourceLoaderSiteModule' ],
36 'site.styles' => [ 'class' => 'ResourceLoaderSiteStylesModule' ],
37 'noscript' => [
38 'class' => 'ResourceLoaderWikiModule',
39 'styles' => [ 'MediaWiki:Noscript.css' ],
40 'group' => 'noscript',
42 'filepage' => [
43 'position' => 'top',
44 'class' => 'ResourceLoaderWikiModule',
45 'styles' => [ 'MediaWiki:Filepage.css' ],
47 'user.groups' => [
48 // Merged into 'user' since MediaWiki 1.28 - kept for back-compat
49 'dependencies' => 'user',
50 'targets' => [ 'desktop', 'mobile' ],
53 // Scripts managed by the current user (stored in their user space)
54 'user' => [ 'class' => 'ResourceLoaderUserModule' ],
55 'user.styles' => [ 'class' => 'ResourceLoaderUserStylesModule' ],
57 // Scripts generated based on the current user's preferences
58 'user.cssprefs' => [ 'class' => 'ResourceLoaderUserCSSPrefsModule' ],
60 // Populate mediawiki.user placeholders with information about the current user
61 'user.defaults' => [ 'class' => 'ResourceLoaderUserDefaultsModule' ],
62 'user.options' => [ 'class' => 'ResourceLoaderUserOptionsModule' ],
63 'user.tokens' => [ 'class' => 'ResourceLoaderUserTokensModule' ],
65 // Scripts for the dynamic language specific data, like grammar forms.
66 'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
68 /* MediaWiki base skinning modules */
70 /**
71 * Common skin styles, grouped into three graded levels.
73 * Level 1 "elements":
74 * The base level that only contains the most basic of common skin styles.
75 * Only styles for single elements are included, no styling for complex structures like the
76 * TOC is present. This level is for skins that want to implement the entire style of even
77 * content area structures like the TOC themselves.
79 * Level 2 "content":
80 * The most commonly used level for skins implemented from scratch. This level includes all
81 * the single element styles from "elements" as well as styles for complex structures such
82 * as the TOC that are output in the content area by MediaWiki rather than the skin.
83 * Essentially this is the common level that lets skins leave the style of the content area
84 * as it is normally styled, while leaving the rest of the skin up to the skin
85 * implementation.
87 * Level 3 "interface":
88 * The highest level, this stylesheet contains extra common styles for classes like
89 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
90 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
91 * common to MonoBook clones. And since practically every skin that currently exists within
92 * core is a MonoBook clone, all our core skins currently use this level.
94 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
95 * dependency management. As a result they contain duplicate stylesheet references instead of
96 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
97 * including more than one of them into your skin as this will result in duplicate CSS.
99 'mediawiki.skinning.elements' => [
100 'position' => 'top',
101 'styles' => [
102 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
105 'mediawiki.skinning.content' => [
106 'position' => 'top',
107 'styles' => [
108 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
109 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
112 // Used in the web installer. Test it after modifying this definition!
113 'mediawiki.skinning.interface' => [
114 'position' => 'top',
115 'class' => 'ResourceLoaderSkinModule',
116 'styles' => [
117 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
118 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
119 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
123 'mediawiki.skinning.content.parsoid' => [
124 'position' => 'top',
125 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
126 // with the interface.css styles; skinStyles should be used if your
127 // skin over-rides common content styling.
128 'skinStyles' => [
129 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
131 'targets' => [ 'desktop', 'mobile' ],
134 'mediawiki.skinning.content.externallinks' => [
135 'position' => 'bottom',
136 'styles' => [
137 'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
141 /* jQuery */
143 'jquery' => [
144 'scripts' => [
145 'resources/lib/jquery/jquery.js',
147 'raw' => true,
148 'targets' => [ 'desktop', 'mobile' ],
151 /* jQuery Plugins */
153 'jquery.accessKeyLabel' => [
154 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
155 'dependencies' => [
156 'jquery.client',
157 'mediawiki.RegExp',
159 'messages' => [ 'brackets', 'word-separator' ],
160 'targets' => [ 'mobile', 'desktop' ],
162 'jquery.appear' => [
163 'deprecated' => [
164 'message' => 'Please use "mediawiki.viewport" instead.',
166 'scripts' => 'resources/lib/jquery/jquery.appear.js',
168 'jquery.arrowSteps' => [
169 'deprecated' => true,
170 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
171 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
172 'targets' => [ 'desktop', 'mobile' ],
174 'jquery.async' => [
175 'scripts' => 'resources/lib/jquery/jquery.async.js',
177 'jquery.autoEllipsis' => [
178 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
179 'dependencies' => 'jquery.highlightText',
180 'targets' => [ 'desktop', 'mobile' ],
182 'jquery.badge' => [
183 'scripts' => 'resources/src/jquery/jquery.badge.js',
184 'styles' => 'resources/src/jquery/jquery.badge.css',
185 'dependencies' => 'mediawiki.language',
187 'jquery.byteLength' => [
188 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
189 'targets' => [ 'desktop', 'mobile' ],
191 'jquery.byteLimit' => [
192 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
193 'dependencies' => 'jquery.byteLength',
194 'targets' => [ 'desktop', 'mobile' ],
196 'jquery.checkboxShiftClick' => [
197 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
198 'targets' => [ 'desktop', 'mobile' ],
200 'jquery.chosen' => [
201 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
202 'styles' => 'resources/lib/jquery.chosen/chosen.css',
204 'jquery.client' => [
205 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
206 'targets' => [ 'desktop', 'mobile' ],
208 'jquery.color' => [
209 'scripts' => 'resources/src/jquery/jquery.color.js',
210 'dependencies' => 'jquery.colorUtil',
212 'jquery.colorUtil' => [
213 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
215 'jquery.confirmable' => [
216 'scripts' => [
217 'resources/src/jquery/jquery.confirmable.js',
218 'resources/src/jquery/jquery.confirmable.mediawiki.js',
220 'messages' => [
221 'confirmable-confirm',
222 'confirmable-yes',
223 'confirmable-no',
224 'word-separator',
226 'styles' => 'resources/src/jquery/jquery.confirmable.css',
227 'dependencies' => 'mediawiki.jqueryMsg',
229 'jquery.cookie' => [
230 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
231 'targets' => [ 'desktop', 'mobile' ],
233 'jquery.expandableField' => [
234 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
236 'jquery.farbtastic' => [
237 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
238 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
239 'dependencies' => 'jquery.colorUtil',
241 'jquery.footHovzer' => [
242 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
243 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
245 'jquery.form' => [
246 'scripts' => 'resources/lib/jquery/jquery.form.js',
248 'jquery.fullscreen' => [
249 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
251 'jquery.getAttrs' => [
252 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
253 'targets' => [ 'desktop', 'mobile' ],
255 'jquery.hidpi' => [
256 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
257 'targets' => [ 'desktop', 'mobile' ],
259 'jquery.highlightText' => [
260 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
261 'dependencies' => [
262 'mediawiki.RegExp',
263 'dom-level2-shim',
265 'targets' => [ 'desktop', 'mobile' ],
267 'jquery.hoverIntent' => [
268 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
270 'jquery.i18n' => [
271 'scripts' => [
272 'resources/lib/jquery.i18n/src/jquery.i18n.js',
273 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
274 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
275 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
276 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
277 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
278 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
280 'dependencies' => 'mediawiki.libs.pluralruleparser',
281 'languageScripts' => [
282 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
283 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
284 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
285 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
286 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
287 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
288 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
289 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
290 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
291 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
292 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
293 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
294 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
295 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
297 'targets' => [ 'desktop', 'mobile' ],
299 'jquery.localize' => [
300 'scripts' => 'resources/src/jquery/jquery.localize.js',
302 'jquery.makeCollapsible' => [
303 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
304 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
305 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
306 'targets' => [ 'desktop', 'mobile' ],
308 'jquery.mockjax' => [
309 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
311 'jquery.mw-jump' => [
312 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
313 'targets' => [ 'desktop', 'mobile' ],
315 'jquery.mwExtension' => [
316 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
317 'targets' => [ 'desktop', 'mobile' ],
319 'jquery.placeholder' => [
320 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
321 'targets' => [ 'desktop', 'mobile' ],
323 'jquery.qunit' => [
324 'scripts' => 'resources/lib/qunitjs/qunit.js',
325 'styles' => 'resources/lib/qunitjs/qunit.css',
326 'position' => 'top',
327 'targets' => [ 'desktop', 'mobile' ],
329 'jquery.qunit.completenessTest' => [
330 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
331 'dependencies' => 'jquery.qunit',
332 'targets' => [ 'desktop', 'mobile' ],
334 'jquery.spinner' => [
335 'scripts' => 'resources/src/jquery/jquery.spinner.js',
336 'styles' => 'resources/src/jquery/jquery.spinner.css',
337 'targets' => [ 'desktop', 'mobile' ],
339 'jquery.jStorage' => [
340 'deprecated' => [
341 'message' => 'Please use "mediawiki.storage" instead.',
343 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
344 'dependencies' => 'json',
346 'jquery.suggestions' => [
347 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
348 'styles' => 'resources/src/jquery/jquery.suggestions.css',
349 'dependencies' => 'jquery.highlightText',
351 'jquery.tabIndex' => [
352 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
354 'jquery.tablesorter' => [
355 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
356 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
357 'messages' => [ 'sort-descending', 'sort-ascending' ],
358 'dependencies' => [
359 'dom-level2-shim',
360 'mediawiki.RegExp',
361 'mediawiki.language.months',
364 'jquery.textSelection' => [
365 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
366 'dependencies' => 'jquery.client',
367 'targets' => [ 'mobile', 'desktop' ],
369 'jquery.throttle-debounce' => [
370 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
371 'targets' => [ 'desktop', 'mobile' ],
373 'jquery.xmldom' => [
374 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
377 /* jQuery Tipsy */
379 'jquery.tipsy' => [
380 'deprecated' => true,
381 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
382 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
385 /* jQuery UI */
387 'jquery.ui.core' => [
388 'deprecated' => [
389 'message' => 'Please use "mediawiki.ui.button" or "oojs-ui" instead.',
391 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
392 'dependencies' => [
393 'jquery.ui.core.styles',
395 'group' => 'jquery.ui',
397 'jquery.ui.core.styles' => [
398 'position' => 'top',
399 'skinStyles' => [
400 'default' => [
401 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
402 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
405 'group' => 'jquery.ui',
407 'jquery.ui.accordion' => [
408 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
409 'dependencies' => [
410 'jquery.ui.core',
411 'jquery.ui.widget',
413 'skinStyles' => [
414 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
416 'group' => 'jquery.ui',
418 'jquery.ui.autocomplete' => [
419 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
420 'dependencies' => [
421 'jquery.ui.core',
422 'jquery.ui.widget',
423 'jquery.ui.position',
424 'jquery.ui.menu',
426 'skinStyles' => [
427 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
429 'group' => 'jquery.ui',
431 'jquery.ui.button' => [
432 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
433 'dependencies' => [
434 'jquery.ui.core',
435 'jquery.ui.widget',
437 'skinStyles' => [
438 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
440 'group' => 'jquery.ui',
442 'jquery.ui.datepicker' => [
443 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
444 'dependencies' => 'jquery.ui.core',
445 'skinStyles' => [
446 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
448 'languageScripts' => [
449 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
450 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
451 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
452 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
453 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
454 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
455 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
456 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
457 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
458 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
459 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
460 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
461 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
462 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
463 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
464 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
465 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
466 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
467 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
468 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
469 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
470 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
471 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
472 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
473 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
474 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
475 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
476 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
477 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
478 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
479 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
480 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
481 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
482 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
483 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
484 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
485 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
486 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
487 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
488 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
489 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
490 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
491 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
492 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
493 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
494 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
495 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
496 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
497 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
498 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
499 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
500 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
501 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
502 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
503 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
504 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
505 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
506 'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
507 'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
508 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
509 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
510 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
511 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
512 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
513 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
514 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
515 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
516 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
517 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
519 'group' => 'jquery.ui',
521 'jquery.ui.dialog' => [
522 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
523 'dependencies' => [
524 'jquery.ui.core',
525 'jquery.ui.widget',
526 'jquery.ui.button',
527 'jquery.ui.draggable',
528 'jquery.ui.mouse',
529 'jquery.ui.position',
530 'jquery.ui.resizable',
532 'skinStyles' => [
533 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
535 'group' => 'jquery.ui',
537 'jquery.ui.draggable' => [
538 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
539 'dependencies' => [
540 'jquery.ui.core',
541 'jquery.ui.mouse',
542 'jquery.ui.widget',
544 'group' => 'jquery.ui',
546 'jquery.ui.droppable' => [
547 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
548 'dependencies' => [
549 'jquery.ui.core',
550 'jquery.ui.mouse',
551 'jquery.ui.widget',
552 'jquery.ui.draggable',
554 'group' => 'jquery.ui',
556 'jquery.ui.menu' => [
557 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
558 'dependencies' => [
559 'jquery.ui.core',
560 'jquery.ui.widget',
561 'jquery.ui.position',
563 'skinStyles' => [
564 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
566 'group' => 'jquery.ui',
568 'jquery.ui.mouse' => [
569 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
570 'dependencies' => 'jquery.ui.widget',
571 'group' => 'jquery.ui',
573 'jquery.ui.position' => [
574 'deprecated' => true,
575 'targets' => [ 'mobile', 'desktop' ],
576 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
577 'group' => 'jquery.ui',
579 'jquery.ui.progressbar' => [
580 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
581 'dependencies' => [
582 'jquery.ui.core',
583 'jquery.ui.widget',
585 'skinStyles' => [
586 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
588 'group' => 'jquery.ui',
590 'jquery.ui.resizable' => [
591 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
592 'dependencies' => [
593 'jquery.ui.core',
594 'jquery.ui.widget',
595 'jquery.ui.mouse',
597 'skinStyles' => [
598 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
600 'group' => 'jquery.ui',
602 'jquery.ui.selectable' => [
603 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
604 'dependencies' => [
605 'jquery.ui.core',
606 'jquery.ui.widget',
607 'jquery.ui.mouse',
609 'skinStyles' => [
610 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
612 'group' => 'jquery.ui',
614 'jquery.ui.slider' => [
615 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
616 'dependencies' => [
617 'jquery.ui.core',
618 'jquery.ui.widget',
619 'jquery.ui.mouse',
621 'skinStyles' => [
622 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
624 'group' => 'jquery.ui',
626 'jquery.ui.sortable' => [
627 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
628 'dependencies' => [
629 'jquery.ui.core',
630 'jquery.ui.mouse',
631 'jquery.ui.widget',
633 'group' => 'jquery.ui',
635 'jquery.ui.spinner' => [
636 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
637 'dependencies' => [
638 'jquery.ui.core',
639 'jquery.ui.widget',
640 'jquery.ui.button',
642 'skinStyles' => [
643 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
645 'group' => 'jquery.ui',
647 'jquery.ui.tabs' => [
648 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
649 'dependencies' => [
650 'jquery.ui.core',
651 'jquery.ui.widget',
653 'skinStyles' => [
654 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
656 'group' => 'jquery.ui',
658 'jquery.ui.tooltip' => [
659 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
660 'dependencies' => [
661 'jquery.ui.core',
662 'jquery.ui.widget',
663 'jquery.ui.position',
665 'skinStyles' => [
666 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
668 'group' => 'jquery.ui',
670 'jquery.ui.widget' => [
671 'deprecated' => true,
672 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
673 'group' => 'jquery.ui',
675 // Effects
676 'jquery.effects.core' => [
677 'deprecated' => true,
678 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
679 'group' => 'jquery.ui',
681 'jquery.effects.blind' => [
682 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
683 'dependencies' => 'jquery.effects.core',
684 'group' => 'jquery.ui',
686 'jquery.effects.bounce' => [
687 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
688 'dependencies' => 'jquery.effects.core',
689 'group' => 'jquery.ui',
691 'jquery.effects.clip' => [
692 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
693 'dependencies' => 'jquery.effects.core',
694 'group' => 'jquery.ui',
696 'jquery.effects.drop' => [
697 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
698 'dependencies' => 'jquery.effects.core',
699 'group' => 'jquery.ui',
701 'jquery.effects.explode' => [
702 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
703 'dependencies' => 'jquery.effects.core',
704 'group' => 'jquery.ui',
706 'jquery.effects.fade' => [
707 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
708 'dependencies' => 'jquery.effects.core',
709 'group' => 'jquery.ui',
711 'jquery.effects.fold' => [
712 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
713 'dependencies' => 'jquery.effects.core',
714 'group' => 'jquery.ui',
716 'jquery.effects.highlight' => [
717 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
718 'dependencies' => 'jquery.effects.core',
719 'group' => 'jquery.ui',
721 'jquery.effects.pulsate' => [
722 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
723 'dependencies' => 'jquery.effects.core',
724 'group' => 'jquery.ui',
726 'jquery.effects.scale' => [
727 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
728 'dependencies' => 'jquery.effects.core',
729 'group' => 'jquery.ui',
731 'jquery.effects.shake' => [
732 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
733 'dependencies' => 'jquery.effects.core',
734 'group' => 'jquery.ui',
736 'jquery.effects.slide' => [
737 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
738 'dependencies' => 'jquery.effects.core',
739 'group' => 'jquery.ui',
741 'jquery.effects.transfer' => [
742 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
743 'dependencies' => 'jquery.effects.core',
744 'group' => 'jquery.ui',
747 /* json2 */
749 'json' => [
750 'scripts' => 'resources/lib/json2/json2.js',
751 'targets' => [ 'desktop', 'mobile' ],
752 'skipFunction' => 'resources/src/json-skip.js',
755 /* Moment.js */
757 'moment' => [
758 'scripts' => [
759 'resources/lib/moment/moment.js',
760 'resources/src/moment-global.js',
762 'languageScripts' => [
763 'af' => 'resources/lib/moment/locale/af.js',
764 'ar' => 'resources/lib/moment/locale/ar.js',
765 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
766 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
767 'az' => 'resources/lib/moment/locale/az.js',
768 'be' => 'resources/lib/moment/locale/be.js',
769 'bg' => 'resources/lib/moment/locale/bg.js',
770 'bn' => 'resources/lib/moment/locale/bn.js',
771 'bo' => 'resources/lib/moment/locale/bo.js',
772 'br' => 'resources/lib/moment/locale/br.js',
773 'bs' => 'resources/lib/moment/locale/bs.js',
774 'ca' => 'resources/lib/moment/locale/ca.js',
775 'cs' => 'resources/lib/moment/locale/cs.js',
776 'cv' => 'resources/lib/moment/locale/cv.js',
777 'cy' => 'resources/lib/moment/locale/cy.js',
778 'da' => 'resources/lib/moment/locale/da.js',
779 'de' => 'resources/lib/moment/locale/de.js',
780 'de-at' => 'resources/lib/moment/locale/de-at.js',
781 'el' => 'resources/lib/moment/locale/el.js',
782 'en' => 'resources/src/moment-dmy.js',
783 'en-au' => 'resources/lib/moment/locale/en-au.js',
784 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
785 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
786 'eo' => 'resources/lib/moment/locale/eo.js',
787 'es' => 'resources/lib/moment/locale/es.js',
788 'et' => 'resources/lib/moment/locale/et.js',
789 'eu' => 'resources/lib/moment/locale/eu.js',
790 'fa' => 'resources/lib/moment/locale/fa.js',
791 'fi' => 'resources/lib/moment/locale/fi.js',
792 'fo' => 'resources/lib/moment/locale/fo.js',
793 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
794 'fr' => 'resources/lib/moment/locale/fr.js',
795 'gl' => 'resources/lib/moment/locale/gl.js',
796 'he' => 'resources/lib/moment/locale/he.js',
797 'hi' => 'resources/lib/moment/locale/hi.js',
798 'hr' => 'resources/lib/moment/locale/hr.js',
799 'hu' => 'resources/lib/moment/locale/hu.js',
800 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
801 'id' => 'resources/lib/moment/locale/id.js',
802 'is' => 'resources/lib/moment/locale/is.js',
803 'it' => 'resources/lib/moment/locale/it.js',
804 'ja' => 'resources/lib/moment/locale/ja.js',
805 'ka' => 'resources/lib/moment/locale/ka.js',
806 'ko' => 'resources/lib/moment/locale/ko.js',
807 'lt' => 'resources/lib/moment/locale/lt.js',
808 'lv' => 'resources/lib/moment/locale/lv.js',
809 'mk' => 'resources/lib/moment/locale/mk.js',
810 'ml' => 'resources/lib/moment/locale/ml.js',
811 'mr' => 'resources/lib/moment/locale/mr.js',
812 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
813 'my' => 'resources/lib/moment/locale/my.js',
814 'nb' => 'resources/lib/moment/locale/nb.js',
815 'ne' => 'resources/lib/moment/locale/ne.js',
816 'nl' => 'resources/lib/moment/locale/nl.js',
817 'nn' => 'resources/lib/moment/locale/nn.js',
818 'pl' => 'resources/lib/moment/locale/pl.js',
819 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
820 'pt' => 'resources/lib/moment/locale/pt.js',
821 'ro' => 'resources/lib/moment/locale/ro.js',
822 'ru' => 'resources/lib/moment/locale/ru.js',
823 'sk' => 'resources/lib/moment/locale/sk.js',
824 'sl' => 'resources/lib/moment/locale/sl.js',
825 'sq' => 'resources/lib/moment/locale/sq.js',
826 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
827 'sr-el' => 'resources/lib/moment/locale/sr.js',
828 'sv' => 'resources/lib/moment/locale/sv.js',
829 'ta' => 'resources/lib/moment/locale/ta.js',
830 'th' => 'resources/lib/moment/locale/th.js',
831 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
832 'tr' => 'resources/lib/moment/locale/tr.js',
833 'tzm' => 'resources/lib/moment/locale/tzm.js',
834 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
835 'uk' => 'resources/lib/moment/locale/uk.js',
836 'uz' => 'resources/lib/moment/locale/uz.js',
837 'vi' => 'resources/lib/moment/locale/vi.js',
838 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
839 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
840 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
841 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
843 // HACK: skinScripts come after languageScripts, and we need locale overrides to come
844 // after locale definitions
845 'skinScripts' => [
846 'default' => [
847 'resources/src/moment-locale-overrides.js',
850 'dependencies' => [
851 'mediawiki.language',
853 'targets' => [ 'desktop', 'mobile' ],
856 /* MediaWiki */
858 'mediawiki' => [
859 'class' => 'ResourceLoaderRawFileModule',
860 // Keep in sync with maintenance/jsduck/eg-iframe.html
861 'scripts' => [
862 'resources/src/mediawiki/mediawiki.js',
863 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
864 'resources/src/mediawiki/mediawiki.errorLogger.js',
866 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
867 'targets' => [ 'desktop', 'mobile' ],
869 'mediawiki.apihelp' => [
870 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
871 'targets' => [ 'desktop' ],
872 'position' => 'top',
874 'mediawiki.template' => [
875 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
876 'targets' => [ 'desktop', 'mobile' ],
878 'mediawiki.template.mustache' => [
879 'scripts' => [
880 'resources/lib/mustache/mustache.js',
881 'resources/src/mediawiki/mediawiki.template.mustache.js',
883 'targets' => [ 'desktop', 'mobile' ],
884 'dependencies' => 'mediawiki.template',
886 'mediawiki.template.regexp' => [
887 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
888 'targets' => [ 'desktop', 'mobile' ],
889 'dependencies' => 'mediawiki.template',
891 'mediawiki.apipretty' => [
892 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
893 'targets' => [ 'desktop', 'mobile' ],
894 'position' => 'top',
896 'mediawiki.api' => [
897 'scripts' => 'resources/src/mediawiki/api.js',
898 'dependencies' => [
899 'mediawiki.util',
900 'user.tokens',
902 'targets' => [ 'desktop', 'mobile' ],
904 'mediawiki.api.category' => [
905 'scripts' => 'resources/src/mediawiki/api/category.js',
906 'dependencies' => [
907 'mediawiki.api',
908 'mediawiki.Title',
911 'mediawiki.api.edit' => [
912 'scripts' => 'resources/src/mediawiki/api/edit.js',
913 'dependencies' => [
914 'mediawiki.api',
915 'mediawiki.Title',
917 'targets' => [ 'desktop', 'mobile' ],
919 'mediawiki.api.login' => [
920 'scripts' => 'resources/src/mediawiki/api/login.js',
921 'dependencies' => 'mediawiki.api',
923 'mediawiki.api.options' => [
924 'scripts' => 'resources/src/mediawiki/api/options.js',
925 'dependencies' => 'mediawiki.api',
926 'targets' => [ 'desktop', 'mobile' ],
928 'mediawiki.api.parse' => [
929 'scripts' => 'resources/src/mediawiki/api/parse.js',
930 'dependencies' => 'mediawiki.api',
931 'targets' => [ 'desktop', 'mobile' ],
933 'mediawiki.api.upload' => [
934 'scripts' => 'resources/src/mediawiki/api/upload.js',
935 'dependencies' => [
936 'dom-level2-shim',
937 'mediawiki.api',
938 'mediawiki.api.edit',
939 'json',
941 'targets' => [ 'desktop', 'mobile' ],
943 'mediawiki.api.user' => [
944 'scripts' => 'resources/src/mediawiki/api/user.js',
945 'dependencies' => [
946 'mediawiki.api',
948 'targets' => [ 'desktop', 'mobile' ],
950 'mediawiki.api.watch' => [
951 'scripts' => 'resources/src/mediawiki/api/watch.js',
952 'dependencies' => [
953 'mediawiki.api',
956 'mediawiki.api.messages' => [
957 'scripts' => 'resources/src/mediawiki/api/messages.js',
958 'dependencies' => [
959 'mediawiki.api',
961 'targets' => [ 'desktop', 'mobile' ],
963 'mediawiki.api.rollback' => [
964 'scripts' => 'resources/src/mediawiki/api/rollback.js',
965 'dependencies' => [
966 'mediawiki.api',
969 'mediawiki.content.json' => [
970 'position' => 'top',
971 'styles' => 'resources/src/mediawiki/mediawiki.content.json.less',
973 'mediawiki.confirmCloseWindow' => [
974 'scripts' => [
975 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
977 'targets' => [ 'desktop', 'mobile' ],
979 'mediawiki.debug' => [
980 'scripts' => [
981 'resources/src/mediawiki/mediawiki.debug.js',
983 'styles' => [
984 'resources/src/mediawiki/mediawiki.debug.less',
986 'dependencies' => [
987 'jquery.footHovzer',
989 // Uses a custom mw.config variable that is set in debughtml,
990 // must be loaded on the bottom
991 'position' => 'bottom',
993 'mediawiki.diff.styles' => [
994 'position' => 'top',
995 'styles' => [
996 'resources/src/mediawiki/mediawiki.diff.styles.css',
997 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
998 'media' => 'print'
1001 'targets' => [ 'desktop', 'mobile' ],
1003 'mediawiki.feedback' => [
1004 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
1005 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
1006 'dependencies' => [
1007 'mediawiki.messagePoster',
1008 'mediawiki.Title',
1009 'oojs-ui-core',
1010 'oojs-ui-windows',
1012 'messages' => [
1013 'feedback-adding',
1014 'feedback-back',
1015 'feedback-bugcheck',
1016 'feedback-dialog-intro',
1017 'feedback-external-bug-report-button',
1018 'feedback-bugnew',
1019 'feedback-bugornote',
1020 'feedback-cancel',
1021 'feedback-close',
1022 'feedback-dialog-title',
1023 'feedback-error1',
1024 'feedback-error2',
1025 'feedback-error3',
1026 'feedback-error4',
1027 'feedback-message',
1028 'feedback-subject',
1029 'feedback-submit',
1030 'feedback-terms',
1031 'feedback-termsofuse',
1032 'feedback-thanks',
1033 'feedback-thanks-title',
1034 'feedback-useragent'
1036 'targets' => [ 'desktop', 'mobile' ],
1038 'mediawiki.feedlink' => [
1039 'position' => 'top',
1040 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1042 'mediawiki.filewarning' => [
1043 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1044 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1045 'dependencies' => [
1046 'oojs-ui-core',
1049 'mediawiki.ForeignApi' => [
1050 'targets' => [ 'desktop', 'mobile' ],
1051 'class' => 'ResourceLoaderForeignApiModule',
1052 // Additional dependencies generated dynamically
1053 'dependencies' => 'mediawiki.ForeignApi.core',
1055 'mediawiki.ForeignApi.core' => [
1056 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1057 'dependencies' => [
1058 'mediawiki.api',
1059 'oojs',
1061 'targets' => [ 'desktop', 'mobile' ],
1063 'mediawiki.helplink' => [
1064 'position' => 'top',
1065 'styles' => [
1066 'resources/src/mediawiki/mediawiki.helplink.less',
1068 'targets' => [ 'desktop', 'mobile' ],
1070 'mediawiki.hidpi' => [
1071 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1072 'dependencies' => 'jquery.hidpi',
1073 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1074 'targets' => [ 'desktop', 'mobile' ],
1076 'mediawiki.hlist' => [
1077 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1079 'mediawiki.htmlform' => [
1080 'scripts' => [
1081 'resources/src/mediawiki/htmlform/htmlform.js',
1082 'resources/src/mediawiki/htmlform/autocomplete.js',
1083 'resources/src/mediawiki/htmlform/autoinfuse.js',
1084 'resources/src/mediawiki/htmlform/checkmatrix.js',
1085 'resources/src/mediawiki/htmlform/datetime.js',
1086 'resources/src/mediawiki/htmlform/cloner.js',
1087 'resources/src/mediawiki/htmlform/hide-if.js',
1088 'resources/src/mediawiki/htmlform/multiselect.js',
1089 'resources/src/mediawiki/htmlform/selectandother.js',
1090 'resources/src/mediawiki/htmlform/selectorother.js',
1092 'dependencies' => [
1093 'mediawiki.RegExp',
1094 'jquery.byteLimit',
1096 'messages' => [
1097 'htmlform-chosen-placeholder',
1098 // @todo Load this message in content language
1099 'colon-separator',
1101 'targets' => [ 'desktop', 'mobile' ],
1103 'mediawiki.htmlform.ooui' => [
1104 'scripts' => [
1105 'resources/src/mediawiki/htmlform/htmlform.Element.js',
1107 'dependencies' => [
1108 'oojs-ui-core',
1110 'targets' => [ 'desktop', 'mobile' ],
1112 'mediawiki.htmlform.styles' => [
1113 'styles' => 'resources/src/mediawiki/htmlform/styles.css',
1114 'position' => 'top',
1115 'targets' => [ 'desktop', 'mobile' ],
1117 'mediawiki.htmlform.ooui.styles' => [
1118 'styles' => 'resources/src/mediawiki/htmlform/ooui.styles.css',
1119 'position' => 'top',
1120 'targets' => [ 'desktop', 'mobile' ],
1122 'mediawiki.icon' => [
1123 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1124 'targets' => [ 'desktop', 'mobile' ],
1126 'mediawiki.inspect' => [
1127 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1128 'dependencies' => [
1129 'jquery.byteLength',
1130 'mediawiki.RegExp',
1131 'json',
1133 'targets' => [ 'desktop', 'mobile' ],
1135 'mediawiki.messagePoster' => [
1136 'scripts' => [
1137 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1138 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1140 'dependencies' => [
1141 'oojs',
1142 'mediawiki.api',
1143 'mediawiki.ForeignApi',
1145 'targets' => [ 'desktop', 'mobile' ],
1147 'mediawiki.messagePoster.wikitext' => [
1148 'scripts' => [
1149 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1151 'dependencies' => [
1152 'mediawiki.api.edit',
1153 'mediawiki.messagePoster',
1155 'targets' => [ 'desktop', 'mobile' ],
1157 'mediawiki.notification' => [
1158 'styles' => [
1159 'resources/src/mediawiki/mediawiki.notification.common.css',
1160 'resources/src/mediawiki/mediawiki.notification.print.css'
1161 => [ 'media' => 'print' ],
1163 'skinStyles' => [
1164 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1166 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1167 'dependencies' => 'mediawiki.page.startup',
1168 'targets' => [ 'desktop', 'mobile' ],
1170 'mediawiki.notify' => [
1171 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1172 'targets' => [ 'desktop', 'mobile' ],
1174 'mediawiki.notification.convertmessagebox' => [
1175 'dependencies' => [
1176 'mediawiki.notification',
1178 'scripts' => 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.js',
1179 'targets' => [ 'desktop', 'mobile' ],
1181 'mediawiki.notification.convertmessagebox.styles' => [
1182 'position' => 'top',
1183 'styles' => [
1184 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.styles.less',
1186 'targets' => [ 'desktop', 'mobile' ],
1188 'mediawiki.RegExp' => [
1189 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1190 'targets' => [ 'desktop', 'mobile' ],
1192 'mediawiki.pager.tablePager' => [
1193 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1194 'position' => 'top',
1196 'mediawiki.searchSuggest' => [
1197 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1198 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1199 'messages' => [
1200 'searchsuggest-search',
1201 'searchsuggest-containing',
1203 'dependencies' => [
1204 'jquery.client',
1205 'jquery.placeholder',
1206 'jquery.suggestions',
1207 'jquery.getAttrs',
1208 'mediawiki.api',
1211 'mediawiki.sectionAnchor' => [
1212 'position' => 'top',
1213 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1214 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1215 'targets' => [ 'desktop', 'mobile' ],
1217 'mediawiki.storage' => [
1218 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1219 'targets' => [ 'desktop', 'mobile' ],
1221 'mediawiki.Title' => [
1222 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1223 'dependencies' => [
1224 'jquery.byteLength',
1225 'mediawiki.util',
1227 'targets' => [ 'desktop', 'mobile' ],
1229 'mediawiki.Upload' => [
1230 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1231 'dependencies' => [
1232 'dom-level2-shim',
1233 'mediawiki.api.upload',
1236 'mediawiki.ForeignUpload' => [
1237 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1238 'dependencies' => [
1239 'mediawiki.ForeignApi',
1240 'mediawiki.Upload',
1241 'oojs',
1243 'messages' => [
1244 'uploaddisabledtext',
1245 'upload-dialog-disabled',
1246 'upload-foreign-cant-upload',
1249 'mediawiki.ForeignStructuredUpload.config' => [
1250 'class' => 'ResourceLoaderUploadDialogModule',
1252 'mediawiki.ForeignStructuredUpload' => [
1253 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1254 'dependencies' => [
1255 'mediawiki.ForeignUpload',
1256 'mediawiki.ForeignStructuredUpload.config',
1258 'messages' => [
1259 'upload-foreign-cant-load-config',
1262 'mediawiki.Upload.Dialog' => [
1263 'scripts' => [
1264 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1266 'dependencies' => [
1267 'mediawiki.Upload.BookletLayout',
1269 'messages' => [
1270 'upload-dialog-title',
1271 'upload-dialog-button-cancel',
1272 'upload-dialog-button-back',
1273 'upload-dialog-button-done',
1274 'upload-dialog-button-save',
1275 'upload-dialog-button-upload',
1278 'mediawiki.Upload.BookletLayout' => [
1279 'scripts' => [
1280 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1282 'styles' => [
1283 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1285 'dependencies' => [
1286 'oojs-ui-core',
1287 'oojs-ui-widgets',
1288 'oojs-ui-windows',
1289 'oojs-ui.styles.icons-content',
1290 'oojs-ui.styles.icons-editing-advanced',
1291 'moment',
1292 'mediawiki.Title',
1293 'mediawiki.user',
1294 'mediawiki.Upload',
1295 'mediawiki.jqueryMsg',
1296 'mediawiki.widgets.StashedFileWidget'
1298 'messages' => [
1299 'upload-form-label-infoform-title',
1300 'upload-form-label-infoform-name',
1301 'upload-form-label-infoform-name-tooltip',
1302 'upload-form-label-infoform-description',
1303 'upload-form-label-infoform-description-tooltip',
1304 'upload-form-label-usage-title',
1305 'upload-form-label-usage-filename',
1306 'api-error-unknownerror',
1307 'api-error-unknown-warning',
1308 'api-error-autoblocked',
1309 'api-error-blocked',
1310 'api-error-badaccess-groups',
1311 'api-error-badtoken',
1312 'api-error-copyuploaddisabled',
1313 'api-error-duplicate',
1314 'api-error-duplicate-archive',
1315 'api-error-empty-file',
1316 'api-error-emptypage',
1317 'api-error-fetchfileerror',
1318 'api-error-fileexists-forbidden',
1319 'api-error-fileexists-shared-forbidden',
1320 'api-error-file-too-large',
1321 'api-error-filename-tooshort',
1322 'api-error-filetype-banned',
1323 'api-error-filetype-banned-type',
1324 'api-error-filetype-missing',
1325 'api-error-hookaborted',
1326 'api-error-http',
1327 'api-error-illegal-filename',
1328 'api-error-internal-error',
1329 'api-error-invalid-file-key',
1330 'api-error-missingparam',
1331 'api-error-missingresult',
1332 'api-error-mustbeloggedin',
1333 'api-error-mustbeposted',
1334 'api-error-noimageinfo',
1335 'api-error-nomodule',
1336 'api-error-ok-but-empty',
1337 'api-error-overwrite',
1338 'api-error-stashfailed',
1339 'api-error-publishfailed',
1340 'api-error-stasherror',
1341 'api-error-stashedfilenotfound',
1342 'api-error-stashpathinvalid',
1343 'api-error-stashfilestorage',
1344 'api-error-stashzerolength',
1345 'api-error-stashnotloggedin',
1346 'api-error-stashwrongowner',
1347 'api-error-stashnosuchfilekey',
1348 'api-error-timeout',
1349 'api-error-unclassified',
1350 'api-error-unknown-code',
1351 'api-error-unknown-error',
1352 'api-error-uploaddisabled',
1353 'api-error-verification-error',
1354 'api-error-was-deleted',
1355 'fileexists',
1356 'filepageexists',
1357 'filename-bad-prefix',
1358 'filename-thumb-name',
1359 'badfilename',
1360 'protectedpagetext',
1363 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1364 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1365 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1366 'dependencies' => [
1367 'mediawiki.ForeignStructuredUpload',
1368 'mediawiki.Upload.BookletLayout',
1369 'mediawiki.widgets.CategorySelector',
1370 'mediawiki.widgets.DateInputWidget',
1371 'mediawiki.jqueryMsg',
1372 'mediawiki.api.messages',
1373 'moment',
1374 'mediawiki.libs.jpegmeta',
1376 'messages' => [
1377 'upload-form-label-own-work',
1378 'upload-form-label-infoform-categories',
1379 'upload-form-label-infoform-date',
1380 'upload-form-label-own-work-message-generic-local',
1381 'upload-form-label-not-own-work-message-generic-local',
1382 'upload-form-label-not-own-work-local-generic-local',
1383 'upload-form-label-own-work-message-generic-foreign',
1384 'upload-form-label-not-own-work-message-generic-foreign',
1385 'upload-form-label-not-own-work-local-generic-foreign',
1388 'mediawiki.toc' => [
1389 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1390 'styles' => [
1391 'resources/src/mediawiki/mediawiki.toc.css'
1392 => [ 'media' => 'screen' ],
1393 'resources/src/mediawiki/mediawiki.toc.print.css'
1394 => [ 'media' => 'print' ],
1396 'dependencies' => 'mediawiki.cookie',
1397 'messages' => [ 'showtoc', 'hidetoc' ],
1398 'targets' => [ 'desktop', 'mobile' ],
1400 'mediawiki.Uri' => [
1401 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1402 'templates' => [
1403 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1404 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1406 'dependencies' => 'mediawiki.util',
1407 'targets' => [ 'desktop', 'mobile' ],
1409 'mediawiki.user.blockcookie' => [
1410 'scripts' => 'resources/src/mediawiki/mediawiki.user.blockcookie.js',
1411 'dependencies' => [ 'mediawiki.cookie', 'mediawiki.storage' ],
1412 'targets' => [ 'desktop', 'mobile' ],
1414 'mediawiki.user' => [
1415 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1416 'dependencies' => [
1417 'mediawiki.cookie',
1418 'mediawiki.api',
1419 'mediawiki.api.user',
1420 'user.options',
1421 'user.tokens',
1423 'targets' => [ 'desktop', 'mobile' ],
1425 'mediawiki.userSuggest' => [
1426 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1427 'dependencies' => [
1428 'jquery.suggestions',
1429 'mediawiki.api'
1432 'mediawiki.util' => [
1433 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1434 'dependencies' => [
1435 'jquery.accessKeyLabel',
1436 'mediawiki.RegExp',
1437 'mediawiki.notify',
1439 'targets' => [ 'desktop', 'mobile' ],
1441 'mediawiki.viewport' => [
1442 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1443 'position' => 'top',
1444 'targets' => [ 'desktop', 'mobile' ],
1446 'mediawiki.checkboxtoggle' => [
1447 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1449 'mediawiki.checkboxtoggle.styles' => [
1450 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1452 'mediawiki.cookie' => [
1453 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1454 'dependencies' => 'jquery.cookie',
1455 'targets' => [ 'desktop', 'mobile' ],
1457 'mediawiki.toolbar' => [
1458 'class' => 'ResourceLoaderEditToolbarModule',
1459 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1460 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1461 'dependencies' => 'jquery.textSelection',
1462 'position' => 'top',
1464 'mediawiki.experiments' => [
1465 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1466 'targets' => [ 'desktop', 'mobile' ],
1469 /* MediaWiki Action */
1471 'mediawiki.action.edit' => [
1472 'scripts' => [
1473 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1474 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1476 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1477 'dependencies' => [
1478 'mediawiki.action.edit.styles',
1479 'jquery.textSelection',
1480 'jquery.byteLimit',
1481 'mediawiki.api',
1483 'position' => 'top',
1485 'mediawiki.action.edit.styles' => [
1486 'position' => 'top',
1487 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1489 'mediawiki.action.edit.collapsibleFooter' => [
1490 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1491 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1492 'dependencies' => [
1493 'jquery.makeCollapsible',
1494 'mediawiki.cookie',
1495 'mediawiki.icon',
1498 'mediawiki.action.edit.preview' => [
1499 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1500 'dependencies' => [
1501 'jquery.form',
1502 'jquery.spinner',
1503 'jquery.textSelection',
1504 'mediawiki.api',
1505 'mediawiki.diff.styles',
1506 'mediawiki.util',
1507 'mediawiki.jqueryMsg',
1509 'messages' => [
1510 // Keep the uses message keys in sync with EditPage#setHeaders
1511 'creating',
1512 'editconflict',
1513 'editing',
1514 'editingcomment',
1515 'editingsection',
1516 'pagetitle',
1517 'otherlanguages',
1518 'summary-preview',
1519 'subject-preview',
1520 'parentheses',
1521 'previewerrortext',
1524 'mediawiki.action.history' => [
1525 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1526 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1528 'mediawiki.action.history.styles' => [
1529 'position' => 'top',
1530 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1532 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1533 'mediawiki.action.history.diff' => [
1534 'position' => 'top',
1535 'styles' => [
1536 'resources/src/mediawiki/mediawiki.diff.styles.css',
1537 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1538 'media' => 'print'
1541 'targets' => [ 'desktop', 'mobile' ],
1543 'mediawiki.action.view.dblClickEdit' => [
1544 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1545 'dependencies' => [
1546 'mediawiki.util',
1547 'mediawiki.page.startup',
1548 'user.options',
1551 'mediawiki.action.view.metadata' => [
1552 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1553 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1554 'messages' => [
1555 'metadata-expand',
1556 'metadata-collapse',
1559 'mediawiki.action.view.categoryPage.styles' => [
1560 'position' => 'top',
1561 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1562 'targets' => [ 'desktop', 'mobile' ]
1564 'mediawiki.action.view.postEdit' => [
1565 'templates' => [
1566 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1568 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1569 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1570 'dependencies' => [
1571 'mediawiki.cookie',
1572 'mediawiki.jqueryMsg'
1574 'messages' => [
1575 'postedit-confirmation-created',
1576 'postedit-confirmation-restored',
1577 'postedit-confirmation-saved',
1580 'mediawiki.action.view.redirect' => [
1581 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1582 'dependencies' => 'jquery.client',
1583 'position' => 'top',
1584 'targets' => [ 'desktop', 'mobile' ],
1586 'mediawiki.action.view.redirectPage' => [
1587 'position' => 'top',
1588 'targets' => [ 'desktop', 'mobile' ],
1589 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1591 'mediawiki.action.view.rightClickEdit' => [
1592 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1594 'mediawiki.action.edit.editWarning' => [
1595 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1596 'dependencies' => [
1597 'jquery.textSelection',
1598 'mediawiki.jqueryMsg',
1599 'mediawiki.confirmCloseWindow',
1600 'user.options',
1602 'messages' => [
1603 'editwarning-warning',
1604 // editwarning-warning uses {{int:prefs-editing}}
1605 'prefs-editing'
1608 'mediawiki.action.view.filepage' => [
1609 'styles' => [
1610 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1611 [ 'media' => 'print' ],
1612 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1614 'position' => 'top',
1617 /* MediaWiki Language */
1619 'mediawiki.language' => [
1620 'scripts' => [
1621 'resources/src/mediawiki.language/mediawiki.language.js',
1622 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1623 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1625 'languageScripts' => [
1626 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1627 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1628 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1629 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1630 'he' => 'resources/src/mediawiki.language/languages/he.js',
1631 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1632 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1633 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1634 'la' => 'resources/src/mediawiki.language/languages/la.js',
1635 'os' => 'resources/src/mediawiki.language/languages/os.js',
1636 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1637 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1638 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1640 'dependencies' => [
1641 'mediawiki.language.data',
1642 'mediawiki.cldr',
1644 'targets' => [ 'desktop', 'mobile' ],
1645 'messages' => [
1646 'and',
1647 'comma-separator',
1648 'word-separator'
1652 'mediawiki.cldr' => [
1653 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1654 'dependencies' => [
1655 'mediawiki.libs.pluralruleparser',
1657 'targets' => [ 'desktop', 'mobile' ],
1660 'mediawiki.libs.pluralruleparser' => [
1661 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1662 'targets' => [ 'desktop', 'mobile' ],
1665 'mediawiki.language.init' => [
1666 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1667 'targets' => [ 'desktop', 'mobile' ],
1670 'mediawiki.jqueryMsg' => [
1671 // Add data for mediawiki.jqueryMsg, such as allowed tags
1672 'class' => 'ResourceLoaderJqueryMsgModule',
1673 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1674 'dependencies' => [
1675 'mediawiki.util',
1676 'mediawiki.language',
1677 'user.options',
1678 'dom-level2-shim',
1680 'targets' => [ 'desktop', 'mobile' ],
1683 'mediawiki.language.months' => [
1684 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1685 'dependencies' => 'mediawiki.language',
1686 'messages' => array_merge(
1687 Language::$mMonthMsgs,
1688 Language::$mMonthGenMsgs,
1689 Language::$mMonthAbbrevMsgs
1693 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1695 'mediawiki.language.specialCharacters' => [
1696 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1699 /* MediaWiki Libs */
1701 'mediawiki.libs.jpegmeta' => [
1702 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1703 'targets' => [ 'desktop', 'mobile' ],
1706 /* MediaWiki Page */
1708 'mediawiki.page.gallery' => [
1709 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1710 'dependencies' => [
1711 'mediawiki.page.gallery.styles',
1712 'jquery.throttle-debounce',
1715 'mediawiki.page.gallery.styles' => [
1716 'styles' => [
1717 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1718 'resources/src/mediawiki/page/gallery.css',
1720 'position' => 'top',
1721 'targets' => [ 'desktop', 'mobile' ],
1723 'mediawiki.page.gallery.slideshow' => [
1724 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1725 'position' => 'top',
1726 'dependencies' => [
1727 'mediawiki.api',
1728 'mediawiki.Title',
1729 'oojs',
1730 'oojs-ui-core',
1731 'oojs-ui-widgets',
1732 'oojs-ui.styles.icons-media'
1734 'messages' => [
1735 'gallery-slideshow-toggle'
1738 'mediawiki.page.ready' => [
1739 'scripts' => 'resources/src/mediawiki/page/ready.js',
1740 'dependencies' => [
1741 'jquery.accessKeyLabel',
1742 'jquery.checkboxShiftClick',
1743 'jquery.makeCollapsible',
1744 'jquery.placeholder',
1745 'jquery.mw-jump',
1747 'targets' => [ 'desktop', 'mobile' ],
1749 'mediawiki.page.startup' => [
1750 'scripts' => 'resources/src/mediawiki/page/startup.js',
1751 'dependencies' => 'mediawiki.util',
1752 'position' => 'top',
1753 'targets' => [ 'desktop', 'mobile' ],
1755 'mediawiki.page.patrol.ajax' => [
1756 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1757 'dependencies' => [
1758 'mediawiki.page.startup',
1759 'mediawiki.api',
1760 'mediawiki.util',
1761 'mediawiki.Title',
1762 'mediawiki.notify',
1763 'jquery.spinner',
1764 'user.tokens'
1766 'messages' => [
1767 'markedaspatrollednotify',
1768 'markedaspatrollederrornotify',
1769 'markedaspatrollederror-noautopatrol'
1772 'mediawiki.page.watch.ajax' => [
1773 'scripts' => 'resources/src/mediawiki/page/watch.js',
1774 'dependencies' => [
1775 'mediawiki.page.startup',
1776 'mediawiki.api.watch',
1777 'mediawiki.notify',
1778 'mediawiki.util',
1779 'jquery.accessKeyLabel',
1780 'mediawiki.RegExp',
1782 'messages' => [
1783 'watch',
1784 'unwatch',
1785 'watching',
1786 'unwatching',
1787 'tooltip-ca-watch',
1788 'tooltip-ca-unwatch',
1789 'watcherrortext',
1792 'mediawiki.page.rollback' => [
1793 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1794 'dependencies' => [
1795 'mediawiki.api.rollback',
1796 'mediawiki.notify',
1797 'jquery.spinner',
1799 'messages' => [
1800 'rollbackfailed',
1801 'actioncomplete',
1804 'mediawiki.page.image.pagination' => [
1805 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1806 'dependencies' => [
1807 'mediawiki.util',
1808 'jquery.spinner',
1812 /* MediaWiki Special pages */
1814 'mediawiki.special' => [
1815 'position' => 'top',
1816 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1817 'targets' => [ 'desktop', 'mobile' ],
1819 'mediawiki.special.apisandbox.styles' => [
1820 'targets' => [ 'desktop', 'mobile' ],
1821 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1823 'mediawiki.special.apisandbox' => [
1824 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1825 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1826 'targets' => [ 'desktop', 'mobile' ],
1827 'dependencies' => [
1828 'mediawiki.api',
1829 'mediawiki.jqueryMsg',
1830 'oojs-ui',
1831 'mediawiki.widgets.datetime',
1833 'messages' => [
1834 'apisandbox-intro',
1835 'apisandbox-submit',
1836 'apisandbox-reset',
1837 'apisandbox-fullscreen',
1838 'apisandbox-fullscreen-tooltip',
1839 'apisandbox-unfullscreen',
1840 'apisandbox-unfullscreen-tooltip',
1841 'apisandbox-retry',
1842 'apisandbox-loading',
1843 'apisandbox-load-error',
1844 'apisandbox-fetch-token',
1845 'apisandbox-helpurls',
1846 'apisandbox-examples',
1847 'apisandbox-dynamic-parameters',
1848 'apisandbox-dynamic-parameters-add-label',
1849 'apisandbox-dynamic-parameters-add-placeholder',
1850 'apisandbox-dynamic-error-exists',
1851 'apisandbox-deprecated-parameters',
1852 'apisandbox-no-parameters',
1853 'api-help-param-limit',
1854 'api-help-param-limit2',
1855 'api-help-param-integer-min',
1856 'api-help-param-integer-max',
1857 'api-help-param-integer-minmax',
1858 'api-help-param-multi-separate',
1859 'api-help-param-multi-max',
1860 'apisandbox-submit-invalid-fields-title',
1861 'apisandbox-submit-invalid-fields-message',
1862 'apisandbox-results',
1863 'apisandbox-sending-request',
1864 'apisandbox-loading-results',
1865 'apisandbox-results-error',
1866 'apisandbox-request-url-label',
1867 'apisandbox-request-time',
1868 'apisandbox-results-fixtoken',
1869 'apisandbox-results-fixtoken-fail',
1870 'apisandbox-alert-page',
1871 'apisandbox-alert-field',
1872 'apisandbox-continue',
1873 'apisandbox-continue-clear',
1874 'apisandbox-continue-help',
1875 'apisandbox-param-limit',
1876 'api-format-prettyprint-status',
1877 'blanknamespace',
1880 'mediawiki.special.block' => [
1881 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1882 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1883 'dependencies' => 'mediawiki.util',
1885 'mediawiki.special.changeslist' => [
1886 'position' => 'top',
1887 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1889 'mediawiki.special.changeslist.legend' => [
1890 'position' => 'top',
1891 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1893 'mediawiki.special.changeslist.legend.js' => [
1894 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1895 'dependencies' => [
1896 'jquery.makeCollapsible',
1897 'mediawiki.cookie',
1900 'mediawiki.special.changeslist.enhanced' => [
1901 'position' => 'top',
1902 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1904 'mediawiki.special.changeslist.visitedstatus' => [
1905 'position' => 'top',
1906 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1908 'mediawiki.special.comparepages.styles' => [
1909 'position' => 'top',
1910 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1912 'mediawiki.special.edittags' => [
1913 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1914 'dependencies' => [
1915 'jquery.chosen',
1917 'messages' => [
1918 'tags-edit-chosen-placeholder',
1919 'tags-edit-chosen-no-results',
1922 'mediawiki.special.edittags.styles' => [
1923 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1924 'position' => 'top',
1926 'mediawiki.special.import' => [
1927 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1929 'mediawiki.special.movePage' => [
1930 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1931 'dependencies' => [
1932 'jquery.byteLimit',
1933 'mediawiki.widgets',
1936 'mediawiki.special.movePage.styles' => [
1937 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1938 'position' => 'top',
1940 'mediawiki.special.pageLanguage' => [
1941 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1942 'dependencies' => [
1943 'oojs-ui-core',
1946 'mediawiki.special.pagesWithProp' => [
1947 'position' => 'top',
1948 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1950 'mediawiki.special.preferences' => [
1951 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1952 'position' => 'top',
1953 'messages' => [
1954 'prefs-tabs-navigation-hint',
1955 'prefswarning-warning',
1956 'saveprefs',
1957 'savedprefs',
1959 'dependencies' => [
1960 'mediawiki.language',
1961 'mediawiki.confirmCloseWindow',
1962 'mediawiki.notification.convertmessagebox',
1965 'mediawiki.special.userrights' => [
1966 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
1967 'dependencies' => [
1968 'mediawiki.notification.convertmessagebox',
1971 'mediawiki.special.preferences.styles' => [
1972 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1973 'position' => 'top',
1975 'mediawiki.special.recentchanges' => [
1976 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1977 'position' => 'top',
1979 'mediawiki.special.search' => [
1980 'position' => 'top',
1981 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1982 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1983 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
1984 'messages' => [
1985 'powersearch-togglelabel',
1986 'powersearch-toggleall',
1987 'powersearch-togglenone',
1990 'mediawiki.special.search.styles' => [
1991 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
1992 'targets' => [ 'desktop', 'mobile' ],
1994 'mediawiki.special.undelete' => [
1995 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1997 'mediawiki.special.upload' => [
1998 'templates' => [
1999 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
2001 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
2002 'messages' => [
2003 'widthheight',
2004 'size-bytes',
2005 'size-kilobytes',
2006 'size-megabytes',
2007 'size-gigabytes',
2008 'largefileserver',
2009 'editwarning-warning',
2010 // editwarning-warning uses {{int:prefs-editing}}
2011 'prefs-editing',
2013 'dependencies' => [
2014 'mediawiki.special.upload.styles',
2015 'jquery.spinner',
2016 'mediawiki.jqueryMsg',
2017 'mediawiki.api',
2018 'mediawiki.libs.jpegmeta',
2019 'mediawiki.Title',
2020 'mediawiki.util',
2021 'mediawiki.confirmCloseWindow',
2022 'user.options',
2025 'mediawiki.special.upload.styles' => [
2026 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2028 'mediawiki.special.userlogin.common.styles' => [
2029 'styles' => [
2030 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2032 'position' => 'top',
2034 'mediawiki.special.userlogin.signup.styles' => [
2035 'position' => 'top',
2036 'styles' => [
2037 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2040 'mediawiki.special.userlogin.login.styles' => [
2041 'position' => 'top',
2042 'styles' => [
2043 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2046 'mediawiki.special.userlogin.signup.js' => [
2047 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2048 'messages' => [
2049 'createacct-error',
2050 'createacct-emailrequired',
2051 'noname',
2052 'userexists',
2054 'dependencies' => [
2055 'mediawiki.api',
2056 'mediawiki.jqueryMsg',
2057 'jquery.throttle-debounce',
2060 'mediawiki.special.unwatchedPages' => [
2061 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2062 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2063 'messages' => [
2064 'addedwatchtext-short',
2065 'removedwatchtext-short',
2066 'unwatch',
2067 'unwatching',
2068 'watch',
2069 'watcherrortext',
2070 'watching',
2072 'dependencies' => [
2073 'mediawiki.api',
2074 'mediawiki.api.watch',
2075 'mediawiki.notify',
2076 'mediawiki.Title',
2077 'mediawiki.util',
2080 'mediawiki.special.watchlist' => [
2081 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2083 'mediawiki.special.version' => [
2084 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2087 /* MediaWiki Installer */
2089 // Used in the web installer. Test it after modifying this definition!
2090 'mediawiki.legacy.config' => [
2091 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2092 'scripts' => 'mw-config/config.js',
2093 'styles' => 'mw-config/config.css',
2096 /* MediaWiki Legacy */
2098 'mediawiki.legacy.commonPrint' => [
2099 'position' => 'top',
2100 'styles' => [
2101 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2104 'mediawiki.legacy.protect' => [
2105 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2106 'dependencies' => 'jquery.byteLimit',
2107 'messages' => [ 'protect-unchain-permissions' ]
2109 // Used in the web installer. Test it after modifying this definition!
2110 'mediawiki.legacy.shared' => [
2111 'position' => 'top',
2112 'styles' => [
2113 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2116 'mediawiki.legacy.oldshared' => [
2117 'position' => 'top',
2118 'styles' => [
2119 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2122 'mediawiki.legacy.wikibits' => [
2123 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2124 'dependencies' => 'mediawiki.util',
2125 'position' => 'top',
2126 'targets' => [ 'desktop', 'mobile' ],
2129 /* MediaWiki UI */
2131 'mediawiki.ui' => [
2132 'position' => 'top',
2133 'skinStyles' => [
2134 'default' => [
2135 'resources/src/mediawiki.ui/default.less',
2138 'targets' => [ 'desktop', 'mobile' ],
2140 'mediawiki.ui.checkbox' => [
2141 'position' => 'top',
2142 'skinStyles' => [
2143 'default' => [
2144 'resources/src/mediawiki.ui/components/checkbox.less',
2147 'targets' => [ 'desktop', 'mobile' ],
2149 'mediawiki.ui.radio' => [
2150 'position' => 'top',
2151 'skinStyles' => [
2152 'default' => [
2153 'resources/src/mediawiki.ui/components/radio.less',
2156 'targets' => [ 'desktop', 'mobile' ],
2158 // Lightweight module for anchor styles
2159 'mediawiki.ui.anchor' => [
2160 'position' => 'top',
2161 'skinStyles' => [
2162 'default' => [
2163 'resources/src/mediawiki.ui/components/anchors.less',
2166 'targets' => [ 'desktop', 'mobile' ],
2168 // Lightweight module for button styles
2169 'mediawiki.ui.button' => [
2170 'position' => 'top',
2171 'skinStyles' => [
2172 'default' => [
2173 'resources/src/mediawiki.ui/components/buttons.less',
2176 'targets' => [ 'desktop', 'mobile' ],
2178 'mediawiki.ui.input' => [
2179 'position' => 'top',
2180 'skinStyles' => [
2181 'default' => [
2182 'resources/src/mediawiki.ui/components/inputs.less',
2185 'targets' => [ 'desktop', 'mobile' ],
2187 'mediawiki.ui.icon' => [
2188 'position' => 'top',
2189 'skinStyles' => [
2190 'default' => [
2191 'resources/src/mediawiki.ui/components/icons.less',
2194 'targets' => [ 'desktop', 'mobile' ],
2196 // Lightweight module for text styles
2197 'mediawiki.ui.text' => [
2198 'position' => 'top',
2199 'skinStyles' => [
2200 'default' => [
2201 'resources/src/mediawiki.ui/components/text.less',
2204 'targets' => [ 'desktop', 'mobile' ],
2207 'mediawiki.widgets' => [
2208 'scripts' => [
2209 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2210 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2211 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2212 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2213 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2214 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2215 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2217 'skinStyles' => [
2218 'default' => [
2219 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2222 'dependencies' => [
2223 'oojs-ui-widgets',
2224 'mediawiki.widgets.styles',
2225 // TitleInputWidget
2226 'mediawiki.Title',
2227 'mediawiki.api',
2228 'jquery.byteLimit',
2229 // TitleOptionWidget
2230 'jquery.autoEllipsis',
2232 'messages' => [
2233 // NamespaceInputWidget
2234 'blanknamespace',
2235 'namespacesall',
2236 // TitleInputWidget
2237 'mw-widgets-titleinput-description-new-page',
2238 'mw-widgets-titleinput-description-redirect',
2240 'targets' => [ 'desktop', 'mobile' ],
2242 'mediawiki.widgets.styles' => [
2243 'skinStyles' => [
2244 'default' => [
2245 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2246 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2249 'position' => 'top',
2250 'targets' => [ 'desktop', 'mobile' ],
2252 'mediawiki.widgets.DateInputWidget' => [
2253 'scripts' => [
2254 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2255 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2257 'skinStyles' => [
2258 'default' => [
2259 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2260 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2263 'messages' => [
2264 'mw-widgets-dateinput-no-date',
2265 'mw-widgets-dateinput-placeholder-day',
2266 'mw-widgets-dateinput-placeholder-month',
2268 'dependencies' => [
2269 'oojs-ui-widgets',
2270 'moment',
2272 'targets' => [ 'desktop', 'mobile' ],
2274 'mediawiki.widgets.datetime' => [
2275 'scripts' => [
2276 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2277 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2278 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2279 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2280 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2282 'skinStyles' => [
2283 'default' => [
2284 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2285 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2288 'messages' => [
2289 'timezone-utc',
2290 'timezone-local',
2291 'january',
2292 'february',
2293 'march',
2294 'april',
2295 'may_long',
2296 'june',
2297 'july',
2298 'august',
2299 'september',
2300 'october',
2301 'november',
2302 'december',
2303 'jan',
2304 'feb',
2305 'mar',
2306 'apr',
2307 'may',
2308 'jun',
2309 'jul',
2310 'aug',
2311 'sep',
2312 'oct',
2313 'nov',
2314 'dec',
2315 'sunday',
2316 'monday',
2317 'tuesday',
2318 'wednesday',
2319 'thursday',
2320 'friday',
2321 'saturday',
2322 'sun',
2323 'mon',
2324 'tue',
2325 'wed',
2326 'thu',
2327 'fri',
2328 'sat',
2329 'period-am',
2330 'period-pm',
2332 'dependencies' => [
2333 'oojs-ui-core',
2335 'targets' => [ 'desktop', 'mobile' ],
2337 'mediawiki.widgets.CategorySelector' => [
2338 'scripts' => [
2339 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2340 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2342 'dependencies' => [
2343 'oojs-ui-widgets',
2344 'mediawiki.api',
2345 'mediawiki.ForeignApi',
2346 'mediawiki.Title',
2348 'messages' => [
2349 'red-link-title',
2351 'targets' => [ 'desktop', 'mobile' ],
2353 'mediawiki.widgets.UserInputWidget' => [
2354 'scripts' => [
2355 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2357 'dependencies' => [
2358 'oojs-ui-widgets',
2360 'targets' => [ 'desktop', 'mobile' ],
2362 'mediawiki.widgets.SearchInputWidget' => [
2363 'scripts' => [
2364 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2366 'dependencies' => [
2367 'mediawiki.searchSuggest',
2368 // FIXME: Needs TitleInputWidget only
2369 'mediawiki.widgets',
2372 'mediawiki.widgets.SearchInputWidget.styles' => [
2373 'skinStyles' => [
2374 'default' => [
2375 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2378 'position' => 'top',
2379 'targets' => [ 'desktop', 'mobile' ],
2381 'mediawiki.widgets.StashedFileWidget' => [
2382 'scripts' => [
2383 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2385 'skinStyles' => [
2386 'default' => [
2387 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2390 'dependencies' => [
2391 'oojs-ui-core',
2394 /* es5-shim */
2395 'es5-shim' => [
2396 'scripts' => [
2397 'resources/lib/es5-shim/es5-shim.js',
2398 'resources/src/polyfill-object-create.js',
2400 'targets' => [ 'desktop', 'mobile' ],
2401 'skipFunction' => 'resources/src/es5-skip.js',
2404 /* dom-level2-shim */
2405 // IE 8
2406 'dom-level2-shim' => [
2407 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2408 'targets' => [ 'desktop', 'mobile' ],
2409 'skipFunction' => 'resources/src/dom-level2-skip.js',
2412 /* OOjs */
2413 'oojs' => [
2414 'scripts' => [
2415 'resources/lib/oojs/oojs.jquery.js',
2416 'resources/src/oojs-global.js',
2418 'targets' => [ 'desktop', 'mobile' ],
2419 'dependencies' => [
2420 'es5-shim',
2421 'json',
2425 'mediawiki.router' => [
2426 'scripts' => [
2427 'resources/src/mediawiki.router/index.js',
2429 'targets' => [ 'desktop', 'mobile' ],
2430 'dependencies' => [
2431 'oojs-router',
2435 'oojs-router' => [
2436 'scripts' => [
2437 'resources/lib/oojs-router/oojs-router.js',
2439 'targets' => [ 'desktop', 'mobile' ],
2440 'dependencies' => [
2441 'oojs',
2445 /* OOjs UI */
2446 // @see ResourcesOOUI.php