Simplify by using mw.util.getUrl() instead of mw.util.wikiScript()
[lhc/web/wiklou.git] / resources / Resources.php
1 <?php
2 /**
3 * Definition of core ResourceLoader modules.
4 *
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.
9 *
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.
14 *
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
19 *
20 * @file
21 */
22
23 if ( !defined( 'MEDIAWIKI' ) ) {
24 die( 'Not an entry point.' );
25 }
26
27 return [
28
29 /**
30 * Special modules who have their own classes
31 */
32 'startup' => [ 'class' => 'ResourceLoaderStartUpModule' ],
33
34 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
35 'site' => [ 'class' => 'ResourceLoaderSiteModule' ],
36 'noscript' => [
37 'class' => 'ResourceLoaderWikiModule',
38 'styles' => [ 'MediaWiki:Noscript.css' ],
39 'group' => 'noscript',
40 ],
41 'filepage' => [
42 'position' => 'top',
43 'class' => 'ResourceLoaderWikiModule',
44 'styles' => [ 'MediaWiki:Filepage.css' ],
45 ],
46 'user.groups' => [ 'class' => 'ResourceLoaderUserGroupsModule' ],
47
48 // Scripts managed by the current user (stored in their user space)
49 'user' => [ 'class' => 'ResourceLoaderUserModule' ],
50
51 // Scripts generated based on the current user's preferences
52 'user.cssprefs' => [ 'class' => 'ResourceLoaderUserCSSPrefsModule' ],
53
54 // Populate mediawiki.user placeholders with information about the current user
55 'user.defaults' => [ 'class' => 'ResourceLoaderUserDefaultsModule' ],
56 'user.options' => [ 'class' => 'ResourceLoaderUserOptionsModule' ],
57 'user.tokens' => [ 'class' => 'ResourceLoaderUserTokensModule' ],
58
59 // Scripts for the dynamic language specific data, like grammar forms.
60 'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
61
62 /* MediaWiki base skinning modules */
63
64 /**
65 * Common skin styles, grouped into three graded levels.
66 *
67 * Level 1 "elements":
68 * The base level that only contains the most basic of common skin styles.
69 * Only styles for single elements are included, no styling for complex structures like the
70 * TOC is present. This level is for skins that want to implement the entire style of even
71 * content area structures like the TOC themselves.
72 *
73 * Level 2 "content":
74 * The most commonly used level for skins implemented from scratch. This level includes all
75 * the single element styles from "elements" as well as styles for complex structures such
76 * as the TOC that are output in the content area by MediaWiki rather than the skin.
77 * Essentially this is the common level that lets skins leave the style of the content area
78 * as it is normally styled, while leaving the rest of the skin up to the skin
79 * implementation.
80 *
81 * Level 3 "interface":
82 * The highest level, this stylesheet contains extra common styles for classes like
83 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
84 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
85 * common to MonoBook clones. And since practically every skin that currently exists within
86 * core is a MonoBook clone, all our core skins currently use this level.
87 *
88 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
89 * dependency management. As a result they contain duplicate stylesheet references instead of
90 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
91 * including more than one of them into your skin as this will result in duplicate CSS.
92 */
93 'mediawiki.skinning.elements' => [
94 'position' => 'top',
95 'styles' => [
96 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
97 ],
98 ],
99 'mediawiki.skinning.content' => [
100 'position' => 'top',
101 'styles' => [
102 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
103 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
104 ],
105 ],
106 // Used in the web installer. Test it after modifying this definition!
107 'mediawiki.skinning.interface' => [
108 'position' => 'top',
109 'class' => 'ResourceLoaderSkinModule',
110 'styles' => [
111 'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
112 'resources/src/mediawiki.skinning/content.css' => [ 'media' => 'screen' ],
113 'resources/src/mediawiki.skinning/interface.css' => [ 'media' => 'screen' ],
114 ],
115 ],
116
117 'mediawiki.skinning.content.parsoid' => [
118 'position' => 'top',
119 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
120 // with the interface.css styles; skinStyles should be used if your
121 // skin over-rides common content styling.
122 'skinStyles' => [
123 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
124 ],
125 'targets' => [ 'desktop', 'mobile' ],
126 ],
127
128 'mediawiki.skinning.content.externallinks' => [
129 'position' => 'bottom',
130 'styles' => [
131 'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
132 ],
133 ],
134
135 /* jQuery */
136
137 'jquery' => [
138 'scripts' => [
139 'resources/lib/jquery/jquery.js',
140 ],
141 'raw' => true,
142 'targets' => [ 'desktop', 'mobile' ],
143 ],
144
145 /* jQuery Plugins */
146
147 'jquery.accessKeyLabel' => [
148 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
149 'dependencies' => [
150 'jquery.client',
151 'mediawiki.RegExp',
152 ],
153 'messages' => [ 'brackets', 'word-separator' ],
154 'targets' => [ 'mobile', 'desktop' ],
155 ],
156 'jquery.appear' => [
157 'scripts' => 'resources/lib/jquery/jquery.appear.js',
158 ],
159 'jquery.arrowSteps' => [
160 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
161 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
162 ],
163 'jquery.async' => [
164 'scripts' => 'resources/lib/jquery/jquery.async.js',
165 ],
166 'jquery.autoEllipsis' => [
167 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
168 'dependencies' => 'jquery.highlightText',
169 'targets' => [ 'desktop', 'mobile' ],
170 ],
171 'jquery.badge' => [
172 'scripts' => 'resources/src/jquery/jquery.badge.js',
173 'styles' => 'resources/src/jquery/jquery.badge.css',
174 'dependencies' => 'mediawiki.language',
175 ],
176 'jquery.byteLength' => [
177 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
178 'targets' => [ 'desktop', 'mobile' ],
179 ],
180 'jquery.byteLimit' => [
181 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
182 'dependencies' => 'jquery.byteLength',
183 'targets' => [ 'desktop', 'mobile' ],
184 ],
185 'jquery.checkboxShiftClick' => [
186 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
187 'targets' => [ 'desktop', 'mobile' ],
188 ],
189 'jquery.chosen' => [
190 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
191 'styles' => 'resources/lib/jquery.chosen/chosen.css',
192 ],
193 'jquery.client' => [
194 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
195 'targets' => [ 'desktop', 'mobile' ],
196 ],
197 'jquery.color' => [
198 'scripts' => 'resources/src/jquery/jquery.color.js',
199 'dependencies' => 'jquery.colorUtil',
200 ],
201 'jquery.colorUtil' => [
202 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
203 ],
204 'jquery.confirmable' => [
205 'scripts' => [
206 'resources/src/jquery/jquery.confirmable.js',
207 'resources/src/jquery/jquery.confirmable.mediawiki.js',
208 ],
209 'messages' => [
210 'confirmable-confirm',
211 'confirmable-yes',
212 'confirmable-no',
213 'word-separator',
214 ],
215 'styles' => 'resources/src/jquery/jquery.confirmable.css',
216 'dependencies' => 'mediawiki.jqueryMsg',
217 ],
218 'jquery.cookie' => [
219 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
220 'targets' => [ 'desktop', 'mobile' ],
221 ],
222 'jquery.expandableField' => [
223 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
224 ],
225 'jquery.farbtastic' => [
226 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
227 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
228 'dependencies' => 'jquery.colorUtil',
229 ],
230 'jquery.footHovzer' => [
231 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
232 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
233 ],
234 'jquery.form' => [
235 'scripts' => 'resources/lib/jquery/jquery.form.js',
236 ],
237 'jquery.fullscreen' => [
238 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
239 ],
240 'jquery.getAttrs' => [
241 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
242 'targets' => [ 'desktop', 'mobile' ],
243 ],
244 'jquery.hidpi' => [
245 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
246 'targets' => [ 'desktop', 'mobile' ],
247 ],
248 'jquery.highlightText' => [
249 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
250 'dependencies' => [
251 'mediawiki.RegExp',
252 'dom-level2-shim',
253 ],
254 'targets' => [ 'desktop', 'mobile' ],
255 ],
256 'jquery.hoverIntent' => [
257 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
258 ],
259 'jquery.i18n' => [
260 'scripts' => [
261 'resources/lib/jquery.i18n/src/jquery.i18n.js',
262 'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
263 'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
264 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
265 'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
266 'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
267 'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
268 ],
269 'dependencies' => 'mediawiki.libs.pluralruleparser',
270 'languageScripts' => [
271 'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
272 'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
273 'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
274 'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
275 'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
276 'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
277 'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
278 'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
279 'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
280 'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
281 'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
282 'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
283 'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
284 'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
285 ],
286 'targets' => [ 'desktop', 'mobile' ],
287 ],
288 'jquery.localize' => [
289 'scripts' => 'resources/src/jquery/jquery.localize.js',
290 ],
291 'jquery.makeCollapsible' => [
292 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
293 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
294 'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
295 'targets' => [ 'desktop', 'mobile' ],
296 ],
297 'jquery.mockjax' => [
298 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
299 ],
300 'jquery.mw-jump' => [
301 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
302 'targets' => [ 'desktop', 'mobile' ],
303 ],
304 'jquery.mwExtension' => [
305 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
306 'targets' => [ 'desktop', 'mobile' ],
307 ],
308 'jquery.placeholder' => [
309 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
310 'targets' => [ 'desktop', 'mobile' ],
311 ],
312 'jquery.qunit' => [
313 'scripts' => 'resources/lib/qunitjs/qunit.js',
314 'styles' => 'resources/lib/qunitjs/qunit.css',
315 'position' => 'top',
316 'targets' => [ 'desktop', 'mobile' ],
317 ],
318 'jquery.qunit.completenessTest' => [
319 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
320 'dependencies' => 'jquery.qunit',
321 'targets' => [ 'desktop', 'mobile' ],
322 ],
323 'jquery.spinner' => [
324 'scripts' => 'resources/src/jquery/jquery.spinner.js',
325 'styles' => 'resources/src/jquery/jquery.spinner.css',
326 ],
327 'jquery.jStorage' => [
328 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
329 'dependencies' => 'json',
330 ],
331 'jquery.suggestions' => [
332 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
333 'styles' => 'resources/src/jquery/jquery.suggestions.css',
334 'dependencies' => 'jquery.highlightText',
335 ],
336 'jquery.tabIndex' => [
337 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
338 ],
339 'jquery.tablesorter' => [
340 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
341 'styles' => 'resources/src/jquery/jquery.tablesorter.less',
342 'messages' => [ 'sort-descending', 'sort-ascending' ],
343 'dependencies' => [
344 'dom-level2-shim',
345 'mediawiki.RegExp',
346 'mediawiki.language.months',
347 ],
348 ],
349 'jquery.textSelection' => [
350 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
351 'dependencies' => 'jquery.client',
352 'targets' => [ 'mobile', 'desktop' ],
353 ],
354 'jquery.throttle-debounce' => [
355 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
356 'targets' => [ 'desktop', 'mobile' ],
357 ],
358 'jquery.xmldom' => [
359 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
360 ],
361
362 /* jQuery Tipsy */
363
364 'jquery.tipsy' => [
365 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
366 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
367 ],
368
369 /* jQuery UI */
370
371 'jquery.ui.core' => [
372 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
373 'dependencies' => [
374 'jquery.ui.core.styles',
375 ],
376 'group' => 'jquery.ui',
377 ],
378 'jquery.ui.core.styles' => [
379 'position' => 'top',
380 'skinStyles' => [
381 'default' => [
382 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
383 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
384 ],
385 ],
386 'group' => 'jquery.ui',
387 ],
388 'jquery.ui.accordion' => [
389 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
390 'dependencies' => [
391 'jquery.ui.core',
392 'jquery.ui.widget',
393 ],
394 'skinStyles' => [
395 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
396 ],
397 'group' => 'jquery.ui',
398 ],
399 'jquery.ui.autocomplete' => [
400 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
401 'dependencies' => [
402 'jquery.ui.core',
403 'jquery.ui.widget',
404 'jquery.ui.position',
405 'jquery.ui.menu',
406 ],
407 'skinStyles' => [
408 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
409 ],
410 'group' => 'jquery.ui',
411 ],
412 'jquery.ui.button' => [
413 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
414 'dependencies' => [
415 'jquery.ui.core',
416 'jquery.ui.widget',
417 ],
418 'skinStyles' => [
419 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
420 ],
421 'group' => 'jquery.ui',
422 ],
423 'jquery.ui.datepicker' => [
424 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
425 'dependencies' => 'jquery.ui.core',
426 'skinStyles' => [
427 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
428 ],
429 'languageScripts' => [
430 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
431 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
432 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
433 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
434 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
435 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
436 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
437 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
438 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
439 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
440 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
441 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
442 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
443 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
444 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
445 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
446 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
447 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
448 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
449 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
450 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
451 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
452 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
453 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
454 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
455 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
456 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
457 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
458 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
459 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
460 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
461 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
462 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
463 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
464 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
465 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
466 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
467 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
468 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
469 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
470 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
471 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
472 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
473 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
474 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
475 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
476 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
477 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
478 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
479 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
480 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
481 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
482 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
483 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
484 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
485 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
486 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
487 'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
488 'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
489 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
490 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
491 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
492 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
493 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
494 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
495 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
496 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
497 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
498 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
499 ],
500 'group' => 'jquery.ui',
501 ],
502 'jquery.ui.dialog' => [
503 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
504 'dependencies' => [
505 'jquery.ui.core',
506 'jquery.ui.widget',
507 'jquery.ui.button',
508 'jquery.ui.draggable',
509 'jquery.ui.mouse',
510 'jquery.ui.position',
511 'jquery.ui.resizable',
512 ],
513 'skinStyles' => [
514 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
515 ],
516 'group' => 'jquery.ui',
517 ],
518 'jquery.ui.draggable' => [
519 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
520 'dependencies' => [
521 'jquery.ui.core',
522 'jquery.ui.mouse',
523 'jquery.ui.widget',
524 ],
525 'group' => 'jquery.ui',
526 ],
527 'jquery.ui.droppable' => [
528 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
529 'dependencies' => [
530 'jquery.ui.core',
531 'jquery.ui.mouse',
532 'jquery.ui.widget',
533 'jquery.ui.draggable',
534 ],
535 'group' => 'jquery.ui',
536 ],
537 'jquery.ui.menu' => [
538 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
539 'dependencies' => [
540 'jquery.ui.core',
541 'jquery.ui.widget',
542 'jquery.ui.position',
543 ],
544 'skinStyles' => [
545 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
546 ],
547 'group' => 'jquery.ui',
548 ],
549 'jquery.ui.mouse' => [
550 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
551 'dependencies' => 'jquery.ui.widget',
552 'group' => 'jquery.ui',
553 ],
554 'jquery.ui.position' => [
555 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
556 'group' => 'jquery.ui',
557 ],
558 'jquery.ui.progressbar' => [
559 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
560 'dependencies' => [
561 'jquery.ui.core',
562 'jquery.ui.widget',
563 ],
564 'skinStyles' => [
565 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
566 ],
567 'group' => 'jquery.ui',
568 ],
569 'jquery.ui.resizable' => [
570 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
571 'dependencies' => [
572 'jquery.ui.core',
573 'jquery.ui.widget',
574 'jquery.ui.mouse',
575 ],
576 'skinStyles' => [
577 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
578 ],
579 'group' => 'jquery.ui',
580 ],
581 'jquery.ui.selectable' => [
582 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
583 'dependencies' => [
584 'jquery.ui.core',
585 'jquery.ui.widget',
586 'jquery.ui.mouse',
587 ],
588 'skinStyles' => [
589 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
590 ],
591 'group' => 'jquery.ui',
592 ],
593 'jquery.ui.slider' => [
594 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
595 'dependencies' => [
596 'jquery.ui.core',
597 'jquery.ui.widget',
598 'jquery.ui.mouse',
599 ],
600 'skinStyles' => [
601 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
602 ],
603 'group' => 'jquery.ui',
604 ],
605 'jquery.ui.sortable' => [
606 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
607 'dependencies' => [
608 'jquery.ui.core',
609 'jquery.ui.mouse',
610 'jquery.ui.widget',
611 ],
612 'group' => 'jquery.ui',
613 ],
614 'jquery.ui.spinner' => [
615 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
616 'dependencies' => [
617 'jquery.ui.core',
618 'jquery.ui.widget',
619 'jquery.ui.button',
620 ],
621 'skinStyles' => [
622 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
623 ],
624 'group' => 'jquery.ui',
625 ],
626 'jquery.ui.tabs' => [
627 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
628 'dependencies' => [
629 'jquery.ui.core',
630 'jquery.ui.widget',
631 ],
632 'skinStyles' => [
633 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
634 ],
635 'group' => 'jquery.ui',
636 ],
637 'jquery.ui.tooltip' => [
638 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
639 'dependencies' => [
640 'jquery.ui.core',
641 'jquery.ui.widget',
642 'jquery.ui.position',
643 ],
644 'skinStyles' => [
645 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
646 ],
647 'group' => 'jquery.ui',
648 ],
649 'jquery.ui.widget' => [
650 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
651 'group' => 'jquery.ui',
652 ],
653 // Effects
654 'jquery.effects.core' => [
655 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
656 'group' => 'jquery.ui',
657 ],
658 'jquery.effects.blind' => [
659 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
660 'dependencies' => 'jquery.effects.core',
661 'group' => 'jquery.ui',
662 ],
663 'jquery.effects.bounce' => [
664 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
665 'dependencies' => 'jquery.effects.core',
666 'group' => 'jquery.ui',
667 ],
668 'jquery.effects.clip' => [
669 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
670 'dependencies' => 'jquery.effects.core',
671 'group' => 'jquery.ui',
672 ],
673 'jquery.effects.drop' => [
674 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
675 'dependencies' => 'jquery.effects.core',
676 'group' => 'jquery.ui',
677 ],
678 'jquery.effects.explode' => [
679 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
680 'dependencies' => 'jquery.effects.core',
681 'group' => 'jquery.ui',
682 ],
683 'jquery.effects.fade' => [
684 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
685 'dependencies' => 'jquery.effects.core',
686 'group' => 'jquery.ui',
687 ],
688 'jquery.effects.fold' => [
689 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
690 'dependencies' => 'jquery.effects.core',
691 'group' => 'jquery.ui',
692 ],
693 'jquery.effects.highlight' => [
694 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
695 'dependencies' => 'jquery.effects.core',
696 'group' => 'jquery.ui',
697 ],
698 'jquery.effects.pulsate' => [
699 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
700 'dependencies' => 'jquery.effects.core',
701 'group' => 'jquery.ui',
702 ],
703 'jquery.effects.scale' => [
704 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
705 'dependencies' => 'jquery.effects.core',
706 'group' => 'jquery.ui',
707 ],
708 'jquery.effects.shake' => [
709 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
710 'dependencies' => 'jquery.effects.core',
711 'group' => 'jquery.ui',
712 ],
713 'jquery.effects.slide' => [
714 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
715 'dependencies' => 'jquery.effects.core',
716 'group' => 'jquery.ui',
717 ],
718 'jquery.effects.transfer' => [
719 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
720 'dependencies' => 'jquery.effects.core',
721 'group' => 'jquery.ui',
722 ],
723
724 /* json2 */
725
726 'json' => [
727 'scripts' => 'resources/lib/json2/json2.js',
728 'targets' => [ 'desktop', 'mobile' ],
729 'skipFunction' => 'resources/src/json-skip.js',
730 ],
731
732 /* Moment.js */
733
734 'moment' => [
735 'scripts' => [
736 'resources/lib/moment/moment.js',
737 'resources/src/moment-local-dmy.js',
738 ],
739 'languageScripts' => [
740 'af' => 'resources/lib/moment/locale/af.js',
741 'ar' => 'resources/lib/moment/locale/ar.js',
742 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
743 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
744 'az' => 'resources/lib/moment/locale/az.js',
745 'be' => 'resources/lib/moment/locale/be.js',
746 'bg' => 'resources/lib/moment/locale/bg.js',
747 'bn' => 'resources/lib/moment/locale/bn.js',
748 'bo' => 'resources/lib/moment/locale/bo.js',
749 'br' => 'resources/lib/moment/locale/br.js',
750 'bs' => 'resources/lib/moment/locale/bs.js',
751 'ca' => 'resources/lib/moment/locale/ca.js',
752 'cs' => 'resources/lib/moment/locale/cs.js',
753 'cv' => 'resources/lib/moment/locale/cv.js',
754 'cy' => 'resources/lib/moment/locale/cy.js',
755 'da' => 'resources/lib/moment/locale/da.js',
756 'de' => 'resources/lib/moment/locale/de.js',
757 'de-at' => 'resources/lib/moment/locale/de-at.js',
758 'el' => 'resources/lib/moment/locale/el.js',
759 'en-au' => 'resources/lib/moment/locale/en-au.js',
760 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
761 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
762 'eo' => 'resources/lib/moment/locale/eo.js',
763 'es' => 'resources/lib/moment/locale/es.js',
764 'et' => 'resources/lib/moment/locale/et.js',
765 'eu' => 'resources/lib/moment/locale/eu.js',
766 'fa' => 'resources/lib/moment/locale/fa.js',
767 'fi' => 'resources/lib/moment/locale/fi.js',
768 'fo' => 'resources/lib/moment/locale/fo.js',
769 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
770 'fr' => 'resources/lib/moment/locale/fr.js',
771 'gl' => 'resources/lib/moment/locale/gl.js',
772 'he' => 'resources/lib/moment/locale/he.js',
773 'hi' => 'resources/lib/moment/locale/hi.js',
774 'hr' => 'resources/lib/moment/locale/hr.js',
775 'hu' => 'resources/lib/moment/locale/hu.js',
776 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
777 'id' => 'resources/lib/moment/locale/id.js',
778 'is' => 'resources/lib/moment/locale/is.js',
779 'it' => 'resources/lib/moment/locale/it.js',
780 'ja' => 'resources/lib/moment/locale/ja.js',
781 'ka' => 'resources/lib/moment/locale/ka.js',
782 'ko' => 'resources/lib/moment/locale/ko.js',
783 'lt' => 'resources/lib/moment/locale/lt.js',
784 'lv' => 'resources/lib/moment/locale/lv.js',
785 'mk' => 'resources/lib/moment/locale/mk.js',
786 'ml' => 'resources/lib/moment/locale/ml.js',
787 'mr' => 'resources/lib/moment/locale/mr.js',
788 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
789 'my' => 'resources/lib/moment/locale/my.js',
790 'nb' => 'resources/lib/moment/locale/nb.js',
791 'ne' => 'resources/lib/moment/locale/ne.js',
792 'nl' => 'resources/lib/moment/locale/nl.js',
793 'nn' => 'resources/lib/moment/locale/nn.js',
794 'pl' => 'resources/lib/moment/locale/pl.js',
795 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
796 'pt' => 'resources/lib/moment/locale/pt.js',
797 'ro' => 'resources/lib/moment/locale/ro.js',
798 'ru' => 'resources/lib/moment/locale/ru.js',
799 'sk' => 'resources/lib/moment/locale/sk.js',
800 'sl' => 'resources/lib/moment/locale/sl.js',
801 'sq' => 'resources/lib/moment/locale/sq.js',
802 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
803 'sr-el' => 'resources/lib/moment/locale/sr.js',
804 'sv' => 'resources/lib/moment/locale/sv.js',
805 'ta' => 'resources/lib/moment/locale/ta.js',
806 'th' => 'resources/lib/moment/locale/th.js',
807 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
808 'tr' => 'resources/lib/moment/locale/tr.js',
809 'tzm' => 'resources/lib/moment/locale/tzm.js',
810 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
811 'uk' => 'resources/lib/moment/locale/uk.js',
812 'uz' => 'resources/lib/moment/locale/uz.js',
813 'vi' => 'resources/lib/moment/locale/vi.js',
814 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
815 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
816 'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
817 'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
818 ],
819 'targets' => [ 'desktop', 'mobile' ],
820 ],
821
822 /* MediaWiki */
823
824 'mediawiki' => [
825 'class' => 'ResourceLoaderRawFileModule',
826 // Keep in sync with maintenance/jsduck/eg-iframe.html
827 'scripts' => [
828 'resources/lib/phpjs-sha1/sha1.js',
829 'resources/src/mediawiki/mediawiki.js',
830 'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
831 'resources/src/mediawiki/mediawiki.errorLogger.js',
832 ],
833 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
834 'targets' => [ 'desktop', 'mobile' ],
835 ],
836 'mediawiki.apihelp' => [
837 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
838 'targets' => [ 'desktop' ],
839 'position' => 'top',
840 ],
841 'mediawiki.template' => [
842 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
843 'targets' => [ 'desktop', 'mobile' ],
844 ],
845 'mediawiki.template.mustache' => [
846 'scripts' => [
847 'resources/lib/mustache/mustache.js',
848 'resources/src/mediawiki/mediawiki.template.mustache.js',
849 ],
850 'targets' => [ 'desktop', 'mobile' ],
851 'dependencies' => 'mediawiki.template',
852 ],
853 'mediawiki.template.regexp' => [
854 'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
855 'targets' => [ 'desktop', 'mobile' ],
856 'dependencies' => 'mediawiki.template',
857 ],
858 'mediawiki.apipretty' => [
859 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
860 'targets' => [ 'desktop', 'mobile' ],
861 'position' => 'top',
862 ],
863 'mediawiki.api' => [
864 'scripts' => 'resources/src/mediawiki/api.js',
865 'dependencies' => [
866 'mediawiki.util',
867 'user.tokens',
868 ],
869 'targets' => [ 'desktop', 'mobile' ],
870 ],
871 'mediawiki.api.category' => [
872 'scripts' => 'resources/src/mediawiki/api/category.js',
873 'dependencies' => [
874 'mediawiki.api',
875 'mediawiki.Title',
876 ],
877 ],
878 'mediawiki.api.edit' => [
879 'scripts' => 'resources/src/mediawiki/api/edit.js',
880 'dependencies' => [
881 'mediawiki.api',
882 'mediawiki.Title',
883 ],
884 'targets' => [ 'desktop', 'mobile' ],
885 ],
886 'mediawiki.api.login' => [
887 'scripts' => 'resources/src/mediawiki/api/login.js',
888 'dependencies' => 'mediawiki.api',
889 ],
890 'mediawiki.api.options' => [
891 'scripts' => 'resources/src/mediawiki/api/options.js',
892 'dependencies' => 'mediawiki.api',
893 'targets' => [ 'desktop', 'mobile' ],
894 ],
895 'mediawiki.api.parse' => [
896 'scripts' => 'resources/src/mediawiki/api/parse.js',
897 'dependencies' => 'mediawiki.api',
898 'targets' => [ 'desktop', 'mobile' ],
899 ],
900 'mediawiki.api.upload' => [
901 'scripts' => 'resources/src/mediawiki/api/upload.js',
902 'dependencies' => [
903 'dom-level2-shim',
904 'mediawiki.api',
905 'mediawiki.api.edit',
906 'json',
907 ],
908 ],
909 'mediawiki.api.user' => [
910 'scripts' => 'resources/src/mediawiki/api/user.js',
911 'dependencies' => [
912 'mediawiki.api',
913 ],
914 'targets' => [ 'desktop', 'mobile' ],
915 ],
916 'mediawiki.api.watch' => [
917 'scripts' => 'resources/src/mediawiki/api/watch.js',
918 'dependencies' => [
919 'mediawiki.api',
920 ],
921 ],
922 'mediawiki.api.messages' => [
923 'scripts' => 'resources/src/mediawiki/api/messages.js',
924 'dependencies' => [
925 'mediawiki.api',
926 ],
927 ],
928 'mediawiki.content.json' => [
929 'position' => 'top',
930 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
931 ],
932 'mediawiki.confirmCloseWindow' => [
933 'scripts' => [
934 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
935 ],
936 'targets' => [ 'desktop', 'mobile' ],
937 ],
938 'mediawiki.debug' => [
939 'scripts' => [
940 'resources/src/mediawiki/mediawiki.debug.js',
941 ],
942 'styles' => [
943 'resources/src/mediawiki/mediawiki.debug.less',
944 ],
945 'dependencies' => [
946 'jquery.footHovzer',
947 'jquery.tipsy',
948 ],
949 'position' => 'bottom',
950 ],
951 'mediawiki.debug.init' => [
952 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
953 'dependencies' => 'mediawiki.debug',
954 // Uses a custom mw.config variable that is set in debughtml,
955 // must be loaded on the bottom
956 'position' => 'bottom',
957 ],
958 'mediawiki.feedback' => [
959 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
960 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
961 'dependencies' => [
962 'mediawiki.messagePoster',
963 'mediawiki.Title',
964 'oojs-ui-core',
965 'oojs-ui-windows',
966 ],
967 'messages' => [
968 'feedback-adding',
969 'feedback-back',
970 'feedback-bugcheck',
971 'feedback-dialog-intro',
972 'feedback-external-bug-report-button',
973 'feedback-bugnew',
974 'feedback-bugornote',
975 'feedback-cancel',
976 'feedback-close',
977 'feedback-dialog-title',
978 'feedback-error-title',
979 'feedback-error1',
980 'feedback-error2',
981 'feedback-error3',
982 'feedback-error4',
983 'feedback-message',
984 'feedback-subject',
985 'feedback-submit',
986 'feedback-terms',
987 'feedback-termsofuse',
988 'feedback-thanks',
989 'feedback-thanks-title',
990 'feedback-useragent'
991 ],
992 ],
993 'mediawiki.feedlink' => [
994 'position' => 'top',
995 'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
996 ],
997 'mediawiki.filewarning' => [
998 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
999 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1000 'dependencies' => [
1001 'oojs-ui-core',
1002 ],
1003 ],
1004 'mediawiki.ForeignApi' => [
1005 'targets' => [ 'desktop', 'mobile' ],
1006 'class' => 'ResourceLoaderForeignApiModule',
1007 // Additional dependencies generated dynamically
1008 'dependencies' => 'mediawiki.ForeignApi.core',
1009 ],
1010 'mediawiki.ForeignApi.core' => [
1011 'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1012 'dependencies' => [
1013 'mediawiki.api',
1014 'oojs',
1015 ],
1016 'targets' => [ 'desktop', 'mobile' ],
1017 ],
1018 'mediawiki.helplink' => [
1019 'position' => 'top',
1020 'styles' => [
1021 'resources/src/mediawiki/mediawiki.helplink.less',
1022 ],
1023 'targets' => [ 'desktop', 'mobile' ],
1024 ],
1025 'mediawiki.hidpi' => [
1026 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1027 'dependencies' => 'jquery.hidpi',
1028 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1029 'targets' => [ 'desktop', 'mobile' ],
1030 ],
1031 'mediawiki.hlist' => [
1032 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1033 ],
1034 'mediawiki.htmlform' => [
1035 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
1036 'dependencies' => [
1037 'mediawiki.RegExp',
1038 'jquery.byteLimit',
1039 ],
1040 'messages' => [
1041 'htmlform-chosen-placeholder',
1042 // @todo Load this message in content language
1043 'colon-separator',
1044 ],
1045 ],
1046 'mediawiki.htmlform.styles' => [
1047 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.css',
1048 'position' => 'top',
1049 ],
1050 'mediawiki.htmlform.ooui.styles' => [
1051 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.css',
1052 'position' => 'top',
1053 ],
1054 'mediawiki.icon' => [
1055 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1056 ],
1057 'mediawiki.inspect' => [
1058 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1059 'dependencies' => [
1060 'jquery.byteLength',
1061 'mediawiki.RegExp',
1062 'json',
1063 ],
1064 'targets' => [ 'desktop', 'mobile' ],
1065 ],
1066 'mediawiki.messagePoster' => [
1067 'scripts' => [
1068 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1069 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1070 ],
1071 'dependencies' => [
1072 'oojs',
1073 'mediawiki.api',
1074 'mediawiki.ForeignApi',
1075 ],
1076 'targets' => [ 'desktop', 'mobile' ],
1077 ],
1078 'mediawiki.messagePoster.wikitext' => [
1079 'scripts' => [
1080 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1081 ],
1082 'dependencies' => [
1083 'mediawiki.api.edit',
1084 'mediawiki.messagePoster',
1085 ],
1086 'targets' => [ 'desktop', 'mobile' ],
1087 ],
1088 'mediawiki.notification' => [
1089 'styles' => [
1090 'resources/src/mediawiki/mediawiki.notification.common.css',
1091 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
1092 => [ 'media' => 'print' ],
1093 ],
1094 'skinStyles' => [
1095 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1096 ],
1097 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1098 'dependencies' => 'mediawiki.page.startup',
1099 'targets' => [ 'desktop', 'mobile' ],
1100 ],
1101 'mediawiki.notify' => [
1102 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1103 'targets' => [ 'desktop', 'mobile' ],
1104 ],
1105 'mediawiki.RegExp' => [
1106 'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1107 'targets' => [ 'desktop', 'mobile' ],
1108 ],
1109 'mediawiki.pager.tablePager' => [
1110 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1111 'position' => 'top',
1112 ],
1113 'mediawiki.searchSuggest' => [
1114 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1115 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1116 'messages' => [
1117 'searchsuggest-search',
1118 'searchsuggest-containing',
1119 ],
1120 'dependencies' => [
1121 'jquery.client',
1122 'jquery.placeholder',
1123 'jquery.suggestions',
1124 'jquery.getAttrs',
1125 'mediawiki.api',
1126 ],
1127 ],
1128 'mediawiki.sectionAnchor' => [
1129 'position' => 'top',
1130 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1131 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1132 'targets' => [ 'desktop', 'mobile' ],
1133 ],
1134 'mediawiki.storage' => [
1135 'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1136 'targets' => [ 'desktop', 'mobile' ],
1137 ],
1138 'mediawiki.Title' => [
1139 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1140 'dependencies' => [
1141 'jquery.byteLength',
1142 'mediawiki.util',
1143 ],
1144 'targets' => [ 'desktop', 'mobile' ],
1145 ],
1146 'mediawiki.Upload' => [
1147 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1148 'dependencies' => [
1149 'dom-level2-shim',
1150 'mediawiki.api.upload',
1151 ],
1152 ],
1153 'mediawiki.ForeignUpload' => [
1154 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1155 'dependencies' => [
1156 'mediawiki.ForeignApi',
1157 'mediawiki.Upload',
1158 'oojs',
1159 ],
1160 'messages' => [
1161 'uploaddisabledtext',
1162 'upload-foreign-cant-upload',
1163 ]
1164 ],
1165 'mediawiki.ForeignStructuredUpload' => [
1166 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1167 'dependencies' => [
1168 'mediawiki.ForeignUpload',
1169 ],
1170 ],
1171 'mediawiki.Upload.Dialog' => [
1172 'scripts' => [
1173 'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1174 ],
1175 'dependencies' => [
1176 'mediawiki.Upload.BookletLayout',
1177 ],
1178 'messages' => [
1179 'upload-dialog-title',
1180 'upload-dialog-button-cancel',
1181 'upload-dialog-button-done',
1182 'upload-dialog-button-save',
1183 'upload-dialog-button-upload',
1184 ],
1185 ],
1186 'mediawiki.Upload.BookletLayout' => [
1187 'scripts' => [
1188 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1189 ],
1190 'styles' => [
1191 'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1192 ],
1193 'dependencies' => [
1194 'oojs-ui-core',
1195 'oojs-ui-windows',
1196 'oojs-ui.styles.icons-content',
1197 'oojs-ui.styles.icons-editing-advanced',
1198 'moment',
1199 'mediawiki.Title',
1200 'mediawiki.user',
1201 'mediawiki.Upload',
1202 'mediawiki.jqueryMsg',
1203 ],
1204 'messages' => [
1205 'upload-form-label-infoform-title',
1206 'upload-form-label-infoform-name',
1207 'upload-form-label-infoform-name-tooltip',
1208 'upload-form-label-infoform-description',
1209 'upload-form-label-infoform-description-tooltip',
1210 'upload-form-label-usage-title',
1211 'upload-form-label-usage-filename',
1212 'api-error-unknownerror',
1213 'api-error-unknown-warning',
1214 'api-error-badaccess-groups',
1215 'api-error-badtoken',
1216 'api-error-copyuploaddisabled',
1217 'api-error-duplicate',
1218 'api-error-duplicate-archive',
1219 'api-error-empty-file',
1220 'api-error-emptypage',
1221 'api-error-fetchfileerror',
1222 'api-error-fileexists-forbidden',
1223 'api-error-fileexists-shared-forbidden',
1224 'api-error-file-too-large',
1225 'api-error-filename-tooshort',
1226 'api-error-filetype-banned',
1227 'api-error-filetype-banned-type',
1228 'api-error-filetype-missing',
1229 'api-error-hookaborted',
1230 'api-error-http',
1231 'api-error-illegal-filename',
1232 'api-error-internal-error',
1233 'api-error-invalid-file-key',
1234 'api-error-missingparam',
1235 'api-error-missingresult',
1236 'api-error-mustbeloggedin',
1237 'api-error-mustbeposted',
1238 'api-error-noimageinfo',
1239 'api-error-nomodule',
1240 'api-error-ok-but-empty',
1241 'api-error-overwrite',
1242 'api-error-stashfailed',
1243 'api-error-publishfailed',
1244 'api-error-stasherror',
1245 'api-error-stashedfilenotfound',
1246 'api-error-stashpathinvalid',
1247 'api-error-stashfilestorage',
1248 'api-error-stashzerolength',
1249 'api-error-stashnotloggedin',
1250 'api-error-stashwrongowner',
1251 'api-error-stashnosuchfilekey',
1252 'api-error-timeout',
1253 'api-error-unclassified',
1254 'api-error-unknown-code',
1255 'api-error-unknown-error',
1256 'api-error-uploaddisabled',
1257 'api-error-verification-error',
1258 'fileexists',
1259 'filepageexists',
1260 'filename-bad-prefix',
1261 'filename-thumb-name',
1262 'badfilename',
1263 'api-error-blacklisted', // HACK
1264 ],
1265 ],
1266 'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1267 'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1268 'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1269 'dependencies' => [
1270 'mediawiki.ForeignStructuredUpload',
1271 'mediawiki.Upload.BookletLayout',
1272 'mediawiki.widgets.CategorySelector',
1273 'mediawiki.widgets.DateInputWidget',
1274 'mediawiki.jqueryMsg',
1275 'moment',
1276 'mediawiki.libs.jpegmeta',
1277 ],
1278 'messages' => [
1279 'foreign-structured-upload-form-label-own-work',
1280 'foreign-structured-upload-form-label-infoform-categories',
1281 'foreign-structured-upload-form-label-infoform-date',
1282 'foreign-structured-upload-form-label-own-work-message-default',
1283 'foreign-structured-upload-form-label-not-own-work-message-default',
1284 'foreign-structured-upload-form-label-not-own-work-local-default',
1285 'foreign-structured-upload-form-label-own-work-message-shared',
1286 'foreign-structured-upload-form-label-not-own-work-message-shared',
1287 'foreign-structured-upload-form-label-not-own-work-local-shared',
1288 'foreign-structured-upload-form-label-own-work-message-local',
1289 'foreign-structured-upload-form-label-not-own-work-message-local',
1290 'foreign-structured-upload-form-label-not-own-work-local-local',
1291 ],
1292 ],
1293 'mediawiki.toc' => [
1294 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1295 'styles' => [
1296 'resources/src/mediawiki/mediawiki.toc.css'
1297 => [ 'media' => 'screen' ],
1298 'resources/src/mediawiki/mediawiki.toc.print.css'
1299 => [ 'media' => 'print' ],
1300 ],
1301 'dependencies' => 'mediawiki.cookie',
1302 'messages' => [ 'showtoc', 'hidetoc' ],
1303 'targets' => [ 'desktop', 'mobile' ],
1304 ],
1305 'mediawiki.Uri' => [
1306 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1307 'templates' => [
1308 'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1309 'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1310 ],
1311 'dependencies' => 'mediawiki.util',
1312 'targets' => [ 'desktop', 'mobile' ],
1313 ],
1314 'mediawiki.user' => [
1315 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1316 'dependencies' => [
1317 'mediawiki.cookie',
1318 'mediawiki.api',
1319 'mediawiki.api.user',
1320 'user.options',
1321 'user.tokens',
1322 ],
1323 'targets' => [ 'desktop', 'mobile' ],
1324 ],
1325 'mediawiki.userSuggest' => [
1326 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1327 'dependencies' => [
1328 'jquery.suggestions',
1329 'mediawiki.api'
1330 ]
1331 ],
1332 'mediawiki.util' => [
1333 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1334 'dependencies' => [
1335 'jquery.accessKeyLabel',
1336 'mediawiki.RegExp',
1337 'mediawiki.notify',
1338 ],
1339 'targets' => [ 'desktop', 'mobile' ],
1340 ],
1341 'mediawiki.viewport' => [
1342 'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1343 'position' => 'top',
1344 'targets' => [ 'desktop', 'mobile' ],
1345 ],
1346 'mediawiki.checkboxtoggle' => [
1347 'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1348 'position' => 'top',
1349 ],
1350 'mediawiki.checkboxtoggle.styles' => [
1351 'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1352 'position' => 'top',
1353 ],
1354 'mediawiki.cookie' => [
1355 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1356 'dependencies' => 'jquery.cookie',
1357 'targets' => [ 'desktop', 'mobile' ],
1358 ],
1359 'mediawiki.toolbar' => [
1360 'class' => 'ResourceLoaderEditToolbarModule',
1361 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1362 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1363 'position' => 'top',
1364 ],
1365 'mediawiki.experiments' => [
1366 'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1367 'targets' => [ 'desktop', 'mobile' ],
1368 ],
1369 'mediawiki.raggett' => [
1370 'styles' => 'resources/src/mediawiki/mediawiki.raggett.css',
1371 'targets' => [ 'desktop', 'mobile' ],
1372 ],
1373
1374 /* MediaWiki Action */
1375
1376 'mediawiki.action.edit' => [
1377 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1378 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1379 'dependencies' => [
1380 'mediawiki.action.edit.styles',
1381 'jquery.textSelection',
1382 'jquery.byteLimit',
1383 ],
1384 'position' => 'top',
1385 ],
1386 'mediawiki.action.edit.styles' => [
1387 'position' => 'top',
1388 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1389 ],
1390 'mediawiki.action.edit.collapsibleFooter' => [
1391 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1392 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1393 'dependencies' => [
1394 'jquery.makeCollapsible',
1395 'mediawiki.cookie',
1396 'mediawiki.icon',
1397 ],
1398 ],
1399 'mediawiki.action.edit.preview' => [
1400 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1401 'dependencies' => [
1402 'jquery.form',
1403 'jquery.spinner',
1404 'jquery.textSelection',
1405 'mediawiki.api',
1406 'mediawiki.action.history.diff',
1407 'mediawiki.util',
1408 'mediawiki.jqueryMsg',
1409 ],
1410 'messages' => [
1411 // Keep the uses message keys in sync with EditPage#setHeaders
1412 'creating',
1413 'editconflict',
1414 'editing',
1415 'editingcomment',
1416 'editingsection',
1417 'pagetitle',
1418 'otherlanguages',
1419 'summary-preview',
1420 'subject-preview',
1421 'parentheses',
1422 'previewerrortext',
1423 ],
1424 ],
1425 'mediawiki.action.edit.stash' => [
1426 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1427 'dependencies' => [
1428 'jquery.getAttrs',
1429 'mediawiki.api',
1430 ],
1431 ],
1432 'mediawiki.action.history' => [
1433 'position' => 'top',
1434 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1435 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1436 ],
1437 'mediawiki.action.history.diff' => [
1438 'position' => 'top',
1439 'styles' => [
1440 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1441 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => [
1442 'media' => 'print'
1443 ],
1444 ],
1445 'targets' => [ 'desktop', 'mobile' ],
1446 ],
1447 'mediawiki.action.view.dblClickEdit' => [
1448 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1449 'dependencies' => [
1450 'mediawiki.util',
1451 'mediawiki.page.startup',
1452 'user.options',
1453 ],
1454 ],
1455 'mediawiki.action.view.metadata' => [
1456 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1457 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1458 'messages' => [
1459 'metadata-expand',
1460 'metadata-collapse',
1461 ],
1462 ],
1463 'mediawiki.action.view.categoryPage.styles' => [
1464 'position' => 'top',
1465 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1466 'targets' => [ 'desktop', 'mobile' ]
1467 ],
1468 'mediawiki.action.view.postEdit' => [
1469 'templates' => [
1470 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1471 ],
1472 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1473 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1474 'dependencies' => [
1475 'mediawiki.cookie',
1476 'mediawiki.jqueryMsg'
1477 ],
1478 'messages' => [
1479 'postedit-confirmation-created',
1480 'postedit-confirmation-restored',
1481 'postedit-confirmation-saved',
1482 ],
1483 ],
1484 'mediawiki.action.view.redirect' => [
1485 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1486 'dependencies' => 'jquery.client',
1487 'position' => 'top',
1488 'targets' => [ 'desktop', 'mobile' ],
1489 ],
1490 'mediawiki.action.view.redirectPage' => [
1491 'position' => 'top',
1492 'targets' => [ 'desktop', 'mobile' ],
1493 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1494 ],
1495 'mediawiki.action.view.rightClickEdit' => [
1496 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1497 ],
1498 'mediawiki.action.edit.editWarning' => [
1499 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1500 'dependencies' => [
1501 'jquery.textSelection',
1502 'mediawiki.jqueryMsg',
1503 'mediawiki.confirmCloseWindow',
1504 'user.options',
1505 ],
1506 'messages' => [
1507 'editwarning-warning',
1508 // editwarning-warning uses {{int:prefs-editing}}
1509 'prefs-editing'
1510 ],
1511 ],
1512 'mediawiki.action.view.filepage' => [
1513 'styles' => [
1514 'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1515 [ 'media' => 'print' ],
1516 'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1517 ],
1518 'position' => 'top',
1519 ],
1520
1521 /* MediaWiki Language */
1522
1523 'mediawiki.language' => [
1524 'scripts' => [
1525 'resources/src/mediawiki.language/mediawiki.language.js',
1526 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1527 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1528 ],
1529 'languageScripts' => [
1530 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1531 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1532 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1533 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1534 'he' => 'resources/src/mediawiki.language/languages/he.js',
1535 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1536 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1537 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1538 'la' => 'resources/src/mediawiki.language/languages/la.js',
1539 'os' => 'resources/src/mediawiki.language/languages/os.js',
1540 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1541 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1542 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1543 ],
1544 'dependencies' => [
1545 'mediawiki.language.data',
1546 'mediawiki.cldr',
1547 ],
1548 'targets' => [ 'desktop', 'mobile' ],
1549 'messages' => [
1550 'and',
1551 'comma-separator',
1552 'word-separator'
1553 ],
1554 ],
1555
1556 'mediawiki.cldr' => [
1557 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1558 'dependencies' => [
1559 'mediawiki.libs.pluralruleparser',
1560 ],
1561 'targets' => [ 'desktop', 'mobile' ],
1562 ],
1563
1564 'mediawiki.libs.pluralruleparser' => [
1565 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1566 'targets' => [ 'desktop', 'mobile' ],
1567 ],
1568
1569 'mediawiki.language.init' => [
1570 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1571 'targets' => [ 'desktop', 'mobile' ],
1572 ],
1573
1574 'mediawiki.jqueryMsg' => [
1575 // Add data for mediawiki.jqueryMsg, such as allowed tags
1576 'class' => 'ResourceLoaderJqueryMsgModule',
1577 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1578 'dependencies' => [
1579 'mediawiki.util',
1580 'mediawiki.language',
1581 'user.options',
1582 'dom-level2-shim',
1583 ],
1584 'targets' => [ 'desktop', 'mobile' ],
1585 ],
1586
1587 'mediawiki.language.months' => [
1588 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1589 'dependencies' => 'mediawiki.language',
1590 'messages' => array_merge(
1591 Language::$mMonthMsgs,
1592 Language::$mMonthGenMsgs,
1593 Language::$mMonthAbbrevMsgs
1594 )
1595 ],
1596
1597 'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1598
1599 'mediawiki.language.specialCharacters' => [
1600 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1601 ],
1602
1603 /* MediaWiki Libs */
1604
1605 'mediawiki.libs.jpegmeta' => [
1606 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1607 ],
1608
1609 /* MediaWiki Page */
1610
1611 'mediawiki.page.gallery' => [
1612 'scripts' => 'resources/src/mediawiki/page/gallery.js',
1613 'dependencies' => [
1614 'mediawiki.page.gallery.styles',
1615 'jquery.throttle-debounce',
1616 ]
1617 ],
1618 'mediawiki.page.gallery.styles' => [
1619 'styles' => [
1620 'resources/src/mediawiki/page/gallery-print.css' => [ 'media' => 'print' ],
1621 'resources/src/mediawiki/page/gallery.css',
1622 ],
1623 'position' => 'top',
1624 'targets' => [ 'desktop', 'mobile' ],
1625 ],
1626 'mediawiki.page.ready' => [
1627 'scripts' => 'resources/src/mediawiki/page/ready.js',
1628 'dependencies' => [
1629 'jquery.accessKeyLabel',
1630 'jquery.checkboxShiftClick',
1631 'jquery.makeCollapsible',
1632 'jquery.placeholder',
1633 'jquery.mw-jump',
1634 ],
1635 'targets' => [ 'desktop', 'mobile' ],
1636 ],
1637 'mediawiki.page.startup' => [
1638 'scripts' => 'resources/src/mediawiki/page/startup.js',
1639 'dependencies' => 'mediawiki.util',
1640 'position' => 'top',
1641 'targets' => [ 'desktop', 'mobile' ],
1642 ],
1643 'mediawiki.page.patrol.ajax' => [
1644 'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1645 'dependencies' => [
1646 'mediawiki.page.startup',
1647 'mediawiki.api',
1648 'mediawiki.util',
1649 'mediawiki.Title',
1650 'mediawiki.notify',
1651 'jquery.spinner',
1652 'user.tokens'
1653 ],
1654 'messages' => [
1655 'markedaspatrollednotify',
1656 'markedaspatrollederrornotify',
1657 'markedaspatrollederror-noautopatrol'
1658 ],
1659 ],
1660 'mediawiki.page.watch.ajax' => [
1661 'scripts' => 'resources/src/mediawiki/page/watch.js',
1662 'dependencies' => [
1663 'mediawiki.page.startup',
1664 'mediawiki.api.watch',
1665 'mediawiki.notify',
1666 'mediawiki.util',
1667 'jquery.accessKeyLabel',
1668 'mediawiki.RegExp',
1669 ],
1670 'messages' => [
1671 'watch',
1672 'unwatch',
1673 'watching',
1674 'unwatching',
1675 'tooltip-ca-watch',
1676 'tooltip-ca-unwatch',
1677 'watcherrortext',
1678 ],
1679 ],
1680 'mediawiki.page.image.pagination' => [
1681 'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1682 'dependencies' => [
1683 'mediawiki.util',
1684 'jquery.spinner',
1685 ],
1686 ],
1687
1688 /* MediaWiki Special pages */
1689
1690 'mediawiki.special' => [
1691 'position' => 'top',
1692 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1693 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1694 'targets' => [ 'desktop', 'mobile' ],
1695 ],
1696 'mediawiki.special.apisandbox.styles' => [
1697 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1698 ],
1699 'mediawiki.special.apisandbox' => [
1700 'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1701 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1702 'dependencies' => [
1703 'mediawiki.special',
1704 'mediawiki.api',
1705 'mediawiki.jqueryMsg',
1706 'oojs-ui',
1707 'mediawiki.widgets.datetime',
1708 ],
1709 'messages' => [
1710 'apisandbox-intro',
1711 'apisandbox-submit',
1712 'apisandbox-reset',
1713 'apisandbox-fullscreen',
1714 'apisandbox-fullscreen-tooltip',
1715 'apisandbox-unfullscreen',
1716 'apisandbox-unfullscreen-tooltip',
1717 'apisandbox-retry',
1718 'apisandbox-loading',
1719 'apisandbox-load-error',
1720 'apisandbox-fetch-token',
1721 'apisandbox-helpurls',
1722 'apisandbox-examples',
1723 'apisandbox-dynamic-parameters',
1724 'apisandbox-dynamic-parameters-add-label',
1725 'apisandbox-dynamic-parameters-add-placeholder',
1726 'apisandbox-dynamic-error-exists',
1727 'apisandbox-deprecated-parameters',
1728 'apisandbox-no-parameters',
1729 'api-help-param-limit',
1730 'api-help-param-limit2',
1731 'api-help-param-integer-min',
1732 'api-help-param-integer-max',
1733 'api-help-param-integer-minmax',
1734 'api-help-param-multi-separate',
1735 'api-help-param-multi-max',
1736 'apisandbox-submit-invalid-fields-title',
1737 'apisandbox-submit-invalid-fields-message',
1738 'apisandbox-results',
1739 'apisandbox-sending-request',
1740 'apisandbox-loading-results',
1741 'apisandbox-results-error',
1742 'apisandbox-request-url-label',
1743 'apisandbox-request-time',
1744 'apisandbox-results-fixtoken',
1745 'apisandbox-results-fixtoken-fail',
1746 'apisandbox-alert-page',
1747 'apisandbox-alert-field',
1748 'blanknamespace',
1749 ],
1750 ],
1751 'mediawiki.special.block' => [
1752 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1753 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1754 'dependencies' => 'mediawiki.util',
1755 ],
1756 'mediawiki.special.blocklist' => [
1757 'styles' => 'resources/src/mediawiki.special/mediawiki.special.blocklist.css',
1758 'position' => 'top',
1759 ],
1760 'mediawiki.special.changeslist' => [
1761 'position' => 'top',
1762 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1763 ],
1764 'mediawiki.special.changeslist.legend' => [
1765 'position' => 'top',
1766 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1767 ],
1768 'mediawiki.special.changeslist.legend.js' => [
1769 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1770 'dependencies' => [
1771 'jquery.makeCollapsible',
1772 'mediawiki.cookie',
1773 ],
1774 ],
1775 'mediawiki.special.changeslist.enhanced' => [
1776 'position' => 'top',
1777 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1778 ],
1779 'mediawiki.special.changeslist.visitedstatus' => [
1780 'position' => 'top',
1781 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1782 ],
1783 'mediawiki.special.comparepages.styles' => [
1784 'position' => 'top',
1785 'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1786 ],
1787 'mediawiki.special.edittags' => [
1788 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1789 'dependencies' => [
1790 'jquery.chosen',
1791 ],
1792 'messages' => [
1793 'tags-edit-chosen-placeholder',
1794 'tags-edit-chosen-no-results',
1795 ],
1796 ],
1797 'mediawiki.special.edittags.styles' => [
1798 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1799 'position' => 'top',
1800 ],
1801 'mediawiki.special.import' => [
1802 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1803 ],
1804 'mediawiki.special.movePage' => [
1805 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1806 'dependencies' => [
1807 'jquery.byteLimit',
1808 'mediawiki.widgets',
1809 ],
1810 ],
1811 'mediawiki.special.movePage.styles' => [
1812 'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1813 'position' => 'top',
1814 ],
1815 'mediawiki.special.pageLanguage' => [
1816 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1817 'dependencies' => [
1818 'oojs-ui-core',
1819 ],
1820 ],
1821 'mediawiki.special.pagesWithProp' => [
1822 'position' => 'top',
1823 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1824 ],
1825 'mediawiki.special.preferences' => [
1826 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1827 'position' => 'top',
1828 'messages' => [
1829 'prefs-tabs-navigation-hint',
1830 'prefswarning-warning',
1831 'saveprefs',
1832 'savedprefs',
1833 ],
1834 'dependencies' => [
1835 'mediawiki.language',
1836 'mediawiki.confirmCloseWindow',
1837 'mediawiki.notification',
1838 ],
1839 ],
1840 'mediawiki.special.preferences.styles' => [
1841 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1842 'position' => 'top',
1843 ],
1844 'mediawiki.special.recentchanges' => [
1845 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1846 'dependencies' => 'mediawiki.special',
1847 'position' => 'top',
1848 ],
1849 'mediawiki.special.search' => [
1850 'position' => 'top',
1851 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1852 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1853 'messages' => [
1854 'powersearch-togglelabel',
1855 'powersearch-toggleall',
1856 'powersearch-togglenone',
1857 ],
1858 ],
1859 'mediawiki.special.undelete' => [
1860 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1861 ],
1862 'mediawiki.special.upload' => [
1863 'templates' => [
1864 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1865 ],
1866 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1867 'messages' => [
1868 'widthheight',
1869 'size-bytes',
1870 'size-kilobytes',
1871 'size-megabytes',
1872 'size-gigabytes',
1873 'largefileserver',
1874 'editwarning-warning',
1875 // editwarning-warning uses {{int:prefs-editing}}
1876 'prefs-editing',
1877 ],
1878 'dependencies' => [
1879 'jquery.spinner',
1880 'mediawiki.jqueryMsg',
1881 'mediawiki.api',
1882 'mediawiki.libs.jpegmeta',
1883 'mediawiki.Title',
1884 'mediawiki.util',
1885 'mediawiki.confirmCloseWindow',
1886 'user.options',
1887 ],
1888 ],
1889 'mediawiki.special.userlogin.common.styles' => [
1890 'styles' => [
1891 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1892 ],
1893 'position' => 'top',
1894 ],
1895 'mediawiki.special.userlogin.signup.styles' => [
1896 'position' => 'top',
1897 'styles' => [
1898 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1899 ],
1900 ],
1901 'mediawiki.special.userlogin.login.styles' => [
1902 'position' => 'top',
1903 'styles' => [
1904 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1905 ],
1906 ],
1907 'mediawiki.special.userlogin.signup.js' => [
1908 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1909 'messages' => [
1910 'createacct-error',
1911 'createacct-emailrequired',
1912 'noname',
1913 'userexists',
1914 ],
1915 'dependencies' => [
1916 'mediawiki.api',
1917 'mediawiki.jqueryMsg',
1918 'jquery.throttle-debounce',
1919 ],
1920 ],
1921 'mediawiki.special.unwatchedPages' => [
1922 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1923 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1924 'messages' => [
1925 'addedwatchtext-short',
1926 'removedwatchtext-short',
1927 'unwatch',
1928 'unwatching',
1929 'watch',
1930 'watcherrortext',
1931 'watching',
1932 ],
1933 'dependencies' => [
1934 'mediawiki.api',
1935 'mediawiki.api.watch',
1936 'mediawiki.notify',
1937 'mediawiki.Title',
1938 'mediawiki.util',
1939 ],
1940 ],
1941 'mediawiki.special.watchlist' => [
1942 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
1943 ],
1944 'mediawiki.special.version' => [
1945 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1946 ],
1947
1948 /* MediaWiki Installer */
1949
1950 // Used in the web installer. Test it after modifying this definition!
1951 'mediawiki.legacy.config' => [
1952 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1953 'scripts' => 'mw-config/config.js',
1954 'styles' => 'mw-config/config.css',
1955 ],
1956
1957 /* MediaWiki Legacy */
1958
1959 'mediawiki.legacy.commonPrint' => [
1960 'position' => 'top',
1961 'styles' => [
1962 'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
1963 ],
1964 ],
1965 'mediawiki.legacy.protect' => [
1966 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1967 'dependencies' => 'jquery.byteLimit',
1968 'messages' => [ 'protect-unchain-permissions' ]
1969 ],
1970 // Used in the web installer. Test it after modifying this definition!
1971 'mediawiki.legacy.shared' => [
1972 'position' => 'top',
1973 'styles' => [
1974 'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
1975 ],
1976 ],
1977 'mediawiki.legacy.oldshared' => [
1978 'position' => 'top',
1979 'styles' => [
1980 'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
1981 ],
1982 ],
1983 'mediawiki.legacy.wikibits' => [
1984 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1985 'dependencies' => 'mediawiki.util',
1986 'position' => 'top',
1987 'targets' => [ 'desktop', 'mobile' ],
1988 ],
1989
1990 /* MediaWiki UI */
1991
1992 'mediawiki.ui' => [
1993 'position' => 'top',
1994 'skinStyles' => [
1995 'default' => [
1996 'resources/src/mediawiki.ui/default.less',
1997 ],
1998 ],
1999 'targets' => [ 'desktop', 'mobile' ],
2000 ],
2001 'mediawiki.ui.checkbox' => [
2002 'position' => 'top',
2003 'skinStyles' => [
2004 'default' => [
2005 'resources/src/mediawiki.ui/components/checkbox.less',
2006 ],
2007 ],
2008 'targets' => [ 'desktop', 'mobile' ],
2009 ],
2010 'mediawiki.ui.radio' => [
2011 'position' => 'top',
2012 'skinStyles' => [
2013 'default' => [
2014 'resources/src/mediawiki.ui/components/radio.less',
2015 ],
2016 ],
2017 'targets' => [ 'desktop', 'mobile' ],
2018 ],
2019 // Lightweight module for anchor styles
2020 'mediawiki.ui.anchor' => [
2021 'position' => 'top',
2022 'skinStyles' => [
2023 'default' => [
2024 'resources/src/mediawiki.ui/components/anchors.less',
2025 ],
2026 ],
2027 'targets' => [ 'desktop', 'mobile' ],
2028 ],
2029 // Lightweight module for button styles
2030 'mediawiki.ui.button' => [
2031 'position' => 'top',
2032 'skinStyles' => [
2033 'default' => [
2034 'resources/src/mediawiki.ui/components/buttons.less',
2035 ],
2036 ],
2037 'targets' => [ 'desktop', 'mobile' ],
2038 ],
2039 'mediawiki.ui.input' => [
2040 'position' => 'top',
2041 'skinStyles' => [
2042 'default' => [
2043 'resources/src/mediawiki.ui/components/inputs.less',
2044 ],
2045 ],
2046 'targets' => [ 'desktop', 'mobile' ],
2047 ],
2048 'mediawiki.ui.icon' => [
2049 'position' => 'top',
2050 'skinStyles' => [
2051 'default' => [
2052 'resources/src/mediawiki.ui/components/icons.less',
2053 ],
2054 ],
2055 'targets' => [ 'desktop', 'mobile' ],
2056 ],
2057 // Lightweight module for text styles
2058 'mediawiki.ui.text' => [
2059 'position' => 'top',
2060 'skinStyles' => [
2061 'default' => [
2062 'resources/src/mediawiki.ui/components/text.less',
2063 ],
2064 ],
2065 'targets' => [ 'desktop', 'mobile' ],
2066 ],
2067
2068 'mediawiki.widgets' => [
2069 'scripts' => [
2070 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2071 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2072 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2073 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2074 'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2075 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2076 'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2077 ],
2078 'skinStyles' => [
2079 'default' => [
2080 'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2081 ],
2082 ],
2083 'dependencies' => [
2084 'oojs-ui-widgets',
2085 'mediawiki.widgets.styles',
2086 // TitleInputWidget
2087 'mediawiki.Title',
2088 'mediawiki.api',
2089 'jquery.byteLimit',
2090 // TitleOptionWidget
2091 'jquery.autoEllipsis',
2092 ],
2093 'messages' => [
2094 // NamespaceInputWidget
2095 'blanknamespace',
2096 'namespacesall',
2097 // TitleInputWidget
2098 'mw-widgets-titleinput-description-new-page',
2099 'mw-widgets-titleinput-description-redirect',
2100 ],
2101 'targets' => [ 'desktop', 'mobile' ],
2102 ],
2103 'mediawiki.widgets.styles' => [
2104 'skinStyles' => [
2105 'default' => [
2106 'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2107 'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2108 ],
2109 ],
2110 'position' => 'top',
2111 'targets' => [ 'desktop', 'mobile' ],
2112 ],
2113 'mediawiki.widgets.DateInputWidget' => [
2114 'scripts' => [
2115 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2116 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2117 ],
2118 'skinStyles' => [
2119 'default' => [
2120 'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2121 'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2122 ],
2123 ],
2124 'messages' => [
2125 'mw-widgets-dateinput-no-date',
2126 'mw-widgets-dateinput-placeholder-day',
2127 'mw-widgets-dateinput-placeholder-month',
2128 ],
2129 'dependencies' => [
2130 'oojs-ui-widgets',
2131 'moment',
2132 ],
2133 'targets' => [ 'desktop', 'mobile' ],
2134 ],
2135 'mediawiki.widgets.datetime' => [
2136 'scripts' => [
2137 'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2138 'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2139 'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2140 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2141 'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2142 ],
2143 'skinStyles' => [
2144 'default' => [
2145 'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2146 'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2147 ],
2148 ],
2149 'messages' => [
2150 'timezone-utc',
2151 'timezone-local',
2152 'january',
2153 'february',
2154 'march',
2155 'april',
2156 'may_long',
2157 'june',
2158 'july',
2159 'august',
2160 'september',
2161 'october',
2162 'november',
2163 'december',
2164 'jan',
2165 'feb',
2166 'mar',
2167 'apr',
2168 'may',
2169 'jun',
2170 'jul',
2171 'aug',
2172 'sep',
2173 'oct',
2174 'nov',
2175 'dec',
2176 'sunday',
2177 'monday',
2178 'tuesday',
2179 'wednesday',
2180 'thursday',
2181 'friday',
2182 'saturday',
2183 'sun',
2184 'mon',
2185 'tue',
2186 'wed',
2187 'thu',
2188 'fri',
2189 'sat',
2190 'period-am',
2191 'period-pm',
2192 ],
2193 'dependencies' => [
2194 'oojs-ui-core',
2195 ],
2196 'targets' => [ 'desktop', 'mobile' ],
2197 ],
2198 'mediawiki.widgets.CategorySelector' => [
2199 'scripts' => [
2200 'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2201 'resources/src/mediawiki.widgets/mw.widgets.CategorySelector.js',
2202 ],
2203 'dependencies' => [
2204 'oojs-ui-widgets',
2205 'mediawiki.api',
2206 'mediawiki.ForeignApi',
2207 'mediawiki.Title',
2208 ],
2209 'messages' => [
2210 'red-link-title',
2211 ],
2212 'targets' => [ 'desktop', 'mobile' ],
2213 ],
2214 'mediawiki.widgets.UserInputWidget' => [
2215 'scripts' => [
2216 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2217 ],
2218 'dependencies' => [
2219 'oojs-ui-widgets',
2220 ],
2221 'targets' => [ 'desktop', 'mobile' ],
2222 ],
2223 'mediawiki.widgets.SearchInputWidget' => [
2224 'scripts' => [
2225 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2226 ],
2227 'dependencies' => [
2228 'mediawiki.searchSuggest',
2229 // FIXME: Needs TitleInputWidget only
2230 'mediawiki.widgets',
2231 ],
2232 ],
2233 'mediawiki.widgets.SearchInputWidget.styles' => [
2234 'skinStyles' => [
2235 'default' => [
2236 'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2237 ],
2238 ],
2239 'position' => 'top',
2240 'targets' => [ 'desktop', 'mobile' ],
2241 ],
2242
2243 /* es5-shim */
2244 'es5-shim' => [
2245 'scripts' => [
2246 'resources/lib/es5-shim/es5-shim.js',
2247 'resources/src/polyfill-object-create.js',
2248 ],
2249 'targets' => [ 'desktop', 'mobile' ],
2250 'skipFunction' => 'resources/src/es5-skip.js',
2251 ],
2252
2253 /* dom-level2-shim */
2254 // IE 8
2255 'dom-level2-shim' => [
2256 'scripts' => 'resources/src/polyfill-nodeTypes.js',
2257 'targets' => [ 'desktop', 'mobile' ],
2258 'skipFunction' => 'resources/src/dom-level2-skip.js',
2259 ],
2260
2261 /* OOjs */
2262 'oojs' => [
2263 'scripts' => [
2264 'resources/lib/oojs/oojs.jquery.js',
2265 ],
2266 'targets' => [ 'desktop', 'mobile' ],
2267 'dependencies' => [
2268 'es5-shim',
2269 'json',
2270 ],
2271 ],
2272
2273 /* OOjs UI */
2274 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
2275 // if loaded in browsers that don't support ES5
2276 // @see ResourcesOOUI.php
2277 ];