Avoid pointless use of isset() in LBFactoryMulti()
[mediawiki.git] / resources / Resources.php
blobe8be528889d3e17caaf96c990e3c4a352f4892c3
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 'class' => 'ResourceLoaderWikiModule',
44 'styles' => [ 'MediaWiki:Filepage.css' ],
46 'user.groups' => [
47 // Merged into 'user' since MediaWiki 1.28 - kept for back-compat
48 'dependencies' => 'user',
49 'targets' => [ 'desktop', 'mobile' ],
52 // Scripts managed by the current user (stored in their user space)
53 'user' => [ 'class' => 'ResourceLoaderUserModule' ],
54 'user.styles' => [ 'class' => 'ResourceLoaderUserStylesModule' ],
56 // Populate mediawiki.user placeholders with information about the current user
57 'user.defaults' => [ 'class' => 'ResourceLoaderUserDefaultsModule' ],
58 'user.options' => [ 'class' => 'ResourceLoaderUserOptionsModule' ],
59 'user.tokens' => [ 'class' => 'ResourceLoaderUserTokensModule' ],
61 // Scripts for the dynamic language specific data, like grammar forms.
62 'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
64 /* MediaWiki base skinning modules */
66 /**
67 * Common skin styles, grouped into three graded levels.
69 * Level 1 "elements":
70 * The base level that only contains the most basic of common skin styles.
71 * Only styles for single elements are included, no styling for complex structures like the
72 * TOC is present. This level is for skins that want to implement the entire style of even
73 * content area structures like the TOC themselves.
75 * Level 2 "content":
76 * The most commonly used level for skins implemented from scratch. This level includes all
77 * the single element styles from "elements" as well as styles for complex structures such
78 * as the TOC that are output in the content area by MediaWiki rather than the skin.
79 * Essentially this is the common level that lets skins leave the style of the content area
80 * as it is normally styled, while leaving the rest of the skin up to the skin
81 * implementation.
83 * Level 3 "interface":
84 * The highest level, this stylesheet contains extra common styles for classes like
85 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
86 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
87 * common to MonoBook clones. And since practically every skin that currently exists within
88 * core is a MonoBook clone, all our core skins currently use this level.
90 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
91 * dependency management. As a result they contain duplicate stylesheet references instead of
92 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
93 * including more than one of them into your skin as this will result in duplicate CSS.
95 'mediawiki.skinning.elements' => [
96 'styles' => [
97 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
100 'mediawiki.skinning.content' => [
101 'styles' => [
102 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
103 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
106 // Used in the web installer. Test it after modifying this definition!
107 'mediawiki.skinning.interface' => [
108 'class' => 'ResourceLoaderSkinModule',
109 'styles' => [
110 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
111 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
112 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
116 'mediawiki.skinning.content.parsoid' => [
117 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
118 // with the interface.css styles; skinStyles should be used if your
119 // skin over-rides common content styling.
120 'skinStyles' => [
121 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
123 'targets' => [ 'desktop', 'mobile' ],
126 'mediawiki.skinning.content.externallinks' => [
127 'styles' => [
128 'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
132 /* jQuery */
134 'jquery' => [
135 'scripts' => [
136 'resources/lib/jquery/jquery.js',
138 'raw' => true,
139 'targets' => [ 'desktop', 'mobile' ],
142 /* jQuery Plugins */
144 'jquery.accessKeyLabel' => [
145 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
146 'dependencies' => [
147 'jquery.client',
148 'mediawiki.RegExp',
150 'messages' => [ 'brackets', 'word-separator' ],
151 'targets' => [ 'mobile', 'desktop' ],
153 'jquery.appear' => [
154 'deprecated' => [
155 'message' => 'Please use "mediawiki.viewport" instead.',
157 'scripts' => 'resources/lib/jquery/jquery.appear.js',
159 'jquery.arrowSteps' => [
160 'deprecated' => true,
161 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
162 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
163 'targets' => [ 'desktop', 'mobile' ],
165 'jquery.async' => [
166 'scripts' => 'resources/lib/jquery/jquery.async.js',
168 'jquery.autoEllipsis' => [
169 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
170 'dependencies' => 'jquery.highlightText',
171 'targets' => [ 'desktop', 'mobile' ],
173 'jquery.badge' => [
174 'scripts' => 'resources/src/jquery/jquery.badge.js',
175 'styles' => 'resources/src/jquery/jquery.badge.css',
176 'dependencies' => 'mediawiki.language',
178 'jquery.byteLength' => [
179 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
180 'targets' => [ 'desktop', 'mobile' ],
182 'jquery.byteLimit' => [
183 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
184 'dependencies' => 'jquery.byteLength',
185 'targets' => [ 'desktop', 'mobile' ],
187 'jquery.checkboxShiftClick' => [
188 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
189 'targets' => [ 'desktop', 'mobile' ],
191 'jquery.chosen' => [
192 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
193 'styles' => 'resources/lib/jquery.chosen/chosen.css',
195 'jquery.client' => [
196 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
197 'targets' => [ 'desktop', 'mobile' ],
199 'jquery.color' => [
200 'scripts' => 'resources/src/jquery/jquery.color.js',
201 'dependencies' => 'jquery.colorUtil',
203 'jquery.colorUtil' => [
204 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
206 'jquery.confirmable' => [
207 'scripts' => [
208 'resources/src/jquery/jquery.confirmable.js',
209 'resources/src/jquery/jquery.confirmable.mediawiki.js',
211 'messages' => [
212 'confirmable-confirm',
213 'confirmable-yes',
214 'confirmable-no',
215 'word-separator',
217 'styles' => 'resources/src/jquery/jquery.confirmable.css',
218 'dependencies' => 'mediawiki.jqueryMsg',
220 'jquery.cookie' => [
221 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
222 'targets' => [ 'desktop', 'mobile' ],
224 'jquery.expandableField' => [
225 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
227 'jquery.farbtastic' => [
228 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
229 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
230 'dependencies' => 'jquery.colorUtil',
232 'jquery.footHovzer' => [
233 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
234 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
236 'jquery.form' => [
237 'scripts' => 'resources/lib/jquery/jquery.form.js',
239 'jquery.fullscreen' => [
240 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
242 'jquery.getAttrs' => [
243 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
244 'targets' => [ 'desktop', 'mobile' ],
246 'jquery.hidpi' => [
247 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
248 'targets' => [ 'desktop', 'mobile' ],
250 'jquery.highlightText' => [
251 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
252 'dependencies' => [
253 'mediawiki.RegExp',
254 'dom-level2-shim',
256 'targets' => [ 'desktop', 'mobile' ],
258 'jquery.hoverIntent' => [
259 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
261 'jquery.i18n' => [
262 'scripts' => [
263 'resources/lib/jquery.i18n/src/jquery.i18n.js',
264 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
265 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
267 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
268 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
269 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
271 'dependencies' => 'mediawiki.libs.pluralruleparser',
272 'languageScripts' => [
273 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
274 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
275 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
276 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
277 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
278 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
279 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
280 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
281 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
282 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
283 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
284 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
285 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
286 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
288 'targets' => [ 'desktop', 'mobile' ],
290 'jquery.localize' => [
291 'scripts' => 'resources/src/jquery/jquery.localize.js',
293 'jquery.makeCollapsible' => [
294 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
295 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
296 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
297 'targets' => [ 'desktop', 'mobile' ],
299 'jquery.mockjax' => [
300 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
302 'jquery.mw-jump' => [
303 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
304 'targets' => [ 'desktop', 'mobile' ],
306 'jquery.mwExtension' => [
307 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
308 'targets' => [ 'desktop', 'mobile' ],
310 'jquery.placeholder' => [
311 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
312 'targets' => [ 'desktop', 'mobile' ],
314 'jquery.qunit' => [
315 'scripts' => 'resources/lib/qunitjs/qunit.js',
316 'styles' => 'resources/lib/qunitjs/qunit.css',
317 'targets' => [ 'desktop', 'mobile' ],
319 'jquery.qunit.completenessTest' => [
320 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
321 'dependencies' => 'jquery.qunit',
322 'targets' => [ 'desktop', 'mobile' ],
324 'jquery.spinner' => [
325 'scripts' => 'resources/src/jquery/jquery.spinner.js',
326 'styles' => 'resources/src/jquery/jquery.spinner.css',
327 'targets' => [ 'desktop', 'mobile' ],
329 'jquery.jStorage' => [
330 'deprecated' => [
331 'message' => 'Please use "mediawiki.storage" instead.',
333 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
335 'jquery.suggestions' => [
336 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
337 'styles' => 'resources/src/jquery/jquery.suggestions.css',
338 'dependencies' => 'jquery.highlightText',
340 'jquery.tabIndex' => [
341 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
343 'jquery.tablesorter' => [
344 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
345 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
346 'messages' => [ 'sort-descending', 'sort-ascending' ],
347 'dependencies' => [
348 'dom-level2-shim',
349 'mediawiki.RegExp',
350 'mediawiki.language.months',
353 'jquery.textSelection' => [
354 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
355 'dependencies' => 'jquery.client',
356 'targets' => [ 'mobile', 'desktop' ],
358 'jquery.throttle-debounce' => [
359 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
360 'targets' => [ 'desktop', 'mobile' ],
362 'jquery.xmldom' => [
363 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
366 /* jQuery Tipsy */
368 'jquery.tipsy' => [
369 'deprecated' => true,
370 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
371 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
374 /* jQuery UI */
376 'jquery.ui.core' => [
377 'deprecated' => [
378 'message' => 'Please use "mediawiki.ui.button" or "oojs-ui" instead.',
380 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
381 'dependencies' => [
382 'jquery.ui.core.styles',
384 'group' => 'jquery.ui',
386 'jquery.ui.core.styles' => [
387 'skinStyles' => [
388 'default' => [
389 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
390 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
393 'group' => 'jquery.ui',
395 'jquery.ui.accordion' => [
396 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
397 'dependencies' => [
398 'jquery.ui.core',
399 'jquery.ui.widget',
401 'skinStyles' => [
402 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
404 'group' => 'jquery.ui',
406 'jquery.ui.autocomplete' => [
407 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
408 'dependencies' => [
409 'jquery.ui.core',
410 'jquery.ui.widget',
411 'jquery.ui.position',
412 'jquery.ui.menu',
414 'skinStyles' => [
415 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
417 'group' => 'jquery.ui',
419 'jquery.ui.button' => [
420 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
421 'dependencies' => [
422 'jquery.ui.core',
423 'jquery.ui.widget',
425 'skinStyles' => [
426 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
428 'group' => 'jquery.ui',
430 'jquery.ui.datepicker' => [
431 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
432 'dependencies' => 'jquery.ui.core',
433 'skinStyles' => [
434 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
436 'languageScripts' => [
437 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
438 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
439 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
440 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
441 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
442 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
443 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
444 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
445 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
446 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
447 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
448 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
449 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
450 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
451 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
452 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
453 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
454 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
455 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
456 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
457 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
458 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
459 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
460 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
461 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
462 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
463 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
464 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
465 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
466 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
467 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
468 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
469 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
470 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
471 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
472 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
473 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
474 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
475 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
476 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
477 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
478 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
479 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
480 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
481 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
482 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
483 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
484 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
485 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
486 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
487 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
488 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
489 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
490 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
491 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
492 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
493 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
494 'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
495 'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
496 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
497 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
498 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
499 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
500 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
501 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
502 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
503 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
504 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
505 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
507 'group' => 'jquery.ui',
509 'jquery.ui.dialog' => [
510 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
511 'dependencies' => [
512 'jquery.ui.core',
513 'jquery.ui.widget',
514 'jquery.ui.button',
515 'jquery.ui.draggable',
516 'jquery.ui.mouse',
517 'jquery.ui.position',
518 'jquery.ui.resizable',
520 'skinStyles' => [
521 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
523 'group' => 'jquery.ui',
525 'jquery.ui.draggable' => [
526 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
527 'dependencies' => [
528 'jquery.ui.core',
529 'jquery.ui.mouse',
530 'jquery.ui.widget',
532 'group' => 'jquery.ui',
534 'jquery.ui.droppable' => [
535 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
536 'dependencies' => [
537 'jquery.ui.core',
538 'jquery.ui.mouse',
539 'jquery.ui.widget',
540 'jquery.ui.draggable',
542 'group' => 'jquery.ui',
544 'jquery.ui.menu' => [
545 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
546 'dependencies' => [
547 'jquery.ui.core',
548 'jquery.ui.widget',
549 'jquery.ui.position',
551 'skinStyles' => [
552 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
554 'group' => 'jquery.ui',
556 'jquery.ui.mouse' => [
557 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
558 'dependencies' => 'jquery.ui.widget',
559 'group' => 'jquery.ui',
561 'jquery.ui.position' => [
562 'deprecated' => true,
563 'targets' => [ 'mobile', 'desktop' ],
564 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
565 'group' => 'jquery.ui',
567 'jquery.ui.progressbar' => [
568 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
569 'dependencies' => [
570 'jquery.ui.core',
571 'jquery.ui.widget',
573 'skinStyles' => [
574 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
576 'group' => 'jquery.ui',
578 'jquery.ui.resizable' => [
579 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
580 'dependencies' => [
581 'jquery.ui.core',
582 'jquery.ui.widget',
583 'jquery.ui.mouse',
585 'skinStyles' => [
586 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
588 'group' => 'jquery.ui',
590 'jquery.ui.selectable' => [
591 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.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.selectable.css',
600 'group' => 'jquery.ui',
602 'jquery.ui.slider' => [
603 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.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.slider.css',
612 'group' => 'jquery.ui',
614 'jquery.ui.sortable' => [
615 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
616 'dependencies' => [
617 'jquery.ui.core',
618 'jquery.ui.mouse',
619 'jquery.ui.widget',
621 'group' => 'jquery.ui',
623 'jquery.ui.spinner' => [
624 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
625 'dependencies' => [
626 'jquery.ui.core',
627 'jquery.ui.widget',
628 'jquery.ui.button',
630 'skinStyles' => [
631 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
633 'group' => 'jquery.ui',
635 'jquery.ui.tabs' => [
636 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
637 'dependencies' => [
638 'jquery.ui.core',
639 'jquery.ui.widget',
641 'skinStyles' => [
642 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
644 'group' => 'jquery.ui',
646 'jquery.ui.tooltip' => [
647 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
648 'dependencies' => [
649 'jquery.ui.core',
650 'jquery.ui.widget',
651 'jquery.ui.position',
653 'skinStyles' => [
654 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
656 'group' => 'jquery.ui',
658 'jquery.ui.widget' => [
659 'deprecated' => true,
660 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
661 'group' => 'jquery.ui',
663 // Effects
664 'jquery.effects.core' => [
665 'deprecated' => true,
666 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
667 'group' => 'jquery.ui',
669 'jquery.effects.blind' => [
670 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
671 'dependencies' => 'jquery.effects.core',
672 'group' => 'jquery.ui',
674 'jquery.effects.bounce' => [
675 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
676 'dependencies' => 'jquery.effects.core',
677 'group' => 'jquery.ui',
679 'jquery.effects.clip' => [
680 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
681 'dependencies' => 'jquery.effects.core',
682 'group' => 'jquery.ui',
684 'jquery.effects.drop' => [
685 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
686 'dependencies' => 'jquery.effects.core',
687 'group' => 'jquery.ui',
689 'jquery.effects.explode' => [
690 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
691 'dependencies' => 'jquery.effects.core',
692 'group' => 'jquery.ui',
694 'jquery.effects.fade' => [
695 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
696 'dependencies' => 'jquery.effects.core',
697 'group' => 'jquery.ui',
699 'jquery.effects.fold' => [
700 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
701 'dependencies' => 'jquery.effects.core',
702 'group' => 'jquery.ui',
704 'jquery.effects.highlight' => [
705 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
706 'dependencies' => 'jquery.effects.core',
707 'group' => 'jquery.ui',
709 'jquery.effects.pulsate' => [
710 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
711 'dependencies' => 'jquery.effects.core',
712 'group' => 'jquery.ui',
714 'jquery.effects.scale' => [
715 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
716 'dependencies' => 'jquery.effects.core',
717 'group' => 'jquery.ui',
719 'jquery.effects.shake' => [
720 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
721 'dependencies' => 'jquery.effects.core',
722 'group' => 'jquery.ui',
724 'jquery.effects.slide' => [
725 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
726 'dependencies' => 'jquery.effects.core',
727 'group' => 'jquery.ui',
729 'jquery.effects.transfer' => [
730 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
731 'dependencies' => 'jquery.effects.core',
732 'group' => 'jquery.ui',
735 /* json2 */
737 // Deprecated since MediaWiki 1.29.0
738 'json' => [
739 'deprecated' => 'Use of the "json" MediaWiki module is deprecated since MediaWiki 1.29.0',
740 'targets' => [ 'desktop', 'mobile' ],
743 /* Moment.js */
745 'moment' => [
746 'scripts' => [
747 'resources/lib/moment/moment.js',
748 'resources/src/moment-global.js',
750 'languageScripts' => [
751 'af' => 'resources/lib/moment/locale/af.js',
752 'ar' => 'resources/lib/moment/locale/ar.js',
753 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
754 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
755 'az' => 'resources/lib/moment/locale/az.js',
756 'be' => 'resources/lib/moment/locale/be.js',
757 'bg' => 'resources/lib/moment/locale/bg.js',
758 'bn' => 'resources/lib/moment/locale/bn.js',
759 'bo' => 'resources/lib/moment/locale/bo.js',
760 'br' => 'resources/lib/moment/locale/br.js',
761 'bs' => 'resources/lib/moment/locale/bs.js',
762 'ca' => 'resources/lib/moment/locale/ca.js',
763 'cs' => 'resources/lib/moment/locale/cs.js',
764 'cv' => 'resources/lib/moment/locale/cv.js',
765 'cy' => 'resources/lib/moment/locale/cy.js',
766 'da' => 'resources/lib/moment/locale/da.js',
767 'de' => 'resources/lib/moment/locale/de.js',
768 'de-at' => 'resources/lib/moment/locale/de-at.js',
769 'el' => 'resources/lib/moment/locale/el.js',
770 'en' => 'resources/src/moment-dmy.js',
771 'en-au' => 'resources/lib/moment/locale/en-au.js',
772 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
773 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
774 'eo' => 'resources/lib/moment/locale/eo.js',
775 'es' => 'resources/lib/moment/locale/es.js',
776 'et' => 'resources/lib/moment/locale/et.js',
777 'eu' => 'resources/lib/moment/locale/eu.js',
778 'fa' => 'resources/lib/moment/locale/fa.js',
779 'fi' => 'resources/lib/moment/locale/fi.js',
780 'fo' => 'resources/lib/moment/locale/fo.js',
781 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
782 'fr' => 'resources/lib/moment/locale/fr.js',
783 'gl' => 'resources/lib/moment/locale/gl.js',
784 'he' => 'resources/lib/moment/locale/he.js',
785 'hi' => 'resources/lib/moment/locale/hi.js',
786 'hr' => 'resources/lib/moment/locale/hr.js',
787 'hu' => 'resources/lib/moment/locale/hu.js',
788 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
789 'id' => 'resources/lib/moment/locale/id.js',
790 'is' => 'resources/lib/moment/locale/is.js',
791 'it' => 'resources/lib/moment/locale/it.js',
792 'ja' => 'resources/lib/moment/locale/ja.js',
793 'ka' => 'resources/lib/moment/locale/ka.js',
794 'ko' => 'resources/lib/moment/locale/ko.js',
795 'lt' => 'resources/lib/moment/locale/lt.js',
796 'lv' => 'resources/lib/moment/locale/lv.js',
797 'mk' => 'resources/lib/moment/locale/mk.js',
798 'ml' => 'resources/lib/moment/locale/ml.js',
799 'mr' => 'resources/lib/moment/locale/mr.js',
800 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
801 'my' => 'resources/lib/moment/locale/my.js',
802 'nb' => 'resources/lib/moment/locale/nb.js',
803 'ne' => 'resources/lib/moment/locale/ne.js',
804 'nl' => 'resources/lib/moment/locale/nl.js',
805 'nn' => 'resources/lib/moment/locale/nn.js',
806 'pl' => 'resources/lib/moment/locale/pl.js',
807 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
808 'pt' => 'resources/lib/moment/locale/pt.js',
809 'ro' => 'resources/lib/moment/locale/ro.js',
810 'ru' => 'resources/lib/moment/locale/ru.js',
811 'sk' => 'resources/lib/moment/locale/sk.js',
812 'sl' => 'resources/lib/moment/locale/sl.js',
813 'sq' => 'resources/lib/moment/locale/sq.js',
814 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
815 'sr-el' => 'resources/lib/moment/locale/sr.js',
816 'sv' => 'resources/lib/moment/locale/sv.js',
817 'ta' => 'resources/lib/moment/locale/ta.js',
818 'th' => 'resources/lib/moment/locale/th.js',
819 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
820 'tr' => 'resources/lib/moment/locale/tr.js',
821 'tzm' => 'resources/lib/moment/locale/tzm.js',
822 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
823 'uk' => 'resources/lib/moment/locale/uk.js',
824 'uz' => 'resources/lib/moment/locale/uz.js',
825 'vi' => 'resources/lib/moment/locale/vi.js',
826 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
827 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
828 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
829 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
831 // HACK: skinScripts come after languageScripts, and we need locale overrides to come
832 // after locale definitions
833 'skinScripts' => [
834 'default' => [
835 'resources/src/moment-locale-overrides.js',
838 'dependencies' => [
839 'mediawiki.language',
841 'targets' => [ 'desktop', 'mobile' ],
844 /* MediaWiki */
846 'mediawiki' => [
847 'class' => 'ResourceLoaderRawFileModule',
848 // Keep in sync with maintenance/jsduck/eg-iframe.html
849 'scripts' => [
850 'resources/src/mediawiki/mediawiki.js',
851 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
852 'resources/src/mediawiki/mediawiki.errorLogger.js',
854 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
855 'targets' => [ 'desktop', 'mobile' ],
857 'mediawiki.apihelp' => [
858 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
859 'targets' => [ 'desktop' ],
861 'mediawiki.template' => [
862 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
863 'targets' => [ 'desktop', 'mobile' ],
865 'mediawiki.template.mustache' => [
866 'scripts' => [
867 'resources/lib/mustache/mustache.js',
868 'resources/src/mediawiki/mediawiki.template.mustache.js',
870 'targets' => [ 'desktop', 'mobile' ],
871 'dependencies' => 'mediawiki.template',
873 'mediawiki.template.regexp' => [
874 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
875 'targets' => [ 'desktop', 'mobile' ],
876 'dependencies' => 'mediawiki.template',
878 'mediawiki.apipretty' => [
879 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
880 'targets' => [ 'desktop', 'mobile' ],
882 'mediawiki.api' => [
883 'scripts' => 'resources/src/mediawiki/api.js',
884 'dependencies' => [
885 'mediawiki.util',
886 'user.tokens',
888 'targets' => [ 'desktop', 'mobile' ],
890 'mediawiki.api.category' => [
891 'scripts' => 'resources/src/mediawiki/api/category.js',
892 'dependencies' => [
893 'mediawiki.api',
894 'mediawiki.Title',
897 'mediawiki.api.edit' => [
898 'scripts' => 'resources/src/mediawiki/api/edit.js',
899 'dependencies' => [
900 'mediawiki.api',
901 'mediawiki.Title',
903 'targets' => [ 'desktop', 'mobile' ],
905 'mediawiki.api.login' => [
906 'scripts' => 'resources/src/mediawiki/api/login.js',
907 'dependencies' => 'mediawiki.api',
909 'mediawiki.api.options' => [
910 'scripts' => 'resources/src/mediawiki/api/options.js',
911 'dependencies' => 'mediawiki.api',
912 'targets' => [ 'desktop', 'mobile' ],
914 'mediawiki.api.parse' => [
915 'scripts' => 'resources/src/mediawiki/api/parse.js',
916 'dependencies' => 'mediawiki.api',
917 'targets' => [ 'desktop', 'mobile' ],
919 'mediawiki.api.upload' => [
920 'scripts' => 'resources/src/mediawiki/api/upload.js',
921 'dependencies' => [
922 'dom-level2-shim',
923 'mediawiki.api',
924 'mediawiki.api.edit',
926 'targets' => [ 'desktop', 'mobile' ],
928 'mediawiki.api.user' => [
929 'scripts' => 'resources/src/mediawiki/api/user.js',
930 'dependencies' => [
931 'mediawiki.api',
933 'targets' => [ 'desktop', 'mobile' ],
935 'mediawiki.api.watch' => [
936 'scripts' => 'resources/src/mediawiki/api/watch.js',
937 'dependencies' => [
938 'mediawiki.api',
941 'mediawiki.api.messages' => [
942 'scripts' => 'resources/src/mediawiki/api/messages.js',
943 'dependencies' => [
944 'mediawiki.api',
946 'targets' => [ 'desktop', 'mobile' ],
948 'mediawiki.api.rollback' => [
949 'scripts' => 'resources/src/mediawiki/api/rollback.js',
950 'dependencies' => [
951 'mediawiki.api',
954 'mediawiki.content.json' => [
955 'styles' => 'resources/src/mediawiki/mediawiki.content.json.less',
957 'mediawiki.confirmCloseWindow' => [
958 'scripts' => [
959 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
961 'targets' => [ 'desktop', 'mobile' ],
963 'mediawiki.debug' => [
964 'scripts' => [
965 'resources/src/mediawiki/mediawiki.debug.js',
967 'styles' => [
968 'resources/src/mediawiki/mediawiki.debug.less',
970 'dependencies' => [
971 'jquery.footHovzer',
974 'mediawiki.diff.styles' => [
975 'styles' => [
976 'resources/src/mediawiki/mediawiki.diff.styles.css',
977 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
978 'media' => 'print'
981 'targets' => [ 'desktop', 'mobile' ],
983 'mediawiki.feedback' => [
984 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
985 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
986 'dependencies' => [
987 'mediawiki.messagePoster',
988 'mediawiki.Title',
989 'oojs-ui-core',
990 'oojs-ui-windows',
992 'messages' => [
993 'feedback-adding',
994 'feedback-back',
995 'feedback-bugcheck',
996 'feedback-dialog-intro',
997 'feedback-external-bug-report-button',
998 'feedback-bugnew',
999 'feedback-bugornote',
1000 'feedback-cancel',
1001 'feedback-close',
1002 'feedback-dialog-title',
1003 'feedback-error1',
1004 'feedback-error2',
1005 'feedback-error3',
1006 'feedback-error4',
1007 'feedback-message',
1008 'feedback-subject',
1009 'feedback-submit',
1010 'feedback-terms',
1011 'feedback-termsofuse',
1012 'feedback-thanks',
1013 'feedback-thanks-title',
1014 'feedback-useragent'
1016 'targets' => [ 'desktop', 'mobile' ],
1018 'mediawiki.feedlink' => [
1019 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1021 'mediawiki.filewarning' => [
1022 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1023 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1024 'dependencies' => [
1025 'oojs-ui-core',
1028 'mediawiki.ForeignApi' => [
1029 'targets' => [ 'desktop', 'mobile' ],
1030 'class' => 'ResourceLoaderForeignApiModule',
1031 // Additional dependencies generated dynamically
1032 'dependencies' => 'mediawiki.ForeignApi.core',
1034 'mediawiki.ForeignApi.core' => [
1035 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1036 'dependencies' => [
1037 'mediawiki.api',
1038 'oojs',
1040 'targets' => [ 'desktop', 'mobile' ],
1042 'mediawiki.helplink' => [
1043 'styles' => [
1044 'resources/src/mediawiki/mediawiki.helplink.less',
1046 'targets' => [ 'desktop', 'mobile' ],
1048 'mediawiki.hidpi' => [
1049 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1050 'dependencies' => 'jquery.hidpi',
1051 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1052 'targets' => [ 'desktop', 'mobile' ],
1054 'mediawiki.hlist' => [
1055 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1057 'mediawiki.htmlform' => [
1058 'scripts' => [
1059 'resources/src/mediawiki/htmlform/htmlform.js',
1060 'resources/src/mediawiki/htmlform/autocomplete.js',
1061 'resources/src/mediawiki/htmlform/autoinfuse.js',
1062 'resources/src/mediawiki/htmlform/checkmatrix.js',
1063 'resources/src/mediawiki/htmlform/datetime.js',
1064 'resources/src/mediawiki/htmlform/cloner.js',
1065 'resources/src/mediawiki/htmlform/hide-if.js',
1066 'resources/src/mediawiki/htmlform/multiselect.js',
1067 'resources/src/mediawiki/htmlform/selectandother.js',
1068 'resources/src/mediawiki/htmlform/selectorother.js',
1070 'dependencies' => [
1071 'mediawiki.RegExp',
1072 'jquery.byteLimit',
1074 'messages' => [
1075 'htmlform-chosen-placeholder',
1076 // @todo Load this message in content language
1077 'colon-separator',
1079 'targets' => [ 'desktop', 'mobile' ],
1081 'mediawiki.htmlform.ooui' => [
1082 'scripts' => [
1083 'resources/src/mediawiki/htmlform/htmlform.Element.js',
1085 'dependencies' => [
1086 'oojs-ui-core',
1088 'targets' => [ 'desktop', 'mobile' ],
1090 'mediawiki.htmlform.styles' => [
1091 'styles' => 'resources/src/mediawiki/htmlform/styles.css',
1092 'targets' => [ 'desktop', 'mobile' ],
1094 'mediawiki.htmlform.ooui.styles' => [
1095 'styles' => 'resources/src/mediawiki/htmlform/ooui.styles.css',
1096 'targets' => [ 'desktop', 'mobile' ],
1098 'mediawiki.icon' => [
1099 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1100 'targets' => [ 'desktop', 'mobile' ],
1102 'mediawiki.inspect' => [
1103 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1104 'dependencies' => [
1105 'jquery.byteLength',
1106 'mediawiki.RegExp',
1108 'targets' => [ 'desktop', 'mobile' ],
1110 'mediawiki.messagePoster' => [
1111 'scripts' => [
1112 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1113 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1115 'dependencies' => [
1116 'oojs',
1117 'mediawiki.api',
1118 'mediawiki.ForeignApi',
1120 'targets' => [ 'desktop', 'mobile' ],
1122 'mediawiki.messagePoster.wikitext' => [
1123 'scripts' => [
1124 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1126 'dependencies' => [
1127 'mediawiki.api.edit',
1128 'mediawiki.messagePoster',
1130 'targets' => [ 'desktop', 'mobile' ],
1132 'mediawiki.notification' => [
1133 'styles' => [
1134 'resources/src/mediawiki/mediawiki.notification.common.css',
1135 'resources/src/mediawiki/mediawiki.notification.print.css'
1136 => [ 'media' => 'print' ],
1138 'skinStyles' => [
1139 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1141 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1142 'dependencies' => 'mediawiki.page.startup',
1143 'targets' => [ 'desktop', 'mobile' ],
1145 'mediawiki.notify' => [
1146 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1147 'targets' => [ 'desktop', 'mobile' ],
1149 'mediawiki.notification.convertmessagebox' => [
1150 'dependencies' => [
1151 'mediawiki.notification',
1153 'scripts' => 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.js',
1154 'targets' => [ 'desktop', 'mobile' ],
1156 'mediawiki.notification.convertmessagebox.styles' => [
1157 'styles' => [
1158 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.styles.less',
1160 'targets' => [ 'desktop', 'mobile' ],
1162 'mediawiki.RegExp' => [
1163 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1164 'targets' => [ 'desktop', 'mobile' ],
1166 'mediawiki.pager.tablePager' => [
1167 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1169 'mediawiki.searchSuggest' => [
1170 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1171 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1172 'messages' => [
1173 'searchsuggest-search',
1174 'searchsuggest-containing',
1176 'dependencies' => [
1177 'jquery.placeholder',
1178 'jquery.suggestions',
1179 'jquery.getAttrs',
1180 'mediawiki.api',
1183 'mediawiki.sectionAnchor' => [
1184 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1185 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1186 'targets' => [ 'desktop', 'mobile' ],
1188 'mediawiki.storage' => [
1189 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1190 'targets' => [ 'desktop', 'mobile' ],
1192 'mediawiki.Title' => [
1193 'scripts' => [
1194 'resources/src/mediawiki/mediawiki.Title.js',
1195 'resources/src/mediawiki/mediawiki.Title.phpCharToUpper.js',
1197 'dependencies' => [
1198 'jquery.byteLength',
1199 'mediawiki.util',
1201 'targets' => [ 'desktop', 'mobile' ],
1203 'mediawiki.Upload' => [
1204 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1205 'dependencies' => [
1206 'dom-level2-shim',
1207 'mediawiki.api.upload',
1210 'mediawiki.ForeignUpload' => [
1211 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1212 'dependencies' => [
1213 'mediawiki.ForeignApi',
1214 'mediawiki.Upload',
1215 'oojs',
1217 'messages' => [
1218 'uploaddisabledtext',
1219 'upload-dialog-disabled',
1220 'upload-foreign-cant-upload',
1223 'mediawiki.ForeignStructuredUpload.config' => [
1224 'class' => 'ResourceLoaderUploadDialogModule',
1226 'mediawiki.ForeignStructuredUpload' => [
1227 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1228 'dependencies' => [
1229 'mediawiki.ForeignUpload',
1230 'mediawiki.ForeignStructuredUpload.config',
1232 'messages' => [
1233 'upload-foreign-cant-load-config',
1236 'mediawiki.Upload.Dialog' => [
1237 'scripts' => [
1238 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1240 'dependencies' => [
1241 'mediawiki.Upload.BookletLayout',
1243 'messages' => [
1244 'upload-dialog-title',
1245 'upload-dialog-button-cancel',
1246 'upload-dialog-button-back',
1247 'upload-dialog-button-done',
1248 'upload-dialog-button-save',
1249 'upload-dialog-button-upload',
1252 'mediawiki.Upload.BookletLayout' => [
1253 'scripts' => [
1254 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1256 'styles' => [
1257 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1259 'dependencies' => [
1260 'oojs-ui-core',
1261 'oojs-ui-widgets',
1262 'oojs-ui-windows',
1263 'oojs-ui.styles.icons-content',
1264 'oojs-ui.styles.icons-editing-advanced',
1265 'moment',
1266 'mediawiki.Title',
1267 'mediawiki.user',
1268 'mediawiki.Upload',
1269 'mediawiki.jqueryMsg',
1270 'mediawiki.widgets.StashedFileWidget'
1272 'messages' => [
1273 'upload-form-label-infoform-title',
1274 'upload-form-label-infoform-name',
1275 'upload-form-label-infoform-name-tooltip',
1276 'upload-form-label-infoform-description',
1277 'upload-form-label-infoform-description-tooltip',
1278 'upload-form-label-usage-title',
1279 'upload-form-label-usage-filename',
1280 'api-error-unknownerror',
1281 'api-error-unknown-warning',
1282 'api-error-autoblocked',
1283 'api-error-blocked',
1284 'api-error-badaccess-groups',
1285 'api-error-badtoken',
1286 'api-error-copyuploaddisabled',
1287 'api-error-duplicate',
1288 'api-error-duplicate-archive',
1289 'api-error-empty-file',
1290 'api-error-emptypage',
1291 'api-error-fetchfileerror',
1292 'api-error-fileexists-forbidden',
1293 'api-error-fileexists-shared-forbidden',
1294 'api-error-file-too-large',
1295 'api-error-filename-tooshort',
1296 'api-error-filetype-banned',
1297 'api-error-filetype-banned-type',
1298 'api-error-filetype-missing',
1299 'api-error-hookaborted',
1300 'api-error-http',
1301 'api-error-illegal-filename',
1302 'api-error-internal-error',
1303 'api-error-invalid-file-key',
1304 'api-error-missingparam',
1305 'api-error-missingresult',
1306 'api-error-mustbeloggedin',
1307 'api-error-mustbeposted',
1308 'api-error-noimageinfo',
1309 'api-error-nomodule',
1310 'api-error-ok-but-empty',
1311 'api-error-overwrite',
1312 'api-error-stashfailed',
1313 'api-error-publishfailed',
1314 'api-error-stasherror',
1315 'api-error-stashedfilenotfound',
1316 'api-error-stashpathinvalid',
1317 'api-error-stashfilestorage',
1318 'api-error-stashzerolength',
1319 'api-error-stashnotloggedin',
1320 'api-error-stashwrongowner',
1321 'api-error-stashnosuchfilekey',
1322 'api-error-timeout',
1323 'api-error-unclassified',
1324 'api-error-unknown-code',
1325 'api-error-unknown-error',
1326 'api-error-uploaddisabled',
1327 'api-error-verification-error',
1328 'api-error-was-deleted',
1329 'fileexists',
1330 'filepageexists',
1331 'filename-bad-prefix',
1332 'filename-thumb-name',
1333 'badfilename',
1334 'protectedpagetext',
1337 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1338 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1339 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1340 'dependencies' => [
1341 'mediawiki.ForeignStructuredUpload',
1342 'mediawiki.Upload.BookletLayout',
1343 'mediawiki.widgets.CategorySelector',
1344 'mediawiki.widgets.DateInputWidget',
1345 'mediawiki.jqueryMsg',
1346 'mediawiki.api.messages',
1347 'moment',
1348 'mediawiki.libs.jpegmeta',
1350 'messages' => [
1351 'upload-form-label-own-work',
1352 'upload-form-label-infoform-categories',
1353 'upload-form-label-infoform-date',
1354 'upload-form-label-own-work-message-generic-local',
1355 'upload-form-label-not-own-work-message-generic-local',
1356 'upload-form-label-not-own-work-local-generic-local',
1357 'upload-form-label-own-work-message-generic-foreign',
1358 'upload-form-label-not-own-work-message-generic-foreign',
1359 'upload-form-label-not-own-work-local-generic-foreign',
1362 'mediawiki.toc' => [
1363 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1364 'styles' => [
1365 'resources/src/mediawiki/mediawiki.toc.css'
1366 => [ 'media' => 'screen' ],
1367 'resources/src/mediawiki/mediawiki.toc.print.css'
1368 => [ 'media' => 'print' ],
1370 'dependencies' => 'mediawiki.cookie',
1371 'messages' => [ 'showtoc', 'hidetoc' ],
1372 'targets' => [ 'desktop', 'mobile' ],
1374 'mediawiki.Uri' => [
1375 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1376 'templates' => [
1377 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1378 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1380 'dependencies' => 'mediawiki.util',
1381 'targets' => [ 'desktop', 'mobile' ],
1383 'mediawiki.user.blockcookie' => [
1384 'scripts' => 'resources/src/mediawiki/mediawiki.user.blockcookie.js',
1385 'dependencies' => [ 'mediawiki.cookie', 'mediawiki.storage' ],
1386 'targets' => [ 'desktop', 'mobile' ],
1388 'mediawiki.user' => [
1389 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1390 'dependencies' => [
1391 'mediawiki.cookie',
1392 'mediawiki.api',
1393 'mediawiki.api.user',
1394 'user.options',
1395 'user.tokens',
1397 'targets' => [ 'desktop', 'mobile' ],
1399 'mediawiki.userSuggest' => [
1400 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1401 'dependencies' => [
1402 'jquery.suggestions',
1403 'mediawiki.api'
1406 'mediawiki.util' => [
1407 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1408 'dependencies' => [
1409 'jquery.accessKeyLabel',
1410 'mediawiki.RegExp',
1411 'mediawiki.notify',
1413 'targets' => [ 'desktop', 'mobile' ],
1415 'mediawiki.viewport' => [
1416 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1417 'targets' => [ 'desktop', 'mobile' ],
1419 'mediawiki.checkboxtoggle' => [
1420 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1422 'mediawiki.checkboxtoggle.styles' => [
1423 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1425 'mediawiki.cookie' => [
1426 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1427 'dependencies' => 'jquery.cookie',
1428 'targets' => [ 'desktop', 'mobile' ],
1430 'mediawiki.toolbar' => [
1431 'class' => 'ResourceLoaderEditToolbarModule',
1432 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1433 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1434 'dependencies' => 'jquery.textSelection',
1436 'mediawiki.experiments' => [
1437 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1438 'targets' => [ 'desktop', 'mobile' ],
1441 /* MediaWiki Action */
1443 'mediawiki.action.edit' => [
1444 'scripts' => [
1445 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1446 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1448 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1449 'dependencies' => [
1450 'mediawiki.action.edit.styles',
1451 'jquery.textSelection',
1452 'jquery.byteLimit',
1453 'mediawiki.api',
1456 'mediawiki.action.edit.styles' => [
1457 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1459 'mediawiki.action.edit.collapsibleFooter' => [
1460 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1461 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1462 'dependencies' => [
1463 'jquery.makeCollapsible',
1464 'mediawiki.cookie',
1465 'mediawiki.icon',
1468 'mediawiki.action.edit.preview' => [
1469 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1470 'dependencies' => [
1471 'jquery.form',
1472 'jquery.spinner',
1473 'jquery.textSelection',
1474 'mediawiki.api',
1475 'mediawiki.diff.styles',
1476 'mediawiki.util',
1477 'mediawiki.jqueryMsg',
1479 'messages' => [
1480 // Keep the uses message keys in sync with EditPage#setHeaders
1481 'creating',
1482 'editconflict',
1483 'editing',
1484 'editingcomment',
1485 'editingsection',
1486 'pagetitle',
1487 'otherlanguages',
1488 'summary-preview',
1489 'subject-preview',
1490 'parentheses',
1491 'previewerrortext',
1494 'mediawiki.action.history' => [
1495 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1496 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1498 'mediawiki.action.history.styles' => [
1499 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1501 // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1502 'mediawiki.action.history.diff' => [
1503 'styles' => [
1504 'resources/src/mediawiki/mediawiki.diff.styles.css',
1505 'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1506 'media' => 'print'
1509 'targets' => [ 'desktop', 'mobile' ],
1511 'mediawiki.action.view.dblClickEdit' => [
1512 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1513 'dependencies' => [
1514 'mediawiki.util',
1515 'mediawiki.page.startup',
1516 'user.options',
1519 'mediawiki.action.view.metadata' => [
1520 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1521 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1522 'messages' => [
1523 'metadata-expand',
1524 'metadata-collapse',
1527 'mediawiki.action.view.categoryPage.styles' => [
1528 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1529 'targets' => [ 'desktop', 'mobile' ]
1531 'mediawiki.action.view.postEdit' => [
1532 'templates' => [
1533 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1535 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1536 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1537 'dependencies' => [
1538 'mediawiki.cookie',
1539 'mediawiki.jqueryMsg'
1541 'messages' => [
1542 'postedit-confirmation-created',
1543 'postedit-confirmation-restored',
1544 'postedit-confirmation-saved',
1547 'mediawiki.action.view.redirect' => [
1548 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1549 'dependencies' => 'jquery.client',
1550 'targets' => [ 'desktop', 'mobile' ],
1552 'mediawiki.action.view.redirectPage' => [
1553 'targets' => [ 'desktop', 'mobile' ],
1554 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1556 'mediawiki.action.view.rightClickEdit' => [
1557 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1559 'mediawiki.action.edit.editWarning' => [
1560 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1561 'dependencies' => [
1562 'jquery.textSelection',
1563 'mediawiki.jqueryMsg',
1564 'mediawiki.confirmCloseWindow',
1565 'user.options',
1567 'messages' => [
1568 'editwarning-warning',
1569 // editwarning-warning uses {{int:prefs-editing}}
1570 'prefs-editing'
1573 'mediawiki.action.view.filepage' => [
1574 'styles' => [
1575 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1576 [ 'media' => 'print' ],
1577 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1581 /* MediaWiki Language */
1583 'mediawiki.language' => [
1584 'scripts' => [
1585 'resources/src/mediawiki.language/mediawiki.language.js',
1586 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1587 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1589 'languageScripts' => [
1590 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1591 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1592 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1593 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1594 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1595 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1596 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1597 'la' => 'resources/src/mediawiki.language/languages/la.js',
1598 'os' => 'resources/src/mediawiki.language/languages/os.js',
1599 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1601 'dependencies' => [
1602 'mediawiki.language.data',
1603 'mediawiki.cldr',
1605 'targets' => [ 'desktop', 'mobile' ],
1606 'messages' => [
1607 'and',
1608 'comma-separator',
1609 'word-separator'
1613 'mediawiki.cldr' => [
1614 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1615 'dependencies' => [
1616 'mediawiki.libs.pluralruleparser',
1618 'targets' => [ 'desktop', 'mobile' ],
1621 'mediawiki.libs.pluralruleparser' => [
1622 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1623 'targets' => [ 'desktop', 'mobile' ],
1626 'mediawiki.language.init' => [
1627 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1628 'targets' => [ 'desktop', 'mobile' ],
1631 'mediawiki.jqueryMsg' => [
1632 // Add data for mediawiki.jqueryMsg, such as allowed tags
1633 'class' => 'ResourceLoaderJqueryMsgModule',
1634 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1635 'dependencies' => [
1636 'mediawiki.util',
1637 'mediawiki.language',
1638 'user.options',
1639 'dom-level2-shim',
1641 'targets' => [ 'desktop', 'mobile' ],
1644 'mediawiki.language.months' => [
1645 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1646 'dependencies' => 'mediawiki.language',
1647 'messages' => array_merge(
1648 Language::$mMonthMsgs,
1649 Language::$mMonthGenMsgs,
1650 Language::$mMonthAbbrevMsgs
1654 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1656 'mediawiki.language.specialCharacters' => [
1657 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1660 /* MediaWiki Libs */
1662 'mediawiki.libs.jpegmeta' => [
1663 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1664 'targets' => [ 'desktop', 'mobile' ],
1667 /* MediaWiki Page */
1669 'mediawiki.page.gallery' => [
1670 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1671 'dependencies' => [
1672 'mediawiki.page.gallery.styles',
1673 'jquery.throttle-debounce',
1676 'mediawiki.page.gallery.styles' => [
1677 'styles' => [
1678 'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1679 'resources/src/mediawiki/page/gallery.css',
1681 'targets' => [ 'desktop', 'mobile' ],
1683 'mediawiki.page.gallery.slideshow' => [
1684 'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1685 'dependencies' => [
1686 'mediawiki.api',
1687 'mediawiki.Title',
1688 'oojs',
1689 'oojs-ui-core',
1690 'oojs-ui-widgets',
1691 'oojs-ui.styles.icons-media'
1693 'messages' => [
1694 'gallery-slideshow-toggle'
1697 'mediawiki.page.ready' => [
1698 'scripts' => 'resources/src/mediawiki/page/ready.js',
1699 'dependencies' => [
1700 'jquery.accessKeyLabel',
1701 'jquery.checkboxShiftClick',
1702 'jquery.makeCollapsible',
1703 'jquery.placeholder',
1704 'jquery.mw-jump',
1706 'targets' => [ 'desktop', 'mobile' ],
1708 'mediawiki.page.startup' => [
1709 'scripts' => 'resources/src/mediawiki/page/startup.js',
1710 'dependencies' => 'mediawiki.util',
1711 'targets' => [ 'desktop', 'mobile' ],
1713 'mediawiki.page.patrol.ajax' => [
1714 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1715 'dependencies' => [
1716 'mediawiki.page.startup',
1717 'mediawiki.api',
1718 'mediawiki.util',
1719 'mediawiki.Title',
1720 'mediawiki.notify',
1721 'jquery.spinner',
1722 'user.tokens'
1724 'messages' => [
1725 'markedaspatrollednotify',
1726 'markedaspatrollederrornotify',
1727 'markedaspatrollederror-noautopatrol'
1730 'mediawiki.page.watch.ajax' => [
1731 'scripts' => 'resources/src/mediawiki/page/watch.js',
1732 'dependencies' => [
1733 'mediawiki.page.startup',
1734 'mediawiki.api.watch',
1735 'mediawiki.notify',
1736 'mediawiki.util',
1737 'mediawiki.Title',
1738 'mediawiki.jqueryMsg',
1739 'jquery.accessKeyLabel',
1740 'mediawiki.RegExp',
1742 'messages' => [
1743 'watch',
1744 'unwatch',
1745 'watching',
1746 'unwatching',
1747 'tooltip-ca-watch',
1748 'tooltip-ca-unwatch',
1749 'watcherrortext',
1750 'addedwatchtext',
1751 'addedwatchtext-talk',
1752 'removedwatchtext',
1753 'removedwatchtext-talk',
1756 'mediawiki.page.rollback' => [
1757 'scripts' => 'resources/src/mediawiki/page/rollback.js',
1758 'dependencies' => [
1759 'mediawiki.api.rollback',
1760 'mediawiki.notify',
1761 'jquery.spinner',
1763 'messages' => [
1764 'rollbackfailed',
1765 'actioncomplete',
1768 'mediawiki.page.image.pagination' => [
1769 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1770 'dependencies' => [
1771 'mediawiki.util',
1772 'jquery.spinner',
1776 /* MediaWiki Special pages */
1778 'mediawiki.special' => [
1779 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1780 'targets' => [ 'desktop', 'mobile' ],
1782 'mediawiki.special.apisandbox.styles' => [
1783 'targets' => [ 'desktop', 'mobile' ],
1784 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1786 'mediawiki.special.apisandbox' => [
1787 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1788 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1789 'targets' => [ 'desktop', 'mobile' ],
1790 'dependencies' => [
1791 'mediawiki.api',
1792 'mediawiki.jqueryMsg',
1793 'oojs-ui',
1794 'mediawiki.widgets.datetime',
1796 'messages' => [
1797 'apisandbox-intro',
1798 'apisandbox-submit',
1799 'apisandbox-reset',
1800 'apisandbox-fullscreen',
1801 'apisandbox-fullscreen-tooltip',
1802 'apisandbox-unfullscreen',
1803 'apisandbox-unfullscreen-tooltip',
1804 'apisandbox-retry',
1805 'apisandbox-loading',
1806 'apisandbox-load-error',
1807 'apisandbox-fetch-token',
1808 'apisandbox-helpurls',
1809 'apisandbox-examples',
1810 'apisandbox-dynamic-parameters',
1811 'apisandbox-dynamic-parameters-add-label',
1812 'apisandbox-dynamic-parameters-add-placeholder',
1813 'apisandbox-dynamic-error-exists',
1814 'apisandbox-deprecated-parameters',
1815 'apisandbox-no-parameters',
1816 'api-help-param-limit',
1817 'api-help-param-limit2',
1818 'api-help-param-integer-min',
1819 'api-help-param-integer-max',
1820 'api-help-param-integer-minmax',
1821 'api-help-param-multi-separate',
1822 'api-help-param-multi-max',
1823 'apisandbox-submit-invalid-fields-title',
1824 'apisandbox-submit-invalid-fields-message',
1825 'apisandbox-results',
1826 'apisandbox-sending-request',
1827 'apisandbox-loading-results',
1828 'apisandbox-results-error',
1829 'apisandbox-request-url-label',
1830 'apisandbox-request-time',
1831 'apisandbox-results-fixtoken',
1832 'apisandbox-results-fixtoken-fail',
1833 'apisandbox-alert-page',
1834 'apisandbox-alert-field',
1835 'apisandbox-continue',
1836 'apisandbox-continue-clear',
1837 'apisandbox-continue-help',
1838 'apisandbox-param-limit',
1839 'apisandbox-multivalue-all-namespaces',
1840 'apisandbox-multivalue-all-values',
1841 'api-format-prettyprint-status',
1842 'blanknamespace',
1845 'mediawiki.special.block' => [
1846 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1847 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1848 'dependencies' => 'mediawiki.util',
1850 'mediawiki.special.changeslist' => [
1851 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1853 'mediawiki.special.changeslist.legend' => [
1854 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1856 'mediawiki.special.changeslist.legend.js' => [
1857 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1858 'dependencies' => [
1859 'jquery.makeCollapsible',
1860 'mediawiki.cookie',
1863 'mediawiki.special.changeslist.enhanced' => [
1864 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1866 'mediawiki.special.changeslist.visitedstatus' => [
1867 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1869 'mediawiki.special.comparepages.styles' => [
1870 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1872 'mediawiki.special.edittags' => [
1873 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1874 'dependencies' => [
1875 'jquery.chosen',
1877 'messages' => [
1878 'tags-edit-chosen-placeholder',
1879 'tags-edit-chosen-no-results',
1882 'mediawiki.special.edittags.styles' => [
1883 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1885 'mediawiki.special.import' => [
1886 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1888 'mediawiki.special.movePage' => [
1889 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1890 'dependencies' => [
1891 'jquery.byteLimit',
1892 'mediawiki.widgets',
1895 'mediawiki.special.movePage.styles' => [
1896 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1898 'mediawiki.special.pageLanguage' => [
1899 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1900 'dependencies' => [
1901 'oojs-ui-core',
1904 'mediawiki.special.pagesWithProp' => [
1905 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1907 'mediawiki.special.preferences' => [
1908 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1909 'messages' => [
1910 'prefs-tabs-navigation-hint',
1911 'prefswarning-warning',
1912 'saveprefs',
1913 'savedprefs',
1915 'dependencies' => [
1916 'mediawiki.language',
1917 'mediawiki.confirmCloseWindow',
1918 'mediawiki.notification.convertmessagebox',
1921 'mediawiki.special.userrights' => [
1922 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
1923 'dependencies' => [
1924 'mediawiki.notification.convertmessagebox',
1927 'mediawiki.special.preferences.styles' => [
1928 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1930 'mediawiki.special.recentchanges' => [
1931 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1933 'mediawiki.special.search' => [
1934 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1935 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1936 'dependencies' => 'mediawiki.widgets.SearchInputWidget',
1937 'messages' => [
1938 'powersearch-togglelabel',
1939 'powersearch-toggleall',
1940 'powersearch-togglenone',
1943 'mediawiki.special.search.styles' => [
1944 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
1945 'targets' => [ 'desktop', 'mobile' ],
1947 'mediawiki.special.undelete' => [
1948 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1950 'mediawiki.special.upload' => [
1951 'templates' => [
1952 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1954 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1955 'messages' => [
1956 'widthheight',
1957 'size-bytes',
1958 'size-kilobytes',
1959 'size-megabytes',
1960 'size-gigabytes',
1961 'largefileserver',
1962 'editwarning-warning',
1963 // editwarning-warning uses {{int:prefs-editing}}
1964 'prefs-editing',
1966 'dependencies' => [
1967 'mediawiki.special.upload.styles',
1968 'jquery.spinner',
1969 'mediawiki.jqueryMsg',
1970 'mediawiki.api',
1971 'mediawiki.libs.jpegmeta',
1972 'mediawiki.Title',
1973 'mediawiki.util',
1974 'mediawiki.confirmCloseWindow',
1975 'user.options',
1978 'mediawiki.special.upload.styles' => [
1979 'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
1981 'mediawiki.special.userlogin.common.styles' => [
1982 'styles' => [
1983 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1986 'mediawiki.special.userlogin.signup.styles' => [
1987 'styles' => [
1988 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1991 'mediawiki.special.userlogin.login.styles' => [
1992 'styles' => [
1993 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1996 'mediawiki.special.userlogin.signup.js' => [
1997 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1998 'messages' => [
1999 'createacct-error',
2000 'createacct-emailrequired',
2001 'noname',
2002 'userexists',
2004 'dependencies' => [
2005 'mediawiki.api',
2006 'mediawiki.jqueryMsg',
2007 'jquery.throttle-debounce',
2010 'mediawiki.special.unwatchedPages' => [
2011 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2012 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2013 'messages' => [
2014 'addedwatchtext-short',
2015 'removedwatchtext-short',
2016 'unwatch',
2017 'unwatching',
2018 'watch',
2019 'watcherrortext',
2020 'watching',
2022 'dependencies' => [
2023 'mediawiki.api',
2024 'mediawiki.api.watch',
2025 'mediawiki.notify',
2026 'mediawiki.Title',
2027 'mediawiki.util',
2030 'mediawiki.special.watchlist' => [
2031 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2032 'dependencies' => [
2033 'mediawiki.api',
2034 'oojs-ui-core',
2035 'user.options',
2038 'mediawiki.special.version' => [
2039 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2042 /* MediaWiki Installer */
2044 // Used in the web installer. Test it after modifying this definition!
2045 'mediawiki.legacy.config' => [
2046 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2047 'scripts' => 'mw-config/config.js',
2048 'styles' => 'mw-config/config.css',
2051 /* MediaWiki Legacy */
2053 'mediawiki.legacy.commonPrint' => [
2054 'styles' => [
2055 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2058 'mediawiki.legacy.protect' => [
2059 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2060 'dependencies' => 'jquery.byteLimit',
2061 'messages' => [ 'protect-unchain-permissions' ]
2063 // Used in the web installer. Test it after modifying this definition!
2064 'mediawiki.legacy.shared' => [
2065 'styles' => [
2066 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2069 'mediawiki.legacy.oldshared' => [
2070 'styles' => [
2071 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2074 'mediawiki.legacy.wikibits' => [
2075 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2076 'dependencies' => 'mediawiki.util',
2077 'targets' => [ 'desktop', 'mobile' ],
2080 /* MediaWiki UI */
2082 'mediawiki.ui' => [
2083 'skinStyles' => [
2084 'default' => [
2085 'resources/src/mediawiki.ui/default.less',
2088 'targets' => [ 'desktop', 'mobile' ],
2090 'mediawiki.ui.checkbox' => [
2091 'skinStyles' => [
2092 'default' => [
2093 'resources/src/mediawiki.ui/components/checkbox.less',
2096 'targets' => [ 'desktop', 'mobile' ],
2098 'mediawiki.ui.radio' => [
2099 'skinStyles' => [
2100 'default' => [
2101 'resources/src/mediawiki.ui/components/radio.less',
2104 'targets' => [ 'desktop', 'mobile' ],
2106 // Lightweight module for anchor styles
2107 'mediawiki.ui.anchor' => [
2108 'skinStyles' => [
2109 'default' => [
2110 'resources/src/mediawiki.ui/components/anchors.less',
2113 'targets' => [ 'desktop', 'mobile' ],
2115 // Lightweight module for button styles
2116 'mediawiki.ui.button' => [
2117 'skinStyles' => [
2118 'default' => [
2119 'resources/src/mediawiki.ui/components/buttons.less',
2122 'targets' => [ 'desktop', 'mobile' ],
2124 'mediawiki.ui.input' => [
2125 'skinStyles' => [
2126 'default' => [
2127 'resources/src/mediawiki.ui/components/inputs.less',
2130 'targets' => [ 'desktop', 'mobile' ],
2132 'mediawiki.ui.icon' => [
2133 'skinStyles' => [
2134 'default' => [
2135 'resources/src/mediawiki.ui/components/icons.less',
2138 'targets' => [ 'desktop', 'mobile' ],
2140 // Lightweight module for text styles
2141 'mediawiki.ui.text' => [
2142 'skinStyles' => [
2143 'default' => [
2144 'resources/src/mediawiki.ui/components/text.less',
2147 'targets' => [ 'desktop', 'mobile' ],
2150 'mediawiki.widgets' => [
2151 'scripts' => [
2152 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2153 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2154 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2155 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2156 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2157 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2158 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2160 'skinStyles' => [
2161 'default' => [
2162 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2165 'dependencies' => [
2166 'oojs-ui-widgets',
2167 'mediawiki.widgets.styles',
2168 // TitleInputWidget
2169 'mediawiki.Title',
2170 'mediawiki.api',
2171 'jquery.byteLimit',
2172 // TitleOptionWidget
2173 'jquery.autoEllipsis',
2175 'messages' => [
2176 // NamespaceInputWidget
2177 'blanknamespace',
2178 'namespacesall',
2179 // TitleInputWidget
2180 'mw-widgets-titleinput-description-new-page',
2181 'mw-widgets-titleinput-description-redirect',
2183 'targets' => [ 'desktop', 'mobile' ],
2185 'mediawiki.widgets.styles' => [
2186 'skinStyles' => [
2187 'default' => [
2188 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2189 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2192 'targets' => [ 'desktop', 'mobile' ],
2194 'mediawiki.widgets.DateInputWidget' => [
2195 'scripts' => [
2196 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2197 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2199 'skinStyles' => [
2200 'default' => [
2201 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2202 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2205 'messages' => [
2206 'mw-widgets-dateinput-no-date',
2207 'mw-widgets-dateinput-placeholder-day',
2208 'mw-widgets-dateinput-placeholder-month',
2210 'dependencies' => [
2211 'oojs-ui-widgets',
2212 'moment',
2214 'targets' => [ 'desktop', 'mobile' ],
2216 'mediawiki.widgets.datetime' => [
2217 'scripts' => [
2218 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2219 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2220 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2221 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2222 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2224 'skinStyles' => [
2225 'default' => [
2226 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2227 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2230 'messages' => [
2231 'timezone-utc',
2232 'timezone-local',
2233 'january',
2234 'february',
2235 'march',
2236 'april',
2237 'may_long',
2238 'june',
2239 'july',
2240 'august',
2241 'september',
2242 'october',
2243 'november',
2244 'december',
2245 'jan',
2246 'feb',
2247 'mar',
2248 'apr',
2249 'may',
2250 'jun',
2251 'jul',
2252 'aug',
2253 'sep',
2254 'oct',
2255 'nov',
2256 'dec',
2257 'sunday',
2258 'monday',
2259 'tuesday',
2260 'wednesday',
2261 'thursday',
2262 'friday',
2263 'saturday',
2264 'sun',
2265 'mon',
2266 'tue',
2267 'wed',
2268 'thu',
2269 'fri',
2270 'sat',
2271 'period-am',
2272 'period-pm',
2274 'dependencies' => [
2275 'oojs-ui-core',
2277 'targets' => [ 'desktop', 'mobile' ],
2279 'mediawiki.widgets.CategorySelector' => [
2280 'scripts' => [
2281 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2282 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2284 'dependencies' => [
2285 'oojs-ui-widgets',
2286 'mediawiki.api',
2287 'mediawiki.ForeignApi',
2288 'mediawiki.Title',
2290 'messages' => [
2291 'red-link-title',
2292 'mw-widgets-categoryselector-add-category-placeholder'
2294 'targets' => [ 'desktop', 'mobile' ],
2296 'mediawiki.widgets.MediaSearch' => [
2297 'scripts' => [
2298 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsProvider.js',
2299 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsQueue.js',
2300 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceProvider.js',
2301 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchProvider.js',
2302 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceQueue.js',
2303 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchQueue.js',
2304 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.js',
2305 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js',
2307 'styles' => [
2308 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.css',
2309 'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.css',
2311 'dependencies' => [
2312 'oojs-ui-widgets',
2313 'mediawiki.ForeignApi',
2314 'mediawiki.Title',
2316 'messages' => [
2317 'mw-widgets-mediasearch-noresults',
2318 'mw-widgets-mediasearch-input-placeholder',
2320 'targets' => [ 'desktop', 'mobile' ],
2322 'mediawiki.widgets.UserInputWidget' => [
2323 'scripts' => [
2324 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2326 'dependencies' => [
2327 'oojs-ui-widgets',
2329 'targets' => [ 'desktop', 'mobile' ],
2331 'mediawiki.widgets.SearchInputWidget' => [
2332 'scripts' => [
2333 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2335 'dependencies' => [
2336 'mediawiki.searchSuggest',
2337 // FIXME: Needs TitleInputWidget only
2338 'mediawiki.widgets',
2341 'mediawiki.widgets.SearchInputWidget.styles' => [
2342 'skinStyles' => [
2343 'default' => [
2344 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2347 'targets' => [ 'desktop', 'mobile' ],
2349 'mediawiki.widgets.StashedFileWidget' => [
2350 'scripts' => [
2351 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2353 'skinStyles' => [
2354 'default' => [
2355 'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2358 'dependencies' => [
2359 'oojs-ui-core',
2362 /* es5-shim */
2363 'es5-shim' => [
2364 'scripts' => [
2365 'resources/lib/es5-shim/es5-shim.js',
2366 'resources/src/polyfill-object-create.js',
2368 'targets' => [ 'desktop', 'mobile' ],
2369 'skipFunction' => 'resources/src/es5-skip.js',
2372 /* dom-level2-shim */
2373 // IE 8
2374 'dom-level2-shim' => [
2375 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2376 'targets' => [ 'desktop', 'mobile' ],
2377 'skipFunction' => 'resources/src/dom-level2-skip.js',
2380 /* OOjs */
2381 'oojs' => [
2382 'scripts' => [
2383 'resources/lib/oojs/oojs.jquery.js',
2384 'resources/src/oojs-global.js',
2386 'targets' => [ 'desktop', 'mobile' ],
2387 'dependencies' => [
2388 'es5-shim',
2392 'mediawiki.router' => [
2393 'scripts' => [
2394 'resources/src/mediawiki.router/index.js',
2396 'targets' => [ 'desktop', 'mobile' ],
2397 'dependencies' => [
2398 'oojs-router',
2402 'oojs-router' => [
2403 'scripts' => [
2404 'resources/lib/oojs-router/oojs-router.js',
2406 'targets' => [ 'desktop', 'mobile' ],
2407 'dependencies' => [
2408 'oojs',
2412 /* OOjs UI */
2413 // @see ResourcesOOUI.php