MediaWiki  1.29.2
Resources.php
Go to the documentation of this file.
1 <?php
23 if ( !defined( 'MEDIAWIKI' ) ) {
24  die( 'Not an entry point.' );
25 }
26 
27 return [
28 
32  'startup' => [ 'class' => 'ResourceLoaderStartUpModule' ],
33 
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',
41  ],
42  'filepage' => [
43  'class' => 'ResourceLoaderWikiModule',
44  'styles' => [ 'MediaWiki:Filepage.css' ],
45  ],
46  'user.groups' => [
47  // Merged into 'user' since MediaWiki 1.28 - kept for back-compat
48  'dependencies' => 'user',
49  'targets' => [ 'desktop', 'mobile' ],
50  ],
51 
52  // Scripts managed by the current user (stored in their user space)
53  'user' => [ 'class' => 'ResourceLoaderUserModule' ],
54  'user.styles' => [ 'class' => 'ResourceLoaderUserStylesModule' ],
55 
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' ],
60 
61  // Scripts for the dynamic language specific data, like grammar forms.
62  'mediawiki.language.data' => [ 'class' => 'ResourceLoaderLanguageDataModule' ],
63 
64  /* MediaWiki base skinning modules */
65 
95  'mediawiki.skinning.elements' => [
96  'styles' => [
97  'resources/src/mediawiki.skinning/elements.css' => [ 'media' => 'screen' ],
98  ],
99  ],
100  'mediawiki.skinning.content' => [
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  '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' ],
113  ],
114  ],
115 
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',
122  ],
123  'targets' => [ 'desktop', 'mobile' ],
124  ],
125 
126  'mediawiki.skinning.content.externallinks' => [
127  'styles' => [
128  'resources/src/mediawiki.skinning/content.externallinks.css' => [ 'media' => 'screen' ],
129  ],
130  ],
131 
132  /* jQuery */
133 
134  'jquery' => [
135  'scripts' => ( $GLOBALS['wgUsejQueryThree'] ?
136  [
137  'resources/lib/jquery/jquery3.js',
138  'resources/lib/jquery/jquery.migrate.js',
139  ] : [
140  'resources/lib/jquery/jquery.js',
141  ]
142  ),
143  'raw' => true,
144  'targets' => [ 'desktop', 'mobile' ],
145  ],
146 
147  /* jQuery Plugins */
148 
149  'jquery.accessKeyLabel' => [
150  'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
151  'dependencies' => [
152  'jquery.client',
153  'mediawiki.RegExp',
154  ],
155  'messages' => [ 'brackets', 'word-separator' ],
156  'targets' => [ 'mobile', 'desktop' ],
157  ],
158  'jquery.appear' => [
159  'deprecated' => 'Please use "mediawiki.viewport" instead.',
160  'scripts' => 'resources/lib/jquery/jquery.appear.js',
161  ],
162  'jquery.async' => [
163  'scripts' => 'resources/lib/jquery/jquery.async.js',
164  ],
165  'jquery.autoEllipsis' => [
166  'deprecated' => 'Use CSS text-overflow instead.',
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  ],
253  'targets' => [ 'desktop', 'mobile' ],
254  ],
255  'jquery.hoverIntent' => [
256  'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
257  ],
258  'jquery.i18n' => [
259  'scripts' => [
260  'resources/lib/jquery.i18n/src/jquery.i18n.js',
261  'resources/lib/jquery.i18n/src/jquery.i18n.messagestore.js',
262  'resources/lib/jquery.i18n/src/jquery.i18n.parser.js',
263  'resources/lib/jquery.i18n/src/jquery.i18n.emitter.js',
264  'resources/lib/jquery.i18n/src/jquery.i18n.emitter.bidi.js',
265  'resources/lib/jquery.i18n/src/jquery.i18n.language.js',
266  'resources/lib/jquery.i18n/src/jquery.i18n.fallbacks.js',
267  ],
268  'dependencies' => 'mediawiki.libs.pluralruleparser',
269  'languageScripts' => [
270  'bs' => 'resources/lib/jquery.i18n/src/languages/bs.js',
271  'dsb' => 'resources/lib/jquery.i18n/src/languages/dsb.js',
272  'fi' => 'resources/lib/jquery.i18n/src/languages/fi.js',
273  'ga' => 'resources/lib/jquery.i18n/src/languages/ga.js',
274  'he' => 'resources/lib/jquery.i18n/src/languages/he.js',
275  'hsb' => 'resources/lib/jquery.i18n/src/languages/hsb.js',
276  'hu' => 'resources/lib/jquery.i18n/src/languages/hu.js',
277  'hy' => 'resources/lib/jquery.i18n/src/languages/hy.js',
278  'la' => 'resources/lib/jquery.i18n/src/languages/la.js',
279  'ml' => 'resources/lib/jquery.i18n/src/languages/ml.js',
280  'os' => 'resources/lib/jquery.i18n/src/languages/os.js',
281  'ru' => 'resources/lib/jquery.i18n/src/languages/ru.js',
282  'sl' => 'resources/lib/jquery.i18n/src/languages/sl.js',
283  'uk' => 'resources/lib/jquery.i18n/src/languages/uk.js',
284  ],
285  'targets' => [ 'desktop', 'mobile' ],
286  ],
287  'jquery.localize' => [
288  'scripts' => 'resources/src/jquery/jquery.localize.js',
289  ],
290  'jquery.makeCollapsible' => [
291  'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
292  'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
293  'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
294  'targets' => [ 'desktop', 'mobile' ],
295  ],
296  'jquery.mockjax' => [
297  'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
298  ],
299  'jquery.mw-jump' => [
300  'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
301  'targets' => [ 'desktop', 'mobile' ],
302  ],
303  'jquery.mwExtension' => [
304  'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
305  'targets' => [ 'desktop', 'mobile' ],
306  ],
307  'jquery.placeholder' => [
308  'deprecated' => 'Use of "jquery.placeholder" is deprecated since MediaWiki 1.29.0',
309 
310  'scripts' => 'resources/src/jquery/jquery.placeholder.js',
311  'targets' => [ 'desktop', 'mobile' ],
312  ],
313  'jquery.qunit' => [
314  'scripts' => 'resources/lib/qunitjs/qunit.js',
315  'styles' => 'resources/lib/qunitjs/qunit.css',
316  'targets' => [ 'desktop', 'mobile' ],
317  ],
318  'jquery.spinner' => [
319  'scripts' => 'resources/src/jquery/jquery.spinner.js',
320  'styles' => 'resources/src/jquery/jquery.spinner.css',
321  'targets' => [ 'desktop', 'mobile' ],
322  ],
323  'jquery.jStorage' => [
324  'deprecated' => 'Please use "mediawiki.storage" instead.',
325  'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
326  ],
327  'jquery.suggestions' => [
328  'scripts' => 'resources/src/jquery/jquery.suggestions.js',
329  'styles' => 'resources/src/jquery/jquery.suggestions.css',
330  'dependencies' => 'jquery.highlightText',
331  ],
332  'jquery.tabIndex' => [
333  'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
334  ],
335  'jquery.tablesorter' => [
336  'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
337  'styles' => 'resources/src/jquery/jquery.tablesorter.less',
338  'messages' => [ 'sort-descending', 'sort-ascending' ],
339  'dependencies' => [
340  'mediawiki.RegExp',
341  'mediawiki.language.months',
342  ],
343  ],
344  'jquery.textSelection' => [
345  'scripts' => 'resources/src/jquery/jquery.textSelection.js',
346  'dependencies' => 'jquery.client',
347  'targets' => [ 'mobile', 'desktop' ],
348  ],
349  'jquery.throttle-debounce' => [
350  'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
351  'targets' => [ 'desktop', 'mobile' ],
352  ],
353  'jquery.xmldom' => [
354  'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
355  ],
356 
357  /* jQuery Tipsy */
358 
359  'jquery.tipsy' => [
360  'deprecated' => true,
361  'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
362  'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
363  ],
364 
365  /* jQuery UI */
366 
367  'jquery.ui.core' => [
368  'deprecated' => 'Please use "mediawiki.ui.button" or "oojs-ui" instead.',
369  'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
370  'dependencies' => [
371  'jquery.ui.core.styles',
372  ],
373  'group' => 'jquery.ui',
374  ],
375  'jquery.ui.core.styles' => [
376  'skinStyles' => [
377  'default' => [
378  'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
379  'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
380  ],
381  ],
382  'group' => 'jquery.ui',
383  ],
384  'jquery.ui.accordion' => [
385  'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
386  'dependencies' => [
387  'jquery.ui.core',
388  'jquery.ui.widget',
389  ],
390  'skinStyles' => [
391  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
392  ],
393  'group' => 'jquery.ui',
394  ],
395  'jquery.ui.autocomplete' => [
396  'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
397  'dependencies' => [
398  'jquery.ui.core',
399  'jquery.ui.widget',
400  'jquery.ui.position',
401  'jquery.ui.menu',
402  ],
403  'skinStyles' => [
404  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
405  ],
406  'group' => 'jquery.ui',
407  ],
408  'jquery.ui.button' => [
409  'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
410  'dependencies' => [
411  'jquery.ui.core',
412  'jquery.ui.widget',
413  ],
414  'skinStyles' => [
415  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
416  ],
417  'group' => 'jquery.ui',
418  ],
419  'jquery.ui.datepicker' => [
420  'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
421  'dependencies' => 'jquery.ui.core',
422  'skinStyles' => [
423  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
424  ],
425  'languageScripts' => [
426  'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
427  'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
428  'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
429  'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
430  'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
431  'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
432  'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
433  'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
434  'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
435  'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js',
436  'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js',
437  'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
438  'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
439  'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
440  'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
441  'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
442  'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
443  'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
444  'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
445  'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
446  'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
447  'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
448  'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
449  'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
450  'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
451  'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
452  'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
453  'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
454  'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
455  'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
456  'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
457  'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
458  'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
459  'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
460  'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
461  'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
462  'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
463  'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
464  'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
465  'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
466  'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
467  'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
468  'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
469  'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
470  'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
471  'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
472  'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
473  'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
474  'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
475  'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
476  'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
477  'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
478  'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
479  'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
480  'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
481  'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
482  'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
483  'sr-ec' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
484  'sr-el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
485  'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
486  'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
487  'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
488  'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
489  'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
490  'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
491  'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
492  'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
493  'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
494  'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
495  ],
496  'group' => 'jquery.ui',
497  ],
498  'jquery.ui.dialog' => [
499  'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
500  'dependencies' => [
501  'jquery.ui.core',
502  'jquery.ui.widget',
503  'jquery.ui.button',
504  'jquery.ui.draggable',
505  'jquery.ui.mouse',
506  'jquery.ui.position',
507  'jquery.ui.resizable',
508  ],
509  'skinStyles' => [
510  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
511  ],
512  'group' => 'jquery.ui',
513  ],
514  'jquery.ui.draggable' => [
515  'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
516  'dependencies' => [
517  'jquery.ui.core',
518  'jquery.ui.mouse',
519  'jquery.ui.widget',
520  ],
521  'group' => 'jquery.ui',
522  ],
523  'jquery.ui.droppable' => [
524  'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
525  'dependencies' => [
526  'jquery.ui.core',
527  'jquery.ui.mouse',
528  'jquery.ui.widget',
529  'jquery.ui.draggable',
530  ],
531  'group' => 'jquery.ui',
532  ],
533  'jquery.ui.menu' => [
534  'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
535  'dependencies' => [
536  'jquery.ui.core',
537  'jquery.ui.widget',
538  'jquery.ui.position',
539  ],
540  'skinStyles' => [
541  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
542  ],
543  'group' => 'jquery.ui',
544  ],
545  'jquery.ui.mouse' => [
546  'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
547  'dependencies' => 'jquery.ui.widget',
548  'group' => 'jquery.ui',
549  ],
550  'jquery.ui.position' => [
551  'deprecated' => true,
552  'targets' => [ 'mobile', 'desktop' ],
553  'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
554  'group' => 'jquery.ui',
555  ],
556  'jquery.ui.progressbar' => [
557  'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
558  'dependencies' => [
559  'jquery.ui.core',
560  'jquery.ui.widget',
561  ],
562  'skinStyles' => [
563  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
564  ],
565  'group' => 'jquery.ui',
566  ],
567  'jquery.ui.resizable' => [
568  'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
569  'dependencies' => [
570  'jquery.ui.core',
571  'jquery.ui.widget',
572  'jquery.ui.mouse',
573  ],
574  'skinStyles' => [
575  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
576  ],
577  'group' => 'jquery.ui',
578  ],
579  'jquery.ui.selectable' => [
580  'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
581  'dependencies' => [
582  'jquery.ui.core',
583  'jquery.ui.widget',
584  'jquery.ui.mouse',
585  ],
586  'skinStyles' => [
587  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
588  ],
589  'group' => 'jquery.ui',
590  ],
591  'jquery.ui.slider' => [
592  'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
593  'dependencies' => [
594  'jquery.ui.core',
595  'jquery.ui.widget',
596  'jquery.ui.mouse',
597  ],
598  'skinStyles' => [
599  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
600  ],
601  'group' => 'jquery.ui',
602  ],
603  'jquery.ui.sortable' => [
604  'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
605  'dependencies' => [
606  'jquery.ui.core',
607  'jquery.ui.mouse',
608  'jquery.ui.widget',
609  ],
610  'group' => 'jquery.ui',
611  ],
612  'jquery.ui.spinner' => [
613  'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
614  'dependencies' => [
615  'jquery.ui.core',
616  'jquery.ui.widget',
617  'jquery.ui.button',
618  ],
619  'skinStyles' => [
620  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
621  ],
622  'group' => 'jquery.ui',
623  ],
624  'jquery.ui.tabs' => [
625  'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
626  'dependencies' => [
627  'jquery.ui.core',
628  'jquery.ui.widget',
629  ],
630  'skinStyles' => [
631  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
632  ],
633  'group' => 'jquery.ui',
634  ],
635  'jquery.ui.tooltip' => [
636  'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
637  'dependencies' => [
638  'jquery.ui.core',
639  'jquery.ui.widget',
640  'jquery.ui.position',
641  ],
642  'skinStyles' => [
643  'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
644  ],
645  'group' => 'jquery.ui',
646  ],
647  'jquery.ui.widget' => [
648  'deprecated' => true,
649  'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
650  'group' => 'jquery.ui',
651  ],
652  // Effects
653  'jquery.effects.core' => [
654  'deprecated' => true,
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  'json' => [
726  'deprecated' => 'Use of the "json" module is deprecated since MediaWiki 1.29.0',
727  'targets' => [ 'desktop', 'mobile' ],
728  ],
729 
730  /* Moment.js */
731 
732  'moment' => [
733  'scripts' => [
734  // HACK: For some reason if you don't define window.moment first, loading moment fatals
735  'resources/src/moment-global.js',
736  'resources/lib/moment/moment.js',
737  ],
738  'languageScripts' => [
739  'aeb-arab' => 'resources/lib/moment/locale/ar-tn.js',
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  'dv' => 'resources/lib/moment/locale/dv.js',
759  'el' => 'resources/lib/moment/locale/el.js',
760  'en' => 'resources/src/moment-dmy.js',
761  'en-au' => 'resources/lib/moment/locale/en-au.js',
762  'en-ca' => 'resources/lib/moment/locale/en-ca.js',
763  'en-gb' => 'resources/lib/moment/locale/en-gb.js',
764  'eo' => 'resources/lib/moment/locale/eo.js',
765  'es' => 'resources/lib/moment/locale/es.js',
766  'et' => 'resources/lib/moment/locale/et.js',
767  'eu' => 'resources/lib/moment/locale/eu.js',
768  'fa' => 'resources/lib/moment/locale/fa.js',
769  'fi' => 'resources/lib/moment/locale/fi.js',
770  'fo' => 'resources/lib/moment/locale/fo.js',
771  'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
772  'fr' => 'resources/lib/moment/locale/fr.js',
773  'fy' => 'resources/lib/moment/locale/fy.js',
774  'gd' => 'resources/lib/moment/locale/gd.js',
775  'gl' => 'resources/lib/moment/locale/gl.js',
776  'he' => 'resources/lib/moment/locale/he.js',
777  'hi' => 'resources/lib/moment/locale/hi.js',
778  'hr' => 'resources/lib/moment/locale/hr.js',
779  'hu' => 'resources/lib/moment/locale/hu.js',
780  'hy-am' => 'resources/lib/moment/locale/hy-am.js',
781  'id' => 'resources/lib/moment/locale/id.js',
782  'is' => 'resources/lib/moment/locale/is.js',
783  'it' => 'resources/lib/moment/locale/it.js',
784  'ja' => 'resources/lib/moment/locale/ja.js',
785  'jv' => 'resources/lib/moment/locale/jv.js',
786  'ka' => 'resources/lib/moment/locale/ka.js',
787  'kk-cyrl' => 'resources/lib/moment/locale/kk.js',
788  'ko' => 'resources/lib/moment/locale/ko.js',
789  'ky' => 'resources/lib/moment/locale/ky.js',
790  'lo' => 'resources/lib/moment/locale/lo.js',
791  'lt' => 'resources/lib/moment/locale/lt.js',
792  'lv' => 'resources/lib/moment/locale/lv.js',
793  'mi' => 'resources/lib/moment/locale/mi.js',
794  'mk' => 'resources/lib/moment/locale/mk.js',
795  'ml' => 'resources/lib/moment/locale/ml.js',
796  'mr' => 'resources/lib/moment/locale/mr.js',
797  'ms-my' => 'resources/lib/moment/locale/ms-my.js',
798  'ms' => 'resources/lib/moment/locale/ms.js',
799  'my' => 'resources/lib/moment/locale/my.js',
800  'nb' => 'resources/lib/moment/locale/nb.js',
801  'ne' => 'resources/lib/moment/locale/ne.js',
802  'nl' => 'resources/lib/moment/locale/nl.js',
803  'nn' => 'resources/lib/moment/locale/nn.js',
804  'pa' => 'resources/lib/moment/locale/pa-in.js',
805  'pl' => 'resources/lib/moment/locale/pl.js',
806  'pt-br' => 'resources/lib/moment/locale/pt-br.js',
807  'pt' => 'resources/lib/moment/locale/pt.js',
808  'ro' => 'resources/lib/moment/locale/ro.js',
809  'ru' => 'resources/lib/moment/locale/ru.js',
810  'se' => 'resources/lib/moment/locale/se.js',
811  'si' => 'resources/lib/moment/locale/si.js',
812  'sk' => 'resources/lib/moment/locale/sk.js',
813  'sl' => 'resources/lib/moment/locale/sl.js',
814  'sq' => 'resources/lib/moment/locale/sq.js',
815  'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
816  'sr-el' => 'resources/lib/moment/locale/sr.js',
817  'ss' => 'resources/lib/moment/locale/ss.js',
818  'sv' => 'resources/lib/moment/locale/sv.js',
819  'sw' => 'resources/lib/moment/locale/sw.js',
820  'ta' => 'resources/lib/moment/locale/ta.js',
821  'te' => 'resources/lib/moment/locale/te.js',
822  'th' => 'resources/lib/moment/locale/th.js',
823  'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
824  'tr' => 'resources/lib/moment/locale/tr.js',
825  'tzm' => 'resources/lib/moment/locale/tzm.js',
826  'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
827  'uk' => 'resources/lib/moment/locale/uk.js',
828  'uz' => 'resources/lib/moment/locale/uz.js',
829  'vi' => 'resources/lib/moment/locale/vi.js',
830  'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
831  'zh-hk' => 'resources/lib/moment/locale/zh-hk.js',
832  'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
833  'zh-hans' => 'resources/lib/moment/locale/zh-cn.js',
834  'zh-hant' => 'resources/lib/moment/locale/zh-tw.js',
835  ],
836  // HACK: skinScripts come after languageScripts, and we need locale overrides to come
837  // after locale definitions
838  'skinScripts' => [
839  'default' => [
840  'resources/src/moment-locale-overrides.js',
841  ],
842  ],
843  'dependencies' => [
844  'mediawiki.language',
845  ],
846  'targets' => [ 'desktop', 'mobile' ],
847  ],
848 
849  /* MediaWiki */
850 
851  'mediawiki' => [
852  'class' => 'ResourceLoaderRawFileModule',
853  // Keep in sync with maintenance/jsduck/eg-iframe.html
854  'scripts' => [
855  'resources/src/mediawiki/mediawiki.js',
856  'resources/src/mediawiki/mediawiki.requestIdleCallback.js',
857  'resources/src/mediawiki/mediawiki.errorLogger.js',
858  ],
859  'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
860  'targets' => [ 'desktop', 'mobile' ],
861  ],
862  'mediawiki.apihelp' => [
863  'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
864  'targets' => [ 'desktop' ],
865  ],
866  'mediawiki.template' => [
867  'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
868  'targets' => [ 'desktop', 'mobile' ],
869  ],
870  'mediawiki.template.mustache' => [
871  'scripts' => [
872  'resources/lib/mustache/mustache.js',
873  'resources/src/mediawiki/mediawiki.template.mustache.js',
874  ],
875  'targets' => [ 'desktop', 'mobile' ],
876  'dependencies' => 'mediawiki.template',
877  ],
878  'mediawiki.template.regexp' => [
879  'scripts' => 'resources/src/mediawiki/mediawiki.template.regexp.js',
880  'targets' => [ 'desktop', 'mobile' ],
881  'dependencies' => 'mediawiki.template',
882  ],
883  'mediawiki.apipretty' => [
884  'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
885  'targets' => [ 'desktop', 'mobile' ],
886  ],
887  'mediawiki.api' => [
888  'scripts' => 'resources/src/mediawiki/api.js',
889  'dependencies' => [
890  'mediawiki.util',
891  'user.tokens',
892  ],
893  'targets' => [ 'desktop', 'mobile' ],
894  ],
895  'mediawiki.api.category' => [
896  'scripts' => 'resources/src/mediawiki/api/category.js',
897  'dependencies' => [
898  'mediawiki.api',
899  'mediawiki.Title',
900  ],
901  ],
902  'mediawiki.api.edit' => [
903  'scripts' => 'resources/src/mediawiki/api/edit.js',
904  'dependencies' => [
905  'mediawiki.api',
906  'mediawiki.Title',
907  ],
908  'targets' => [ 'desktop', 'mobile' ],
909  ],
910  'mediawiki.api.login' => [
911  'scripts' => 'resources/src/mediawiki/api/login.js',
912  'dependencies' => 'mediawiki.api',
913  ],
914  'mediawiki.api.options' => [
915  'scripts' => 'resources/src/mediawiki/api/options.js',
916  'dependencies' => 'mediawiki.api',
917  'targets' => [ 'desktop', 'mobile' ],
918  ],
919  'mediawiki.api.parse' => [
920  'scripts' => 'resources/src/mediawiki/api/parse.js',
921  'dependencies' => 'mediawiki.api',
922  'targets' => [ 'desktop', 'mobile' ],
923  ],
924  'mediawiki.api.upload' => [
925  'scripts' => 'resources/src/mediawiki/api/upload.js',
926  'dependencies' => [
927  'mediawiki.api',
928  'mediawiki.api.edit',
929  ],
930  'targets' => [ 'desktop', 'mobile' ],
931  ],
932  'mediawiki.api.user' => [
933  'scripts' => 'resources/src/mediawiki/api/user.js',
934  'dependencies' => [
935  'mediawiki.api',
936  ],
937  'targets' => [ 'desktop', 'mobile' ],
938  ],
939  'mediawiki.api.watch' => [
940  'scripts' => 'resources/src/mediawiki/api/watch.js',
941  'dependencies' => [
942  'mediawiki.api',
943  ],
944  ],
945  'mediawiki.api.messages' => [
946  'scripts' => 'resources/src/mediawiki/api/messages.js',
947  'dependencies' => [
948  'mediawiki.api',
949  ],
950  'targets' => [ 'desktop', 'mobile' ],
951  ],
952  'mediawiki.api.rollback' => [
953  'scripts' => 'resources/src/mediawiki/api/rollback.js',
954  'dependencies' => [
955  'mediawiki.api',
956  ],
957  ],
958  'mediawiki.content.json' => [
959  'styles' => 'resources/src/mediawiki/mediawiki.content.json.less',
960  ],
961  'mediawiki.confirmCloseWindow' => [
962  'scripts' => [
963  'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
964  ],
965  'targets' => [ 'desktop', 'mobile' ],
966  ],
967  'mediawiki.debug' => [
968  'scripts' => [
969  'resources/src/mediawiki/mediawiki.debug.js',
970  ],
971  'styles' => [
972  'resources/src/mediawiki/mediawiki.debug.less',
973  ],
974  'dependencies' => [
975  'jquery.footHovzer',
976  ],
977  ],
978  'mediawiki.diff.styles' => [
979  'styles' => [
980  'resources/src/mediawiki/mediawiki.diff.styles.css',
981  'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
982  'media' => 'print'
983  ],
984  ],
985  'targets' => [ 'desktop', 'mobile' ],
986  ],
987  'mediawiki.feedback' => [
988  'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
989  'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
990  'dependencies' => [
991  'mediawiki.messagePoster',
992  'mediawiki.Title',
993  'oojs-ui-core',
994  'oojs-ui-windows',
995  ],
996  'messages' => [
997  'feedback-adding',
998  'feedback-back',
999  'feedback-bugcheck',
1000  'feedback-dialog-intro',
1001  'feedback-external-bug-report-button',
1002  'feedback-bugnew',
1003  'feedback-bugornote',
1004  'feedback-cancel',
1005  'feedback-close',
1006  'feedback-dialog-title',
1007  'feedback-error1',
1008  'feedback-error2',
1009  'feedback-error3',
1010  'feedback-error4',
1011  'feedback-message',
1012  'feedback-subject',
1013  'feedback-submit',
1014  'feedback-terms',
1015  'feedback-termsofuse',
1016  'feedback-thanks',
1017  'feedback-thanks-title',
1018  'feedback-useragent'
1019  ],
1020  'targets' => [ 'desktop', 'mobile' ],
1021  ],
1022  'mediawiki.feedlink' => [
1023  'styles' => 'resources/src/mediawiki/mediawiki.feedlink.css',
1024  ],
1025  'mediawiki.filewarning' => [
1026  'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
1027  'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
1028  'dependencies' => [
1029  'oojs-ui-core',
1030  ],
1031  ],
1032  'mediawiki.ForeignApi' => [
1033  'targets' => [ 'desktop', 'mobile' ],
1034  'class' => 'ResourceLoaderForeignApiModule',
1035  // Additional dependencies generated dynamically
1036  'dependencies' => 'mediawiki.ForeignApi.core',
1037  ],
1038  'mediawiki.ForeignApi.core' => [
1039  'scripts' => 'resources/src/mediawiki/ForeignApi.js',
1040  'dependencies' => [
1041  'mediawiki.api',
1042  'oojs',
1043  ],
1044  'targets' => [ 'desktop', 'mobile' ],
1045  ],
1046  'mediawiki.helplink' => [
1047  'styles' => [
1048  'resources/src/mediawiki/mediawiki.helplink.less',
1049  ],
1050  'targets' => [ 'desktop', 'mobile' ],
1051  ],
1052  'mediawiki.hidpi' => [
1053  'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
1054  'dependencies' => 'jquery.hidpi',
1055  'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
1056  'targets' => [ 'desktop', 'mobile' ],
1057  ],
1058  'mediawiki.hlist' => [
1059  'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
1060  ],
1061  'mediawiki.htmlform' => [
1062  'scripts' => [
1063  'resources/src/mediawiki/htmlform/htmlform.js',
1064  'resources/src/mediawiki/htmlform/autocomplete.js',
1065  'resources/src/mediawiki/htmlform/autoinfuse.js',
1066  'resources/src/mediawiki/htmlform/checkmatrix.js',
1067  'resources/src/mediawiki/htmlform/cloner.js',
1068  'resources/src/mediawiki/htmlform/hide-if.js',
1069  'resources/src/mediawiki/htmlform/multiselect.js',
1070  'resources/src/mediawiki/htmlform/selectandother.js',
1071  'resources/src/mediawiki/htmlform/selectorother.js',
1072  ],
1073  'dependencies' => [
1074  'mediawiki.RegExp',
1075  'jquery.byteLimit',
1076  ],
1077  'messages' => [
1078  'htmlform-chosen-placeholder',
1079  // @todo Load this message in content language
1080  'colon-separator',
1081  ],
1082  'targets' => [ 'desktop', 'mobile' ],
1083  ],
1084  'mediawiki.htmlform.checker' => [
1085  'scripts' => [
1086  'resources/src/mediawiki/htmlform/htmlform.Checker.js',
1087  ],
1088  'targets' => [ 'desktop', 'mobile' ],
1089  ],
1090  'mediawiki.htmlform.ooui' => [
1091  'scripts' => [
1092  'resources/src/mediawiki/htmlform/htmlform.Element.js',
1093  ],
1094  'dependencies' => [
1095  'oojs-ui-core',
1096  ],
1097  'targets' => [ 'desktop', 'mobile' ],
1098  ],
1099  'mediawiki.htmlform.styles' => [
1100  'styles' => 'resources/src/mediawiki/htmlform/styles.css',
1101  'targets' => [ 'desktop', 'mobile' ],
1102  ],
1103  'mediawiki.htmlform.ooui.styles' => [
1104  'styles' => 'resources/src/mediawiki/htmlform/ooui.styles.css',
1105  'targets' => [ 'desktop', 'mobile' ],
1106  ],
1107  'mediawiki.icon' => [
1108  'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
1109  'targets' => [ 'desktop', 'mobile' ],
1110  ],
1111  'mediawiki.inspect' => [
1112  'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
1113  'dependencies' => [
1114  'jquery.byteLength',
1115  'mediawiki.RegExp',
1116  ],
1117  'targets' => [ 'desktop', 'mobile' ],
1118  ],
1119  'mediawiki.messagePoster' => [
1120  'scripts' => [
1121  'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
1122  'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
1123  ],
1124  'dependencies' => [
1125  'oojs',
1126  'mediawiki.api',
1127  'mediawiki.ForeignApi',
1128  ],
1129  'targets' => [ 'desktop', 'mobile' ],
1130  ],
1131  'mediawiki.messagePoster.wikitext' => [
1132  'scripts' => [
1133  'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
1134  ],
1135  'dependencies' => [
1136  'mediawiki.api.edit',
1137  'mediawiki.messagePoster',
1138  ],
1139  'targets' => [ 'desktop', 'mobile' ],
1140  ],
1141  'mediawiki.notification' => [
1142  'styles' => [
1143  'resources/src/mediawiki/mediawiki.notification.common.css',
1144  'resources/src/mediawiki/mediawiki.notification.print.css'
1145  => [ 'media' => 'print' ],
1146  ],
1147  'skinStyles' => [
1148  'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1149  ],
1150  'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1151  'dependencies' => 'mediawiki.page.startup',
1152  'targets' => [ 'desktop', 'mobile' ],
1153  ],
1154  'mediawiki.notify' => [
1155  'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1156  'targets' => [ 'desktop', 'mobile' ],
1157  ],
1158  'mediawiki.notification.convertmessagebox' => [
1159  'dependencies' => [
1160  'mediawiki.notification',
1161  ],
1162  'scripts' => 'resources/src/mediawiki/mediawiki.notification.convertmessagebox.js',
1163  'targets' => [ 'desktop', 'mobile' ],
1164  ],
1165  'mediawiki.notification.convertmessagebox.styles' => [
1166  'styles' => [
1167  'resources/src/mediawiki/mediawiki.notification.convertmessagebox.styles.less',
1168  ],
1169  'targets' => [ 'desktop', 'mobile' ],
1170  ],
1171  'mediawiki.RegExp' => [
1172  'scripts' => 'resources/src/mediawiki/mediawiki.RegExp.js',
1173  'targets' => [ 'desktop', 'mobile' ],
1174  ],
1175  'mediawiki.pager.tablePager' => [
1176  'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1177  ],
1178  'mediawiki.searchSuggest' => [
1179  'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1180  'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1181  'messages' => [
1182  'searchsuggest-search',
1183  'searchsuggest-containing',
1184  ],
1185  'dependencies' => [
1186  'jquery.suggestions',
1187  'jquery.getAttrs',
1188  'mediawiki.api',
1189  ],
1190  ],
1191  'mediawiki.sectionAnchor' => [
1192  // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1193  'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1194  'targets' => [ 'desktop', 'mobile' ],
1195  ],
1196  'mediawiki.storage' => [
1197  'scripts' => 'resources/src/mediawiki/mediawiki.storage.js',
1198  'targets' => [ 'desktop', 'mobile' ],
1199  ],
1200  'mediawiki.Title' => [
1201  'scripts' => [
1202  'resources/src/mediawiki/mediawiki.Title.js',
1203  'resources/src/mediawiki/mediawiki.Title.phpCharToUpper.js',
1204  ],
1205  'dependencies' => [
1206  'jquery.byteLength',
1207  'mediawiki.util',
1208  ],
1209  'targets' => [ 'desktop', 'mobile' ],
1210  ],
1211  'mediawiki.Upload' => [
1212  'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
1213  'dependencies' => [
1214  'mediawiki.api.upload',
1215  ],
1216  ],
1217  'mediawiki.ForeignUpload' => [
1218  'scripts' => 'resources/src/mediawiki/mediawiki.ForeignUpload.js',
1219  'dependencies' => [
1220  'mediawiki.ForeignApi',
1221  'mediawiki.Upload',
1222  'oojs',
1223  ],
1224  'messages' => [
1225  'uploaddisabledtext',
1226  'upload-dialog-disabled',
1227  'upload-foreign-cant-upload',
1228  ]
1229  ],
1230  'mediawiki.ForeignStructuredUpload.config' => [
1231  'class' => 'ResourceLoaderUploadDialogModule',
1232  ],
1233  'mediawiki.ForeignStructuredUpload' => [
1234  'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js',
1235  'dependencies' => [
1236  'mediawiki.ForeignUpload',
1237  'mediawiki.ForeignStructuredUpload.config',
1238  ],
1239  'messages' => [
1240  'upload-foreign-cant-load-config',
1241  ],
1242  ],
1243  'mediawiki.Upload.Dialog' => [
1244  'scripts' => [
1245  'resources/src/mediawiki/mediawiki.Upload.Dialog.js',
1246  ],
1247  'dependencies' => [
1248  'mediawiki.Upload.BookletLayout',
1249  ],
1250  'messages' => [
1251  'upload-dialog-title',
1252  'upload-dialog-button-cancel',
1253  'upload-dialog-button-back',
1254  'upload-dialog-button-done',
1255  'upload-dialog-button-save',
1256  'upload-dialog-button-upload',
1257  ],
1258  ],
1259  'mediawiki.Upload.BookletLayout' => [
1260  'scripts' => [
1261  'resources/src/mediawiki/mediawiki.Upload.BookletLayout.js',
1262  ],
1263  'styles' => [
1264  'resources/src/mediawiki/mediawiki.Upload.BookletLayout.css',
1265  ],
1266  'dependencies' => [
1267  'oojs-ui-core',
1268  'oojs-ui-widgets',
1269  'oojs-ui-windows',
1270  'oojs-ui.styles.icons-content',
1271  'oojs-ui.styles.icons-editing-advanced',
1272  'moment',
1273  'mediawiki.Title',
1274  'mediawiki.user',
1275  'mediawiki.Upload',
1276  'mediawiki.jqueryMsg',
1277  'mediawiki.widgets.StashedFileWidget'
1278  ],
1279  'messages' => [
1280  'upload-form-label-infoform-title',
1281  'upload-form-label-infoform-name',
1282  'upload-form-label-infoform-name-tooltip',
1283  'upload-form-label-infoform-description',
1284  'upload-form-label-infoform-description-tooltip',
1285  'upload-form-label-usage-title',
1286  'upload-form-label-usage-filename',
1287  'action-upload',
1288  'apierror-mustbeloggedin',
1289  'badaccess-groups',
1290  'apierror-unknownerror',
1291  'api-error-unknown-warning',
1292  'fileexists',
1293  'filepageexists',
1294  'file-exists-duplicate',
1295  'file-deleted-duplicate',
1296  'filename-bad-prefix',
1297  'filename-thumb-name',
1298  'filewasdeleted',
1299  'badfilename',
1300  'protectedpagetext',
1301  ],
1302  ],
1303  'mediawiki.ForeignStructuredUpload.BookletLayout' => [
1304  'scripts' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js',
1305  'styles' => 'resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.less',
1306  'dependencies' => [
1307  'mediawiki.ForeignStructuredUpload',
1308  'mediawiki.Upload.BookletLayout',
1309  'mediawiki.widgets.CategoryMultiselectWidget',
1310  'mediawiki.widgets.DateInputWidget',
1311  'mediawiki.jqueryMsg',
1312  'mediawiki.api.messages',
1313  'moment',
1314  'mediawiki.libs.jpegmeta',
1315  ],
1316  'messages' => [
1317  'upload-form-label-own-work',
1318  'upload-form-label-infoform-categories',
1319  'upload-form-label-infoform-date',
1320  'upload-form-label-own-work-message-generic-local',
1321  'upload-form-label-not-own-work-message-generic-local',
1322  'upload-form-label-not-own-work-local-generic-local',
1323  'upload-form-label-own-work-message-generic-foreign',
1324  'upload-form-label-not-own-work-message-generic-foreign',
1325  'upload-form-label-not-own-work-local-generic-foreign',
1326  ],
1327  ],
1328  'mediawiki.toc' => [
1329  'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1330  'styles' => [
1331  'resources/src/mediawiki/mediawiki.toc.css'
1332  => [ 'media' => 'screen' ],
1333  'resources/src/mediawiki/mediawiki.toc.print.css'
1334  => [ 'media' => 'print' ],
1335  ],
1336  'dependencies' => 'mediawiki.cookie',
1337  'messages' => [ 'showtoc', 'hidetoc' ],
1338  'targets' => [ 'desktop', 'mobile' ],
1339  ],
1340  'mediawiki.Uri' => [
1341  'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1342  'templates' => [
1343  'strict.regexp' => 'resources/src/mediawiki/mediawiki.Uri.strict.regexp',
1344  'loose.regexp' => 'resources/src/mediawiki/mediawiki.Uri.loose.regexp',
1345  ],
1346  'dependencies' => 'mediawiki.util',
1347  'targets' => [ 'desktop', 'mobile' ],
1348  ],
1349  'mediawiki.user' => [
1350  'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1351  'dependencies' => [
1352  'mediawiki.api',
1353  'mediawiki.api.user',
1354  'mediawiki.cookie',
1355  'mediawiki.storage',
1356  'user.options',
1357  'user.tokens',
1358  ],
1359  'targets' => [ 'desktop', 'mobile' ],
1360  ],
1361  'mediawiki.userSuggest' => [
1362  'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1363  'dependencies' => [
1364  'jquery.suggestions',
1365  'mediawiki.api'
1366  ]
1367  ],
1368  'mediawiki.util' => [
1369  'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1370  'dependencies' => [
1371  'jquery.accessKeyLabel',
1372  'mediawiki.RegExp',
1373  'mediawiki.notify',
1374  ],
1375  'targets' => [ 'desktop', 'mobile' ],
1376  ],
1377  'mediawiki.viewport' => [
1378  'scripts' => 'resources/src/mediawiki/mediawiki.viewport.js',
1379  'targets' => [ 'desktop', 'mobile' ],
1380  ],
1381  'mediawiki.checkboxtoggle' => [
1382  'scripts' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.js',
1383  ],
1384  'mediawiki.checkboxtoggle.styles' => [
1385  'styles' => 'resources/src/mediawiki/mediawiki.checkboxtoggle.css',
1386  ],
1387  'mediawiki.cookie' => [
1388  'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1389  'dependencies' => 'jquery.cookie',
1390  'targets' => [ 'desktop', 'mobile' ],
1391  ],
1392  'mediawiki.toolbar' => [
1393  'class' => 'ResourceLoaderEditToolbarModule',
1394  'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1395  'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1396  'dependencies' => 'jquery.textSelection',
1397  ],
1398  'mediawiki.experiments' => [
1399  'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
1400  'targets' => [ 'desktop', 'mobile' ],
1401  ],
1402 
1403  /* MediaWiki Action */
1404 
1405  'mediawiki.action.edit' => [
1406  'scripts' => [
1407  'resources/src/mediawiki.action/mediawiki.action.edit.js',
1408  'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1409  ],
1410  'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1411  'dependencies' => [
1412  'mediawiki.action.edit.styles',
1413  'jquery.textSelection',
1414  'jquery.byteLimit',
1415  'mediawiki.api',
1416  ],
1417  ],
1418  'mediawiki.action.edit.styles' => [
1419  'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1420  ],
1421  'mediawiki.action.edit.collapsibleFooter' => [
1422  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1423  'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1424  'dependencies' => [
1425  'jquery.makeCollapsible',
1426  'mediawiki.storage',
1427  'mediawiki.icon',
1428  ],
1429  ],
1430  'mediawiki.action.edit.preview' => [
1431  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1432  'dependencies' => [
1433  'jquery.form',
1434  'jquery.spinner',
1435  'jquery.textSelection',
1436  'mediawiki.api',
1437  'mediawiki.diff.styles',
1438  'mediawiki.util',
1439  'mediawiki.jqueryMsg',
1440  ],
1441  'messages' => [
1442  // Keep the uses message keys in sync with EditPage#setHeaders
1443  'creating',
1444  'editconflict',
1445  'editing',
1446  'editingcomment',
1447  'editingsection',
1448  'pagetitle',
1449  'otherlanguages',
1450  'summary-preview',
1451  'subject-preview',
1452  'parentheses',
1453  'previewerrortext',
1454  ],
1455  ],
1456  'mediawiki.action.history' => [
1457  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1458  'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1459  ],
1460  'mediawiki.action.history.styles' => [
1461  'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.styles.css',
1462  ],
1463  // using this module is deprecated, for diff styles use mediawiki.diff.styles instead
1464  'mediawiki.action.history.diff' => [
1465  'styles' => [
1466  'resources/src/mediawiki/mediawiki.diff.styles.css',
1467  'resources/src/mediawiki/mediawiki.diff.styles.print.css' => [
1468  'media' => 'print'
1469  ],
1470  ],
1471  'targets' => [ 'desktop', 'mobile' ],
1472  ],
1473  'mediawiki.action.view.dblClickEdit' => [
1474  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1475  'dependencies' => [
1476  'mediawiki.util',
1477  'mediawiki.page.startup',
1478  'user.options',
1479  ],
1480  ],
1481  'mediawiki.action.view.metadata' => [
1482  'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1483  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1484  'messages' => [
1485  'metadata-expand',
1486  'metadata-collapse',
1487  ],
1488  ],
1489  'mediawiki.action.view.categoryPage.styles' => [
1490  'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1491  'targets' => [ 'desktop', 'mobile' ]
1492  ],
1493  'mediawiki.action.view.postEdit' => [
1494  'templates' => [
1495  'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1496  ],
1497  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1498  'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1499  'dependencies' => [
1500  'mediawiki.cookie',
1501  'mediawiki.jqueryMsg'
1502  ],
1503  'messages' => [
1504  'postedit-confirmation-created',
1505  'postedit-confirmation-restored',
1506  'postedit-confirmation-saved',
1507  ],
1508  ],
1509  'mediawiki.action.view.redirect' => [
1510  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1511  'dependencies' => 'jquery.client',
1512  'targets' => [ 'desktop', 'mobile' ],
1513  ],
1514  'mediawiki.action.view.redirectPage' => [
1515  'targets' => [ 'desktop', 'mobile' ],
1516  'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1517  ],
1518  'mediawiki.action.view.rightClickEdit' => [
1519  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1520  ],
1521  'mediawiki.action.edit.editWarning' => [
1522  'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1523  'dependencies' => [
1524  'jquery.textSelection',
1525  'mediawiki.jqueryMsg',
1526  'mediawiki.confirmCloseWindow',
1527  'user.options',
1528  ],
1529  'messages' => [
1530  'editwarning-warning',
1531  // editwarning-warning uses {{int:prefs-editing}}
1532  'prefs-editing'
1533  ],
1534  ],
1535  'mediawiki.action.view.filepage' => [
1536  'styles' => [
1537  'resources/src/mediawiki.action/mediawiki.action.view.filepage.print.css' =>
1538  [ 'media' => 'print' ],
1539  'resources/src/mediawiki.action/mediawiki.action.view.filepage.css',
1540  ],
1541  ],
1542 
1543  /* MediaWiki Language */
1544 
1545  'mediawiki.language' => [
1546  'scripts' => [
1547  'resources/src/mediawiki.language/mediawiki.language.js',
1548  'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1549  'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1550  ],
1551  'languageScripts' => [
1552  'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1553  'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1554  'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1555  'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1556  'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1557  'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1558  'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1559  'la' => 'resources/src/mediawiki.language/languages/la.js',
1560  'os' => 'resources/src/mediawiki.language/languages/os.js',
1561  'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1562  ],
1563  'dependencies' => [
1564  'mediawiki.language.data',
1565  'mediawiki.cldr',
1566  ],
1567  'targets' => [ 'desktop', 'mobile' ],
1568  'messages' => [
1569  'and',
1570  'comma-separator',
1571  'word-separator'
1572  ],
1573  ],
1574 
1575  'mediawiki.cldr' => [
1576  'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1577  'dependencies' => [
1578  'mediawiki.libs.pluralruleparser',
1579  ],
1580  'targets' => [ 'desktop', 'mobile' ],
1581  ],
1582 
1583  'mediawiki.libs.pluralruleparser' => [
1584  'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1585  'targets' => [ 'desktop', 'mobile' ],
1586  ],
1587 
1588  'mediawiki.language.init' => [
1589  'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1590  'targets' => [ 'desktop', 'mobile' ],
1591  ],
1592 
1593  'mediawiki.jqueryMsg' => [
1594  // Add data for mediawiki.jqueryMsg, such as allowed tags
1595  'class' => 'ResourceLoaderJqueryMsgModule',
1596  'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1597  'dependencies' => [
1598  'mediawiki.util',
1599  'mediawiki.language',
1600  'user.options',
1601  ],
1602  'targets' => [ 'desktop', 'mobile' ],
1603  ],
1604 
1605  'mediawiki.language.months' => [
1606  'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1607  'dependencies' => 'mediawiki.language',
1608  'messages' => array_merge(
1612  )
1613  ],
1614 
1615  'mediawiki.language.names' => [ 'class' => 'ResourceLoaderLanguageNamesModule' ],
1616 
1617  'mediawiki.language.specialCharacters' => [
1618  'class' => 'ResourceLoaderSpecialCharacterDataModule'
1619  ],
1620 
1621  /* MediaWiki Libs */
1622 
1623  'mediawiki.libs.jpegmeta' => [
1624  'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1625  'targets' => [ 'desktop', 'mobile' ],
1626  ],
1627 
1628  /* MediaWiki Page */
1629 
1630  'mediawiki.page.gallery' => [
1631  'scripts' => 'resources/src/mediawiki/page/gallery.js',
1632  'dependencies' => [
1633  'mediawiki.page.gallery.styles',
1634  'jquery.throttle-debounce',
1635  ]
1636  ],
1637  'mediawiki.page.gallery.styles' => [
1638  'styles' => [
1639  'resources/src/mediawiki/page/gallery.print.css' => [ 'media' => 'print' ],
1640  'resources/src/mediawiki/page/gallery.css',
1641  ],
1642  'targets' => [ 'desktop', 'mobile' ],
1643  ],
1644  'mediawiki.page.gallery.slideshow' => [
1645  'scripts' => 'resources/src/mediawiki/page/gallery-slideshow.js',
1646  'dependencies' => [
1647  'mediawiki.api',
1648  'mediawiki.Title',
1649  'oojs',
1650  'oojs-ui-core',
1651  'oojs-ui-widgets',
1652  'oojs-ui.styles.icons-media'
1653  ],
1654  'messages' => [
1655  'gallery-slideshow-toggle'
1656  ]
1657  ],
1658  'mediawiki.page.ready' => [
1659  'scripts' => 'resources/src/mediawiki/page/ready.js',
1660  'dependencies' => [
1661  'jquery.accessKeyLabel',
1662  'jquery.checkboxShiftClick',
1663  'jquery.mw-jump',
1664  ],
1665  'targets' => [ 'desktop', 'mobile' ],
1666  ],
1667  'mediawiki.page.startup' => [
1668  'scripts' => 'resources/src/mediawiki/page/startup.js',
1669  'dependencies' => 'mediawiki.util',
1670  'targets' => [ 'desktop', 'mobile' ],
1671  ],
1672  'mediawiki.page.patrol.ajax' => [
1673  'scripts' => 'resources/src/mediawiki/page/patrol.ajax.js',
1674  'dependencies' => [
1675  'mediawiki.page.startup',
1676  'mediawiki.api',
1677  'mediawiki.util',
1678  'mediawiki.Title',
1679  'mediawiki.notify',
1680  'jquery.spinner',
1681  'user.tokens'
1682  ],
1683  'messages' => [
1684  'markedaspatrollednotify',
1685  'markedaspatrollederrornotify',
1686  'markedaspatrollederror-noautopatrol'
1687  ],
1688  ],
1689  'mediawiki.page.watch.ajax' => [
1690  'scripts' => 'resources/src/mediawiki/page/watch.js',
1691  'dependencies' => [
1692  'mediawiki.page.startup',
1693  'mediawiki.api.watch',
1694  'mediawiki.notify',
1695  'mediawiki.util',
1696  'mediawiki.Title',
1697  'mediawiki.jqueryMsg',
1698  'jquery.accessKeyLabel',
1699  'mediawiki.RegExp',
1700  ],
1701  'messages' => [
1702  'watch',
1703  'unwatch',
1704  'watching',
1705  'unwatching',
1706  'tooltip-ca-watch',
1707  'tooltip-ca-unwatch',
1708  'watcherrortext',
1709  'addedwatchtext',
1710  'addedwatchtext-talk',
1711  'removedwatchtext',
1712  'removedwatchtext-talk',
1713  ],
1714  ],
1715  'mediawiki.page.rollback' => [
1716  'scripts' => 'resources/src/mediawiki/page/rollback.js',
1717  'dependencies' => [
1718  'mediawiki.api.rollback',
1719  'mediawiki.notify',
1720  'jquery.spinner',
1721  ],
1722  'messages' => [
1723  'rollbackfailed',
1724  'actioncomplete',
1725  ],
1726  ],
1727  'mediawiki.page.image.pagination' => [
1728  'scripts' => 'resources/src/mediawiki/page/image-pagination.js',
1729  'dependencies' => [
1730  'mediawiki.util',
1731  'jquery.spinner',
1732  ],
1733  ],
1734 
1735  /* MediaWiki Special pages */
1736 
1737  'mediawiki.rcfilters.filters.base.styles' => [
1738  'styles' => [
1739  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.less',
1740  ],
1741  ],
1742  'mediawiki.rcfilters.filters.dm' => [
1743  'scripts' => [
1744  'resources/src/mediawiki.rcfilters/mw.rcfilters.js',
1745  'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterItem.js',
1746  'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterGroup.js',
1747  'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FiltersViewModel.js',
1748  'resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.ChangesListViewModel.js',
1749  'resources/src/mediawiki.rcfilters/mw.rcfilters.Controller.js',
1750  ],
1751  'dependencies' => [
1752  'oojs',
1753  'mediawiki.Uri',
1754  ],
1755  ],
1756  'mediawiki.rcfilters.filters.ui' => [
1757  'scripts' => [
1758  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.CheckboxInputWidget.js',
1759  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterTagMultiselectWidget.js',
1760  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuOptionWidget.js',
1761  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuSectionOptionWidget.js',
1762  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterTagItemWidget.js',
1763  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuHeaderWidget.js',
1764  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterFloatingMenuSelectWidget.js',
1765  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js',
1766  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js',
1767  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FormWrapperWidget.js',
1768  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemHighlightButton.js',
1769  'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.HighlightColorPickerWidget.js',
1770  'resources/src/mediawiki.rcfilters/mw.rcfilters.HighlightColors.js',
1771  'resources/src/mediawiki.rcfilters/mw.rcfilters.init.js',
1772  ],
1773  'styles' => [
1774  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.mixins.less',
1775  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.variables.less',
1776  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.less',
1777  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.Overlay.less',
1778  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterTagMultiselectWidget.less',
1779  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuOptionWidget.less',
1780  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuSectionOptionWidget.less',
1781  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterTagItemWidget.less',
1782  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuHeaderWidget.less',
1783  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterFloatingMenuSelectWidget.less',
1784  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less',
1785  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ChangesListWrapperWidget.less',
1786  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.HighlightColorPickerWidget.less',
1787  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterItemHighlightButton.less',
1788  ],
1789  'skinStyles' => [
1790  'monobook' => [
1791  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.Overlay.monobook.less',
1792  'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.CapsuleItemWidget.monobook.less',
1793  ],
1794  ],
1795  'messages' => [
1796  'rcfilters-activefilters',
1797  'rcfilters-restore-default-filters',
1798  'rcfilters-clear-all-filters',
1799  'rcfilters-search-placeholder',
1800  'rcfilters-invalid-filter',
1801  'rcfilters-empty-filter',
1802  'rcfilters-filterlist-title',
1803  'rcfilters-filterlist-feedbacklink',
1804  'rcfilters-filterlist-noresults',
1805  'rcfilters-filterlist-whatsthis',
1806  'rcfilters-highlightbutton-title',
1807  'rcfilters-highlightmenu-title',
1808  'rcfilters-highlightmenu-help',
1809  'rcfilters-noresults-conflict',
1810  'rcfilters-state-message-subset',
1811  'rcfilters-state-message-fullcoverage',
1812  'recentchanges-noresult',
1813  'quotation-marks',
1814  ],
1815  'dependencies' => [
1816  'oojs-ui',
1817  'mediawiki.language',
1818  'mediawiki.user',
1819  'mediawiki.rcfilters.filters.dm',
1820  'oojs-ui.styles.icons-moderation',
1821  'oojs-ui.styles.icons-editing-core',
1822  'oojs-ui.styles.icons-editing-styling',
1823  'oojs-ui.styles.icons-interactions',
1824  ],
1825  ],
1826  'mediawiki.special' => [
1827  'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1828  'targets' => [ 'desktop', 'mobile' ],
1829  ],
1830  'mediawiki.special.apisandbox.styles' => [
1831  'targets' => [ 'desktop', 'mobile' ],
1832  'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.top.css',
1833  ],
1834  'mediawiki.special.apisandbox' => [
1835  'styles' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.css',
1836  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.apisandbox.js',
1837  'targets' => [ 'desktop', 'mobile' ],
1838  'dependencies' => [
1839  'mediawiki.api',
1840  'mediawiki.jqueryMsg',
1841  'oojs-ui',
1842  'mediawiki.widgets.datetime',
1843  ],
1844  'messages' => [
1845  'apisandbox-intro',
1846  'apisandbox-submit',
1847  'apisandbox-reset',
1848  'apisandbox-fullscreen',
1849  'apisandbox-fullscreen-tooltip',
1850  'apisandbox-unfullscreen',
1851  'apisandbox-unfullscreen-tooltip',
1852  'apisandbox-retry',
1853  'apisandbox-loading',
1854  'apisandbox-load-error',
1855  'apisandbox-fetch-token',
1856  'apisandbox-helpurls',
1857  'apisandbox-examples',
1858  'apisandbox-dynamic-parameters',
1859  'apisandbox-dynamic-parameters-add-label',
1860  'apisandbox-dynamic-parameters-add-placeholder',
1861  'apisandbox-dynamic-error-exists',
1862  'apisandbox-deprecated-parameters',
1863  'apisandbox-no-parameters',
1864  'api-help-param-limit',
1865  'api-help-param-limit2',
1866  'api-help-param-integer-min',
1867  'api-help-param-integer-max',
1868  'api-help-param-integer-minmax',
1869  'api-help-param-multi-separate',
1870  'api-help-param-multi-max',
1871  'apisandbox-submit-invalid-fields-title',
1872  'apisandbox-submit-invalid-fields-message',
1873  'apisandbox-results',
1874  'apisandbox-sending-request',
1875  'apisandbox-loading-results',
1876  'apisandbox-results-error',
1877  'apisandbox-request-selectformat-label',
1878  'apisandbox-request-format-url-label',
1879  'apisandbox-request-url-label',
1880  'apisandbox-request-format-json-label',
1881  'apisandbox-request-json-label',
1882  'apisandbox-request-time',
1883  'apisandbox-results-fixtoken',
1884  'apisandbox-results-fixtoken-fail',
1885  'apisandbox-alert-page',
1886  'apisandbox-alert-field',
1887  'apisandbox-continue',
1888  'apisandbox-continue-clear',
1889  'apisandbox-continue-help',
1890  'apisandbox-param-limit',
1891  'apisandbox-multivalue-all-namespaces',
1892  'apisandbox-multivalue-all-values',
1893  'api-format-prettyprint-status',
1894  'blanknamespace',
1895  ],
1896  ],
1897  'mediawiki.special.block' => [
1898  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1899  'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1900  'dependencies' => [
1901  'mediawiki.util',
1902  'mediawiki.htmlform',
1903  ],
1904  ],
1905  'mediawiki.special.changecredentials.js' => [
1906  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changecredentials.js',
1907  'dependencies' => [
1908  'mediawiki.api',
1909  'mediawiki.htmlform.ooui'
1910  ],
1911  'targets' => [ 'desktop', 'mobile' ],
1912  ],
1913  'mediawiki.special.changeslist' => [
1914  'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1915  'targets' => [ 'desktop', 'mobile' ],
1916  ],
1917  'mediawiki.special.changeslist.legend' => [
1918  'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1919  'targets' => [ 'desktop', 'mobile' ],
1920  ],
1921  'mediawiki.special.changeslist.legend.js' => [
1922  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1923  'dependencies' => [
1924  'jquery.makeCollapsible',
1925  'mediawiki.cookie',
1926  ],
1927  'targets' => [ 'desktop', 'mobile' ],
1928  ],
1929  'mediawiki.special.changeslist.enhanced' => [
1930  'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1931  ],
1932  'mediawiki.special.changeslist.visitedstatus' => [
1933  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.visitedstatus.js',
1934  ],
1935  'mediawiki.special.comparepages.styles' => [
1936  'styles' => 'resources/src/mediawiki.special/mediawiki.special.comparepages.styles.less',
1937  ],
1938  'mediawiki.special.edittags' => [
1939  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1940  'dependencies' => [
1941  'jquery.chosen',
1942  ],
1943  'messages' => [
1944  'tags-edit-chosen-placeholder',
1945  'tags-edit-chosen-no-results',
1946  ],
1947  ],
1948  'mediawiki.special.edittags.styles' => [
1949  'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1950  ],
1951  'mediawiki.special.import' => [
1952  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1953  ],
1954  'mediawiki.special.movePage' => [
1955  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1956  'dependencies' => [
1957  'jquery.byteLimit',
1958  'mediawiki.widgets',
1959  ],
1960  ],
1961  'mediawiki.special.movePage.styles' => [
1962  'styles' => 'resources/src/mediawiki.special/mediawiki.special.movePage.css',
1963  ],
1964  'mediawiki.special.pageLanguage' => [
1965  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1966  'dependencies' => [
1967  'oojs-ui-core',
1968  ],
1969  ],
1970  'mediawiki.special.pagesWithProp' => [
1971  'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1972  ],
1973  'mediawiki.special.preferences' => [
1974  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1975  'messages' => [
1976  'prefs-tabs-navigation-hint',
1977  'prefswarning-warning',
1978  'saveprefs',
1979  'savedprefs',
1980  ],
1981  'dependencies' => [
1982  'mediawiki.language',
1983  'mediawiki.confirmCloseWindow',
1984  'mediawiki.notification.convertmessagebox',
1985  ],
1986  ],
1987  'mediawiki.special.userrights' => [
1988  'styles' => 'resources/src/mediawiki.special/mediawiki.special.userrights.css',
1989  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userrights.js',
1990  'dependencies' => [
1991  'mediawiki.notification.convertmessagebox',
1992  ],
1993  ],
1994  'mediawiki.special.preferences.styles' => [
1995  'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
1996  ],
1997  'mediawiki.special.recentchanges' => [
1998  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1999  'targets' => [ 'desktop', 'mobile' ],
2000  ],
2001  'mediawiki.special.search' => [
2002  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
2003  'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
2004  'dependencies' => 'mediawiki.widgets.SearchInputWidget',
2005  'messages' => [
2006  'powersearch-togglelabel',
2007  'powersearch-toggleall',
2008  'powersearch-togglenone',
2009  ],
2010  ],
2011  'mediawiki.special.search.styles' => [
2012  'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.styles.css',
2013  'targets' => [ 'desktop', 'mobile' ],
2014  ],
2015  'mediawiki.special.search.interwikiwidget.styles' => [
2016  'styles' => 'resources/src/mediawiki.special/'
2017  . 'mediawiki.special.search.interwikiwidget.styles.less',
2018  'targets' => [ 'desktop', 'mobile' ]
2019  ],
2020  'mediawiki.special.search.commonsInterwikiWidget' => [
2021  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.commonsInterwikiWidget.js',
2022  'dependencies' => [
2023  'mediawiki.Uri',
2024  'mediawiki.jqueryMsg'
2025  ],
2026  'targets' => [ 'desktop', 'mobile' ],
2027  'messages' => [
2028  'search-interwiki-more-results',
2029  'searchprofile-images'
2030  ],
2031  ],
2032  'mediawiki.special.undelete' => [
2033  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
2034  ],
2035  'mediawiki.special.upload' => [
2036  'templates' => [
2037  'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
2038  ],
2039  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
2040  'messages' => [
2041  'widthheight',
2042  'size-bytes',
2043  'size-kilobytes',
2044  'size-megabytes',
2045  'size-gigabytes',
2046  'largefileserver',
2047  'editwarning-warning',
2048  // editwarning-warning uses {{int:prefs-editing}}
2049  'prefs-editing',
2050  ],
2051  'dependencies' => [
2052  'mediawiki.special.upload.styles',
2053  'jquery.spinner',
2054  'mediawiki.jqueryMsg',
2055  'mediawiki.api',
2056  'mediawiki.libs.jpegmeta',
2057  'mediawiki.Title',
2058  'mediawiki.util',
2059  'mediawiki.confirmCloseWindow',
2060  'user.options',
2061  ],
2062  ],
2063  'mediawiki.special.upload.styles' => [
2064  'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
2065  ],
2066  'mediawiki.special.userlogin.common.styles' => [
2067  'styles' => [
2068  'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
2069  ],
2070  ],
2071  'mediawiki.special.userlogin.signup.styles' => [
2072  'styles' => [
2073  'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
2074  ],
2075  ],
2076  'mediawiki.special.userlogin.login.styles' => [
2077  'styles' => [
2078  'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
2079  ],
2080  ],
2081  'mediawiki.special.userlogin.signup.js' => [
2082  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
2083  'messages' => [
2084  'createacct-emailrequired',
2085  'noname',
2086  'userexists',
2087  ],
2088  'dependencies' => [
2089  'mediawiki.api',
2090  'mediawiki.jqueryMsg',
2091  'jquery.throttle-debounce',
2092  'mediawiki.htmlform.checker',
2093  ],
2094  ],
2095  'mediawiki.special.unwatchedPages' => [
2096  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
2097  'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
2098  'messages' => [
2099  'addedwatchtext-short',
2100  'removedwatchtext-short',
2101  'unwatch',
2102  'unwatching',
2103  'watch',
2104  'watcherrortext',
2105  'watching',
2106  ],
2107  'dependencies' => [
2108  'mediawiki.api',
2109  'mediawiki.api.watch',
2110  'mediawiki.notify',
2111  'mediawiki.Title',
2112  'mediawiki.util',
2113  ],
2114  ],
2115  'mediawiki.special.watchlist' => [
2116  'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
2117  'dependencies' => [
2118  'mediawiki.api',
2119  'oojs-ui-core',
2120  'user.options',
2121  ]
2122  ],
2123  'mediawiki.special.version' => [
2124  'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
2125  ],
2126 
2127  /* MediaWiki Installer */
2128 
2129  // Used in the web installer. Test it after modifying this definition!
2130  'mediawiki.legacy.config' => [
2131  // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
2132  'scripts' => 'mw-config/config.js',
2133  'styles' => 'mw-config/config.css',
2134  ],
2135 
2136  /* MediaWiki Legacy */
2137 
2138  'mediawiki.legacy.commonPrint' => [
2139  'styles' => [
2140  'resources/src/mediawiki.legacy/commonPrint.css' => [ 'media' => 'print' ]
2141  ],
2142  ],
2143  'mediawiki.legacy.protect' => [
2144  'scripts' => 'resources/src/mediawiki.legacy/protect.js',
2145  'dependencies' => 'jquery.byteLimit',
2146  'messages' => [ 'protect-unchain-permissions' ]
2147  ],
2148  // Used in the web installer. Test it after modifying this definition!
2149  'mediawiki.legacy.shared' => [
2150  'styles' => [
2151  'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
2152  ],
2153  ],
2154  'mediawiki.legacy.oldshared' => [
2155  'styles' => [
2156  'resources/src/mediawiki.legacy/oldshared.css' => [ 'media' => 'screen' ]
2157  ],
2158  ],
2159  'mediawiki.legacy.wikibits' => [
2160  'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
2161  'targets' => [ 'desktop', 'mobile' ],
2162  ],
2163 
2164  /* MediaWiki UI */
2165 
2166  'mediawiki.ui' => [
2167  'skinStyles' => [
2168  'default' => [
2169  'resources/src/mediawiki.ui/default.less',
2170  ],
2171  ],
2172  'targets' => [ 'desktop', 'mobile' ],
2173  ],
2174  'mediawiki.ui.checkbox' => [
2175  'skinStyles' => [
2176  'default' => [
2177  'resources/src/mediawiki.ui/components/checkbox.less',
2178  ],
2179  ],
2180  'targets' => [ 'desktop', 'mobile' ],
2181  ],
2182  'mediawiki.ui.radio' => [
2183  'skinStyles' => [
2184  'default' => [
2185  'resources/src/mediawiki.ui/components/radio.less',
2186  ],
2187  ],
2188  'targets' => [ 'desktop', 'mobile' ],
2189  ],
2190  // Lightweight module for anchor styles
2191  'mediawiki.ui.anchor' => [
2192  'skinStyles' => [
2193  'default' => [
2194  'resources/src/mediawiki.ui/components/anchors.less',
2195  ],
2196  ],
2197  'targets' => [ 'desktop', 'mobile' ],
2198  ],
2199  // Lightweight module for button styles
2200  'mediawiki.ui.button' => [
2201  'skinStyles' => [
2202  'default' => [
2203  'resources/src/mediawiki.ui/components/buttons.less',
2204  ],
2205  ],
2206  'targets' => [ 'desktop', 'mobile' ],
2207  ],
2208  'mediawiki.ui.input' => [
2209  'skinStyles' => [
2210  'default' => [
2211  'resources/src/mediawiki.ui/components/inputs.less',
2212  ],
2213  ],
2214  'targets' => [ 'desktop', 'mobile' ],
2215  ],
2216  'mediawiki.ui.icon' => [
2217  'skinStyles' => [
2218  'default' => [
2219  'resources/src/mediawiki.ui/components/icons.less',
2220  ],
2221  ],
2222  'targets' => [ 'desktop', 'mobile' ],
2223  ],
2224  // Lightweight module for text styles
2225  'mediawiki.ui.text' => [
2226  'skinStyles' => [
2227  'default' => [
2228  'resources/src/mediawiki.ui/components/text.less',
2229  ],
2230  ],
2231  'targets' => [ 'desktop', 'mobile' ],
2232  ],
2233 
2234  'mediawiki.widgets' => [
2235  'scripts' => [
2236  'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
2237  'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.js',
2238  'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js',
2239  'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
2240  'resources/src/mediawiki.widgets/mw.widgets.TitleSearchWidget.js',
2241  'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.js',
2242  'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
2243  ],
2244  'skinStyles' => [
2245  'default' => [
2246  'resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less',
2247  ],
2248  ],
2249  'dependencies' => [
2250  'oojs-ui-widgets',
2251  'mediawiki.widgets.styles',
2252  // TitleInputWidget
2253  'mediawiki.Title',
2254  'mediawiki.api',
2255  'jquery.byteLimit',
2256  // TitleOptionWidget
2257  'jquery.highlightText',
2258  ],
2259  'messages' => [
2260  // NamespaceInputWidget
2261  'blanknamespace',
2262  'namespacesall',
2263  // TitleInputWidget
2264  'mw-widgets-titleinput-description-new-page',
2265  'mw-widgets-titleinput-description-redirect',
2266  ],
2267  'targets' => [ 'desktop', 'mobile' ],
2268  ],
2269  'mediawiki.widgets.styles' => [
2270  'skinStyles' => [
2271  'default' => [
2272  'resources/src/mediawiki.widgets/mw.widgets.ComplexNamespaceInputWidget.base.css',
2273  'resources/src/mediawiki.widgets/mw.widgets.ComplexTitleInputWidget.base.css',
2274  ],
2275  ],
2276  'targets' => [ 'desktop', 'mobile' ],
2277  ],
2278  'mediawiki.widgets.DateInputWidget' => [
2279  'scripts' => [
2280  'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.js',
2281  'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js',
2282  ],
2283  'skinStyles' => [
2284  'default' => [
2285  'resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less',
2286  'resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less',
2287  ],
2288  ],
2289  'messages' => [
2290  'mw-widgets-dateinput-no-date',
2291  'mw-widgets-dateinput-placeholder-day',
2292  'mw-widgets-dateinput-placeholder-month',
2293  ],
2294  'dependencies' => [
2295  'oojs-ui-widgets',
2296  'moment',
2297  ],
2298  'targets' => [ 'desktop', 'mobile' ],
2299  ],
2300  'mediawiki.widgets.datetime' => [
2301  'scripts' => [
2302  'resources/src/mediawiki.widgets.datetime/mediawiki.widgets.datetime.js',
2303  'resources/src/mediawiki.widgets.datetime/CalendarWidget.js',
2304  'resources/src/mediawiki.widgets.datetime/DateTimeFormatter.js',
2305  'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.js',
2306  'resources/src/mediawiki.widgets.datetime/ProlepticGregorianDateTimeFormatter.js',
2307  ],
2308  'skinStyles' => [
2309  'default' => [
2310  'resources/src/mediawiki.widgets.datetime/CalendarWidget.less',
2311  'resources/src/mediawiki.widgets.datetime/DateTimeInputWidget.less',
2312  ],
2313  ],
2314  'messages' => [
2315  'timezone-utc',
2316  'timezone-local',
2317  'january',
2318  'february',
2319  'march',
2320  'april',
2321  'may_long',
2322  'june',
2323  'july',
2324  'august',
2325  'september',
2326  'october',
2327  'november',
2328  'december',
2329  'jan',
2330  'feb',
2331  'mar',
2332  'apr',
2333  'may',
2334  'jun',
2335  'jul',
2336  'aug',
2337  'sep',
2338  'oct',
2339  'nov',
2340  'dec',
2341  'sunday',
2342  'monday',
2343  'tuesday',
2344  'wednesday',
2345  'thursday',
2346  'friday',
2347  'saturday',
2348  'sun',
2349  'mon',
2350  'tue',
2351  'wed',
2352  'thu',
2353  'fri',
2354  'sat',
2355  'period-am',
2356  'period-pm',
2357  ],
2358  'dependencies' => [
2359  'oojs-ui-core',
2360  ],
2361  'targets' => [ 'desktop', 'mobile' ],
2362  ],
2363  'mediawiki.widgets.CategorySelector' => [
2364  'deprecated' => 'Use "mw.widgets.CategoryMultiselectWidget" instead. See T161285.',
2365  'dependencies' => [
2366  'mediawiki.widgets.CategoryMultiselectWidget',
2367  ],
2368  ],
2369  'mediawiki.widgets.CategoryMultiselectWidget' => [
2370  'scripts' => [
2371  'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',
2372  'resources/src/mediawiki.widgets/mw.widgets.CategoryMultiselectWidget.js',
2373  ],
2374  'dependencies' => [
2375  'oojs-ui-widgets',
2376  'mediawiki.api',
2377  'mediawiki.ForeignApi',
2378  'mediawiki.Title',
2379  ],
2380  'messages' => [
2381  'red-link-title',
2382  'mw-widgets-categoryselector-add-category-placeholder',
2383  ],
2384  'targets' => [ 'desktop', 'mobile' ],
2385  ],
2386  'mediawiki.widgets.SelectWithInputWidget' => [
2387  'scripts' => 'resources/src/mediawiki.widgets/mw.widgets.SelectWithInputWidget.js',
2388  'dependencies' => [
2389  'mediawiki.widgets.SelectWithInputWidget.styles',
2390  'oojs-ui-widgets',
2391  ],
2392  'targets' => [ 'desktop', 'mobile' ],
2393  ],
2394  'mediawiki.widgets.SelectWithInputWidget.styles' => [
2395  'styles' => 'resources/src/mediawiki.widgets/mw.widgets.SelectWithInputWidget.base.css',
2396  'targets' => [ 'desktop', 'mobile' ],
2397  ],
2398  'mediawiki.widgets.MediaSearch' => [
2399  'scripts' => [
2400  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsProvider.js',
2401  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.APIResultsQueue.js',
2402  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceProvider.js',
2403  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchProvider.js',
2404  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResourceQueue.js',
2405  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchQueue.js',
2406  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.js',
2407  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js',
2408  ],
2409  'styles' => [
2410  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaSearchWidget.css',
2411  'resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.css',
2412  ],
2413  'dependencies' => [
2414  'oojs-ui-widgets',
2415  'mediawiki.ForeignApi',
2416  'mediawiki.Title',
2417  ],
2418  'messages' => [
2419  'mw-widgets-mediasearch-noresults',
2420  'mw-widgets-mediasearch-input-placeholder',
2421  ],
2422  'targets' => [ 'desktop', 'mobile' ],
2423  ],
2424  'mediawiki.widgets.UserInputWidget' => [
2425  'scripts' => [
2426  'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
2427  ],
2428  'dependencies' => [
2429  'oojs-ui-widgets',
2430  ],
2431  'targets' => [ 'desktop', 'mobile' ],
2432  ],
2433  'mediawiki.widgets.UsersMultiselectWidget' => [
2434  'scripts' => [
2435  'resources/src/mediawiki.widgets/mw.widgets.UsersMultiselectWidget.js',
2436  ],
2437  'dependencies' => [
2438  'oojs-ui-widgets',
2439  ],
2440  'targets' => [ 'desktop', 'mobile' ],
2441  ],
2442  'mediawiki.widgets.SearchInputWidget' => [
2443  'scripts' => [
2444  'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.js',
2445  ],
2446  'dependencies' => [
2447  'mediawiki.searchSuggest',
2448  // FIXME: Needs TitleInputWidget only
2449  'mediawiki.widgets',
2450  ],
2451  ],
2452  'mediawiki.widgets.SearchInputWidget.styles' => [
2453  'skinStyles' => [
2454  'default' => [
2455  'resources/src/mediawiki.widgets/mw.widgets.SearchInputWidget.css',
2456  ],
2457  ],
2458  'targets' => [ 'desktop', 'mobile' ],
2459  ],
2460  'mediawiki.widgets.StashedFileWidget' => [
2461  'scripts' => [
2462  'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.js',
2463  ],
2464  'skinStyles' => [
2465  'default' => [
2466  'resources/src/mediawiki.widgets/mw.widgets.StashedFileWidget.less',
2467  ],
2468  ],
2469  'dependencies' => [
2470  'oojs-ui-core',
2471  ],
2472  ],
2473 
2474  /* es5-shim */
2475  'es5-shim' => [
2476  'deprecated' => 'Use of the "es5-shim" module is deprecated since MediaWiki 1.29.0',
2477  'targets' => [ 'desktop', 'mobile' ],
2478  ],
2479 
2480  /* dom-level2-shim */
2481  'dom-level2-shim' => [
2482  'deprecated' => 'Use of the "dom-level2-shim" module is deprecated since MediaWiki 1.29.0',
2483  'targets' => [ 'desktop', 'mobile' ],
2484  ],
2485 
2486  /* OOjs */
2487  'oojs' => [
2488  'scripts' => [
2489  'resources/lib/oojs/oojs.jquery.js',
2490  'resources/src/oojs-global.js',
2491  ],
2492  'targets' => [ 'desktop', 'mobile' ],
2493  ],
2494 
2495  'mediawiki.router' => [
2496  'scripts' => [
2497  'resources/src/mediawiki.router/index.js',
2498  ],
2499  'targets' => [ 'desktop', 'mobile' ],
2500  'dependencies' => [
2501  'oojs-router',
2502  ],
2503  ],
2504 
2505  'oojs-router' => [
2506  'scripts' => [
2507  'resources/lib/oojs-router/oojs-router.js',
2508  ],
2509  'targets' => [ 'desktop', 'mobile' ],
2510  'dependencies' => [
2511  'oojs',
2512  ],
2513  ],
2514 
2515  /* OOjs UI */
2516  // @see ResourcesOOUI.php
2517 ];
KIND
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following WITHOUT WARRANTY OF ANY KIND
Definition: LICENSE-MIT.txt:5
free
Apache License January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object generated and conversions to other media types Work shall mean the work of whether in Source or Object made available under the as indicated by a copyright notice that is included in or attached to the whether in Source or Object that is based or other modifications as a an original work of authorship For the purposes of this Derivative Works shall not include works that remain separable or merely the Work and Derivative Works thereof Contribution shall mean any work of including the original version of the Work and any modifications or additions to that Work or Derivative Works that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner For the purposes of this submitted means any form of or written communication sent to the Licensor or its including but not limited to communication on electronic mailing source code control and issue tracking systems that are managed or on behalf the Licensor for the purpose of discussing and improving the but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as Not a Contribution Contributor shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work Grant of Copyright License Subject to the terms and conditions of this each Contributor hereby grants to You a non no royalty free
Definition: APACHE-LICENSE-2.0.txt:49
limitation
within a display generated by the Derivative if and wherever such third party notices normally appear The contents of the NOTICE file are for informational purposes only and do not modify the License You may add Your own attribution notices within Derivative Works that You alongside or as an addendum to the NOTICE text from the provided that such additional attribution notices cannot be construed as modifying the License You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for or distribution of Your or for any such Derivative Works as a provided Your and distribution of the Work otherwise complies with the conditions stated in this License Submission of Contributions Unless You explicitly state any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this without any additional terms or conditions Notwithstanding the nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions Trademarks This License does not grant permission to use the trade service or product names of the except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file Disclaimer of Warranty Unless required by applicable law or agreed to in Licensor provides the WITHOUT WARRANTIES OR CONDITIONS OF ANY either express or without limitation
Definition: APACHE-LICENSE-2.0.txt:147
restriction
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without restriction
Definition: LICENSE-MIT.txt:5
Language\$mMonthAbbrevMsgs
static $mMonthAbbrevMsgs
Definition: Language.php:83
publish
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to publish
Definition: LICENSE-MIT.txt:5
is
We use the convention $dbr for read and $dbw for write to help you keep track of whether the database object is a the world will explode Or to be a subsequent write query which succeeded on the master may fail when replicated to the slave due to a unique key collision Replication on the slave will stop and it may take hours to repair the database and get it back online Setting read_only in my cnf on the slave will avoid this but given the dire we prefer to have as many checks as possible We provide a but the wrapper functions like please read the documentation for except in special pages derived from QueryPage It s a common pitfall for new developers to submit code containing SQL queries which examine huge numbers of rows Remember that COUNT * is(N), counting rows in atable is like counting beans in a bucket.------------------------------------------------------------------------ Replication------------------------------------------------------------------------The largest installation of MediaWiki, Wikimedia, uses a large set ofslave MySQL servers replicating writes made to a master MySQL server. Itis important to understand the issues associated with this setup if youwant to write code destined for Wikipedia.It 's often the case that the best algorithm to use for a given taskdepends on whether or not replication is in use. Due to our unabashedWikipedia-centrism, we often just use the replication-friendly version, but if you like, you can use wfGetLB() ->getServerCount() > 1 tocheck to see if replication is in use.===Lag===Lag primarily occurs when large write queries are sent to the master.Writes on the master are executed in parallel, but they are executed inserial when they are replicated to the slaves. The master writes thequery to the binlog when the transaction is committed. The slaves pollthe binlog and start executing the query as soon as it appears. They canservice reads while they are performing a write query, but will not readanything more from the binlog and thus will perform no more writes. Thismeans that if the write query runs for a long time, the slaves will lagbehind the master for the time it takes for the write query to complete.Lag can be exacerbated by high read load. MediaWiki 's load balancer willstop sending reads to a slave when it is lagged by more than 30 seconds.If the load ratios are set incorrectly, or if there is too much loadgenerally, this may lead to a slave permanently hovering around 30seconds lag.If all slaves are lagged by more than 30 seconds, MediaWiki will stopwriting to the database. All edits and other write operations will berefused, with an error returned to the user. This gives the slaves achance to catch up. Before we had this mechanism, the slaves wouldregularly lag by several minutes, making review of recent editsdifficult.In addition to this, MediaWiki attempts to ensure that the user seesevents occurring on the wiki in chronological order. A few seconds of lagcan be tolerated, as long as the user sees a consistent picture fromsubsequent requests. This is done by saving the master binlog positionin the session, and then at the start of each request, waiting for theslave to catch up to that position before doing any reads from it. Ifthis wait times out, reads are allowed anyway, but the request isconsidered to be in "lagged slave mode". Lagged slave mode can bechecked by calling wfGetLB() ->getLaggedSlaveMode(). The onlypractical consequence at present is a warning displayed in the pagefooter.===Lag avoidance===To avoid excessive lag, queries which write large numbers of rows shouldbe split up, generally to write one row at a time. Multi-row INSERT ...SELECT queries are the worst offenders should be avoided altogether.Instead do the select first and then the insert.===Working with lag===Despite our best efforts, it 's not practical to guarantee a low-lagenvironment. Lag will usually be less than one second, but mayoccasionally be up to 30 seconds. For scalability, it 's very importantto keep load on the master low, so simply sending all your queries tothe master is not the answer. So when you have a genuine need forup-to-date data, the following approach is advised:1) Do a quick query to the master for a sequence number or timestamp 2) Run the full query on the slave and check if it matches the data you gotfrom the master 3) If it doesn 't, run the full query on the masterTo avoid swamping the master every time the slaves lag, use of thisapproach should be kept to a minimum. In most cases you should just readfrom the slave and let the user deal with the delay.------------------------------------------------------------------------ Lock contention------------------------------------------------------------------------Due to the high write rate on Wikipedia(and some other wikis), MediaWiki developers need to be very careful to structure their writesto avoid long-lasting locks. By default, MediaWiki opens a transactionat the first query, and commits it before the output is sent. Locks willbe held from the time when the query is done until the commit. So youcan reduce lock time by doing as much processing as possible before youdo your write queries.Often this approach is not good enough, and it becomes necessary toenclose small groups of queries in their own transaction. Use thefollowing syntax:$dbw=wfGetDB(DB_MASTER
OTHERWISE
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following WITHOUT WARRANTY OF ANY EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR OTHERWISE
Definition: LICENSE-MIT.txt:5
Language\$mMonthGenMsgs
static $mMonthGenMsgs
Definition: Language.php:78
including
within a display generated by the Derivative if and wherever such third party notices normally appear The contents of the NOTICE file are for informational purposes only and do not modify the License You may add Your own attribution notices within Derivative Works that You alongside or as an addendum to the NOTICE text from the provided that such additional attribution notices cannot be construed as modifying the License You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for or distribution of Your or for any such Derivative Works as a provided Your and distribution of the Work otherwise complies with the conditions stated in this License Submission of Contributions Unless You explicitly state any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this without any additional terms or conditions Notwithstanding the nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions Trademarks This License does not grant permission to use the trade service or product names of the except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file Disclaimer of Warranty Unless required by applicable law or agreed to in Licensor provides the WITHOUT WARRANTIES OR CONDITIONS OF ANY either express or including
Definition: APACHE-LICENSE-2.0.txt:147
software
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the software
Definition: COPYING.txt:28
files
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation files(the "Software")
MERCHANTABILITY
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following WITHOUT WARRANTY OF ANY EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
Definition: LICENSE-MIT.txt:5
php
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
Definition: injection.txt:35
a
</source > ! result< div class="mw-highlight mw-content-ltr" dir="ltr">< pre >< span ></span >< span class="kd"> var</span >< span class="nx"> a</span >< span class="p"></span ></pre ></div > ! end ! test Multiline< source/> in lists !input *< source > a b</source > *foo< source > a b</source > ! html< ul >< li >< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul >< ul >< li > foo< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul > ! html tidy< ul >< li >< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul >< ul >< li > foo< div class="mw-highlight mw-content-ltr" dir="ltr">< pre > a b</pre ></div ></li ></ul > ! end ! test Custom attributes !input< source lang="javascript" id="foo" class="bar" dir="rtl" style="font-size: larger;"> var a
Definition: parserTests.txt:89
FROM
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following WITHOUT WARRANTY OF ANY EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR ARISING FROM
Definition: LICENSE-MIT.txt:5
modify
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to modify
Definition: LICENSE-MIT.txt:5
sell
Apache License January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object generated and conversions to other media types Work shall mean the work of whether in Source or Object made available under the as indicated by a copyright notice that is included in or attached to the whether in Source or Object that is based or other modifications as a an original work of authorship For the purposes of this Derivative Works shall not include works that remain separable or merely the Work and Derivative Works thereof Contribution shall mean any work of including the original version of the Work and any modifications or additions to that Work or Derivative Works that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner For the purposes of this submitted means any form of or written communication sent to the Licensor or its including but not limited to communication on electronic mailing source code control and issue tracking systems that are managed or on behalf the Licensor for the purpose of discussing and improving the but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as Not a Contribution Contributor shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work Grant of Copyright License Subject to the terms and conditions of this each Contributor hereby grants to You a non no royalty irrevocable copyright license to prepare Derivative Works publicly publicly and distribute the Work and such Derivative Works in Source or Object form Grant of Patent License Subject to the terms and conditions of this each Contributor hereby grants to You a non no royalty have offer to sell
Definition: APACHE-LICENSE-2.0.txt:77
INCLUDING
we sometimes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally NO WARRANTY BECAUSE THE PROGRAM IS LICENSED FREE OF THERE IS NO WARRANTY FOR THE TO THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND OR OTHER PARTIES PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY EITHER EXPRESSED OR INCLUDING
Definition: COPYING.txt:260
CLAIM
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following WITHOUT WARRANTY OF ANY EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM
Definition: LICENSE-MIT.txt:5
copyright
in the Source form of any Derivative Works that You all copyright
Definition: APACHE-LICENSE-2.0.txt:102
in
null for the wiki Added in
Definition: hooks.txt:1572
merge
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to merge
Definition: LICENSE-MIT.txt:5
Language\$mMonthMsgs
static $mMonthMsgs
Definition: Language.php:73
TO
we sometimes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally NO WARRANTY BECAUSE THE PROGRAM IS LICENSED FREE OF THERE IS NO WARRANTY FOR THE TO THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND OR OTHER PARTIES PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY EITHER EXPRESSED OR BUT NOT LIMITED TO
Definition: COPYING.txt:260
WARRANTY
either version of the but WITHOUT ANY WARRANTY
Definition: COPYING.txt:302
CONTRACT
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following WITHOUT WARRANTY OF ANY EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF CONTRACT
Definition: LICENSE-MIT.txt:5
rights
and that you know you can do these things To protect your rights
Definition: COPYING.txt:28
Copyright
GNU GENERAL PUBLIC LICENSE June Copyright(C) 1989
$GLOBALS
$GLOBALS['wgAutoloadClasses']['LocalisationUpdate']
Definition: Autoload.php:10
LIABILITY
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following WITHOUT WARRANTY OF ANY EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY
Definition: LICENSE-MIT.txt:5
IMPLIED
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following WITHOUT WARRANTY OF ANY EXPRESS OR IMPLIED
Definition: LICENSE-MIT.txt:5
Software
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the Software
Definition: LICENSE-MIT.txt:5
granted
Copyright jquery client maintainers and other contributors Permission is hereby granted
Definition: LICENSE-MIT.txt:3
or
or
Definition: COPYING.txt:140
any
they could even be mouse clicks or menu items whatever suits your program You should also get your if any
Definition: COPYING.txt:326
above
and give any other recipients of the Program a copy of this License along with the Program You may charge a fee for the physical act of transferring a and you may at your option offer warranty protection in exchange for a fee You may modify your copy or copies of the Program or any portion of thus forming a work based on the and copy and distribute such modifications or work under the terms of Section above
Definition: COPYING.txt:87
following
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory if not default do this many per batch HOW TO WRITE YOUR OWN Make a file in the maintenance directory called myScript php or something In write the following
Definition: maintenance.txt:1
documentation
Apache License January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object generated documentation
Definition: APACHE-LICENSE-2.0.txt:28
copy
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to copy
Definition: LICENSE-MIT.txt:5
and
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
other
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring which defines all default service and specifies how they depend on each other("wiring"). When a new service is added to MediaWiki core
DAMAGES
we sometimes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally NO WARRANTY BECAUSE THE PROGRAM IS LICENSED FREE OF THERE IS NO WARRANTY FOR THE TO THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND OR OTHER PARTIES PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY EITHER EXPRESSED OR BUT NOT LIMITED THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU SHOULD THE PROGRAM PROVE YOU ASSUME THE COST OF ALL NECESSARY REPAIR OR CORRECTION IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT OR ANY OTHER PARTY WHO MAY MODIFY AND OR REDISTRIBUTE THE PROGRAM AS PERMITTED BE LIABLE TO YOU FOR DAMAGES
Definition: COPYING.txt:260
distribute
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to distribute
Definition: LICENSE-MIT.txt:5
of
globals txt Globals are evil The original MediaWiki code relied on globals for processing context far too often MediaWiki development since then has been a story of slowly moving context out of global variables and into objects Storing processing context in object member variables allows those objects to be reused in a much more flexible way Consider the elegance of
Definition: globals.txt:10
conditions
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do subject to the following conditions
Definition: LICENSE-MIT.txt:5
sublicense
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to sublicense
Definition: LICENSE-MIT.txt:5
use
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use
Definition: LICENSE-MIT.txt:5
copies
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is and will automatically terminate your rights under this License parties who have received copies
Definition: COPYING.txt:162
charge
Copyright jquery client maintainers and other contributors Permission is hereby free of charge
Definition: LICENSE-MIT.txt:3
so
Copyright jquery client maintainers and other contributors Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to and or sell copies of the and to permit persons to whom the Software is furnished to do so
Definition: LICENSE-MIT.txt:5