MediaWiki  REL1_22
Resources.php
Go to the documentation of this file.
00001 <?php
00023 if ( !defined( 'MEDIAWIKI' ) ) {
00024     die( 'Not an entry point.' );
00025 }
00026 
00027 return array(
00028 
00033     // Scripts managed by the local wiki (stored in the MediaWiki namespace)
00034     'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
00035     'noscript' => array( 'class' => 'ResourceLoaderNoscriptModule' ),
00036     'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
00037     'filepage' => array( 'class' => 'ResourceLoaderFilePageModule' ),
00038     'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
00039 
00040     // Scripts managed by the current user (stored in their user space)
00041     'user' => array( 'class' => 'ResourceLoaderUserModule' ),
00042 
00043     // Scripts generated based on the current user's preferences
00044     'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
00045 
00046     // Populate mediawiki.user placeholders with information about the current user
00047     'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
00048     'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
00049 
00050     // Scripts for the dynamic language specific data, like grammar forms.
00051     'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
00052 
00063     'skins.cologneblue' => array(
00064         'styles' => array(
00065             'cologneblue/screen.css' => array( 'media' => 'screen' ),
00066             'cologneblue/print.css' => array( 'media' => 'print' ),
00067         ),
00068         'remoteBasePath' => $GLOBALS['wgStylePath'],
00069         'localBasePath' => $GLOBALS['wgStyleDirectory'],
00070     ),
00071     'skins.modern' => array(
00072         'styles' => array(
00073             'modern/main.css' => array( 'media' => 'screen' ),
00074             'modern/print.css' => array( 'media' => 'print' ),
00075         ),
00076         'remoteBasePath' => $GLOBALS['wgStylePath'],
00077         'localBasePath' => $GLOBALS['wgStyleDirectory'],
00078     ),
00079     'skins.monobook' => array(
00080         'styles' => array(
00081             'common/commonElements.css' => array( 'media' => 'screen' ),
00082             'common/commonContent.css' => array( 'media' => 'screen' ),
00083             'common/commonInterface.css' => array( 'media' => 'screen' ),
00084             'monobook/main.css' => array( 'media' => 'screen' ),
00085         ),
00086         'remoteBasePath' => $GLOBALS['wgStylePath'],
00087         'localBasePath' => $GLOBALS['wgStyleDirectory'],
00088     ),
00089     'skins.vector' => array(
00090         // Used in the web installer. Test it after modifying this definition!
00091         'styles' => array(
00092             'common/commonElements.css' => array( 'media' => 'screen' ),
00093             'common/commonContent.css' => array( 'media' => 'screen' ),
00094             'common/commonInterface.css' => array( 'media' => 'screen' ),
00095             'vector/styles.less',
00096         ),
00097         'remoteBasePath' => $GLOBALS['wgStylePath'],
00098         'localBasePath' => $GLOBALS['wgStyleDirectory'],
00099     ),
00100     'skins.vector.beta' => array(
00101         // Keep in sync with skins.vector
00102         'styles' => array(
00103             'common/commonElements.css' => array( 'media' => 'screen' ),
00104             'common/commonContent.css' => array( 'media' => 'screen' ),
00105             'common/commonInterface.css' => array( 'media' => 'screen' ),
00106             'vector/styles-beta.less',
00107         ),
00108         'remoteBasePath' => $GLOBALS['wgStylePath'],
00109         'localBasePath' => $GLOBALS['wgStyleDirectory'],
00110     ),
00111     'skins.vector.js' => array(
00112         'scripts' => array(
00113             'vector/collapsibleTabs.js',
00114             'vector/vector.js',
00115         ),
00116         'position' => 'top',
00117         'dependencies' => 'jquery.delayedBind',
00118         'remoteBasePath' => $GLOBALS['wgStylePath'],
00119         'localBasePath' => $GLOBALS['wgStyleDirectory'],
00120     ),
00121     'skins.vector.collapsibleNav' => array(
00122         'scripts' => array(
00123             'vector/collapsibleNav.js',
00124         ),
00125         'messages' => array(
00126             'vector-collapsiblenav-more',
00127         ),
00128         'dependencies' => array(
00129             'jquery.client',
00130             'jquery.cookie',
00131             'jquery.tabIndex',
00132         ),
00133         'remoteBasePath' => $GLOBALS['wgStylePath'],
00134         'localBasePath' => $GLOBALS['wgStyleDirectory'],
00135         'position' => 'bottom',
00136     ),
00137 
00138     /* jQuery */
00139 
00140     'jquery' => array(
00141         'scripts' => 'resources/jquery/jquery.js',
00142         'debugRaw' => false,
00143         'targets' => array( 'desktop', 'mobile' ),
00144     ),
00145 
00146     /* jQuery Plugins */
00147 
00148     'jquery.appear' => array(
00149         'scripts' => 'resources/jquery/jquery.appear.js',
00150     ),
00151     'jquery.arrowSteps' => array(
00152         'scripts' => 'resources/jquery/jquery.arrowSteps.js',
00153         'styles' => 'resources/jquery/jquery.arrowSteps.css',
00154     ),
00155     'jquery.async' => array(
00156         'scripts' => 'resources/jquery/jquery.async.js',
00157     ),
00158     'jquery.autoEllipsis' => array(
00159         'scripts' => 'resources/jquery/jquery.autoEllipsis.js',
00160         'dependencies' => 'jquery.highlightText',
00161     ),
00162     'jquery.badge' => array(
00163         'scripts' => 'resources/jquery/jquery.badge.js',
00164         'styles' => 'resources/jquery/jquery.badge.css',
00165         'dependencies' => 'mediawiki.language',
00166     ),
00167     'jquery.byteLength' => array(
00168         'scripts' => 'resources/jquery/jquery.byteLength.js',
00169         'targets' => array( 'desktop', 'mobile' ),
00170     ),
00171     'jquery.byteLimit' => array(
00172         'scripts' => 'resources/jquery/jquery.byteLimit.js',
00173         'dependencies' => 'jquery.byteLength',
00174     ),
00175     'jquery.checkboxShiftClick' => array(
00176         'scripts' => 'resources/jquery/jquery.checkboxShiftClick.js',
00177         'targets' => array( 'desktop', 'mobile' ),
00178     ),
00179     'jquery.chosen' => array(
00180         'scripts' => 'resources/jquery.chosen/chosen.jquery.js',
00181         'styles' => 'resources/jquery.chosen/chosen.css',
00182     ),
00183     'jquery.client' => array(
00184         'scripts' => 'resources/jquery/jquery.client.js',
00185         'targets' => array( 'desktop', 'mobile' ),
00186     ),
00187     'jquery.color' => array(
00188         'scripts' => 'resources/jquery/jquery.color.js',
00189         'dependencies' => 'jquery.colorUtil',
00190     ),
00191     'jquery.colorUtil' => array(
00192         'scripts' => 'resources/jquery/jquery.colorUtil.js',
00193     ),
00194     'jquery.cookie' => array(
00195         'scripts' => 'resources/jquery/jquery.cookie.js',
00196         'targets' => array( 'desktop', 'mobile' ),
00197     ),
00198     'jquery.delayedBind' => array(
00199         'scripts' => 'resources/jquery/jquery.delayedBind.js',
00200     ),
00201     'jquery.expandableField' => array(
00202         'scripts' => 'resources/jquery/jquery.expandableField.js',
00203         'dependencies' => 'jquery.delayedBind',
00204     ),
00205     'jquery.farbtastic' => array(
00206         'scripts' => 'resources/jquery/jquery.farbtastic.js',
00207         'styles' => 'resources/jquery/jquery.farbtastic.css',
00208         'dependencies' => 'jquery.colorUtil',
00209     ),
00210     'jquery.footHovzer' => array(
00211         'scripts' => 'resources/jquery/jquery.footHovzer.js',
00212         'styles' => 'resources/jquery/jquery.footHovzer.css',
00213     ),
00214     'jquery.form' => array(
00215         'scripts' => 'resources/jquery/jquery.form.js',
00216     ),
00217     'jquery.getAttrs' => array(
00218         'scripts' => 'resources/jquery/jquery.getAttrs.js',
00219         'targets' => array( 'desktop', 'mobile' ),
00220     ),
00221     'jquery.hidpi' => array(
00222         'scripts' => 'resources/jquery/jquery.hidpi.js',
00223         'targets' => array( 'desktop', 'mobile' ),
00224     ),
00225     'jquery.highlightText' => array(
00226         'scripts' => 'resources/jquery/jquery.highlightText.js',
00227         'dependencies' => 'jquery.mwExtension',
00228     ),
00229     'jquery.hoverIntent' => array(
00230         'scripts' => 'resources/jquery/jquery.hoverIntent.js',
00231     ),
00232     'jquery.json' => array(
00233         'scripts' => 'resources/jquery/jquery.json.js',
00234         'targets' => array( 'mobile', 'desktop' ),
00235     ),
00236     'jquery.localize' => array(
00237         'scripts' => 'resources/jquery/jquery.localize.js',
00238     ),
00239     'jquery.makeCollapsible' => array(
00240         'scripts' => 'resources/jquery/jquery.makeCollapsible.js',
00241         'styles' => 'resources/jquery/jquery.makeCollapsible.css',
00242         'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
00243         'targets' => array( 'desktop', 'mobile' ),
00244     ),
00245     'jquery.mockjax' => array(
00246         'scripts' => 'resources/jquery/jquery.mockjax.js',
00247     ),
00248     'jquery.mw-jump' => array(
00249         'scripts' => 'resources/jquery/jquery.mw-jump.js',
00250         'targets' => array( 'desktop', 'mobile' ),
00251     ),
00252     'jquery.mwExtension' => array(
00253         'scripts' => 'resources/jquery/jquery.mwExtension.js',
00254         'targets' => array( 'desktop', 'mobile' ),
00255     ),
00256     'jquery.placeholder' => array(
00257         'scripts' => 'resources/jquery/jquery.placeholder.js',
00258         'targets' => array( 'desktop', 'mobile' ),
00259     ),
00260     'jquery.qunit' => array(
00261         'scripts' => 'resources/jquery/jquery.qunit.js',
00262         'styles' => 'resources/jquery/jquery.qunit.css',
00263         'position' => 'top',
00264         'targets' => array( 'desktop', 'mobile' ),
00265     ),
00266     'jquery.qunit.completenessTest' => array(
00267         'scripts' => 'resources/jquery/jquery.qunit.completenessTest.js',
00268         'dependencies' => 'jquery.qunit',
00269         'targets' => array( 'desktop', 'mobile' ),
00270     ),
00271     'jquery.spinner' => array(
00272         'scripts' => 'resources/jquery/jquery.spinner.js',
00273         'styles' => 'resources/jquery/jquery.spinner.css',
00274     ),
00275     'jquery.jStorage' => array(
00276         'scripts' => 'resources/jquery/jquery.jStorage.js',
00277         'dependencies' => 'jquery.json',
00278     ),
00279     'jquery.suggestions' => array(
00280         'scripts' => 'resources/jquery/jquery.suggestions.js',
00281         'styles' => 'resources/jquery/jquery.suggestions.css',
00282         'dependencies' => 'jquery.autoEllipsis',
00283     ),
00284     'jquery.tabIndex' => array(
00285         'scripts' => 'resources/jquery/jquery.tabIndex.js',
00286     ),
00287     'jquery.tablesorter' => array(
00288         'scripts' => 'resources/jquery/jquery.tablesorter.js',
00289         'styles' => 'resources/jquery/jquery.tablesorter.css',
00290         'messages' => array( 'sort-descending', 'sort-ascending' ),
00291         'dependencies' => array(
00292             'jquery.mwExtension',
00293             'mediawiki.language.months',
00294         ),
00295     ),
00296     'jquery.textSelection' => array(
00297         'scripts' => 'resources/jquery/jquery.textSelection.js',
00298         'dependencies' => 'jquery.client',
00299     ),
00300     'jquery.validate' => array(
00301         'scripts' => 'resources/jquery/jquery.validate.js',
00302     ),
00303     'jquery.xmldom' => array(
00304         'scripts' => 'resources/jquery/jquery.xmldom.js',
00305     ),
00306 
00307     /* jQuery Tipsy */
00308 
00309     'jquery.tipsy' => array(
00310         'scripts' => 'resources/jquery.tipsy/jquery.tipsy.js',
00311         'styles' => 'resources/jquery.tipsy/jquery.tipsy.css',
00312     ),
00313 
00314     /* jQuery UI */
00315 
00316     // Core
00317     'jquery.ui.core' => array(
00318         'scripts' => 'resources/jquery.ui/jquery.ui.core.js',
00319         'skinStyles' => array(
00320             'default' => array(
00321                 'resources/jquery.ui/themes/default/jquery.ui.core.css',
00322                 'resources/jquery.ui/themes/default/jquery.ui.theme.css',
00323             ),
00324             'vector' => array(
00325                 'resources/jquery.ui/themes/vector/jquery.ui.core.css',
00326                 'resources/jquery.ui/themes/vector/jquery.ui.theme.css',
00327             ),
00328         ),
00329         'dependencies' => 'jquery',
00330         'group' => 'jquery.ui',
00331     ),
00332     'jquery.ui.widget' => array(
00333         'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
00334         'group' => 'jquery.ui',
00335     ),
00336     'jquery.ui.mouse' => array(
00337         'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
00338         'dependencies' => 'jquery.ui.widget',
00339         'group' => 'jquery.ui',
00340     ),
00341     'jquery.ui.position' => array(
00342         'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
00343         'group' => 'jquery.ui',
00344     ),
00345     // Interactions
00346     'jquery.ui.draggable' => array(
00347         'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
00348         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
00349         'group' => 'jquery.ui',
00350     ),
00351     'jquery.ui.droppable' => array(
00352         'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
00353         'dependencies' => array(
00354             'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
00355         ),
00356         'group' => 'jquery.ui',
00357     ),
00358     'jquery.ui.resizable' => array(
00359         'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
00360         'skinStyles' => array(
00361             'default' => 'resources/jquery.ui/themes/default/jquery.ui.resizable.css',
00362             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
00363         ),
00364         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
00365         'group' => 'jquery.ui',
00366     ),
00367     'jquery.ui.selectable' => array(
00368         'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
00369         'skinStyles' => array(
00370             'default' => 'resources/jquery.ui/themes/default/jquery.ui.selectable.css',
00371             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
00372         ),
00373         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
00374         'group' => 'jquery.ui',
00375     ),
00376     'jquery.ui.sortable' => array(
00377         'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
00378         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
00379         'group' => 'jquery.ui',
00380     ),
00381     // Widgets
00382     'jquery.ui.accordion' => array(
00383         'scripts' => 'resources/jquery.ui/jquery.ui.accordion.js',
00384         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
00385         'skinStyles' => array(
00386             'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
00387             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
00388         ),
00389         'group' => 'jquery.ui',
00390     ),
00391     'jquery.ui.autocomplete' => array(
00392         'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
00393         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
00394         'skinStyles' => array(
00395             'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
00396             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
00397         ),
00398         'group' => 'jquery.ui',
00399     ),
00400     'jquery.ui.button' => array(
00401         'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
00402         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
00403         'skinStyles' => array(
00404             'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
00405             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
00406         ),
00407         'group' => 'jquery.ui',
00408     ),
00409     'jquery.ui.datepicker' => array(
00410         'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
00411         'dependencies' => 'jquery.ui.core',
00412         'skinStyles' => array(
00413             'default' => 'resources/jquery.ui/themes/default/jquery.ui.datepicker.css',
00414             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.datepicker.css',
00415         ),
00416         'languageScripts' => array(
00417             'af' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-af.js',
00418             'ar' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
00419             'az' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-az.js',
00420             'bg' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
00421             'bs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
00422             'ca' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
00423             'cs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
00424             'da' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-da.js',
00425             'de' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-de.js',
00426             'el' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-el.js',
00427             'en-gb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
00428             'eo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
00429             'es' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-es.js',
00430             'et' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-et.js',
00431             'eu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
00432             'fa' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
00433             'fi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
00434             'fo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
00435             'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
00436             'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
00437             'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
00438             'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
00439             'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
00440             'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
00441             'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
00442             'id' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-id.js',
00443             'is' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-is.js',
00444             'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
00445             'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
00446             'ka' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
00447             'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
00448             'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
00449             'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
00450             'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
00451             'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
00452             'lv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
00453             'mk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
00454             'ml' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
00455             'ms' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
00456             'nl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
00457             'no' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-no.js',
00458             'pl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
00459             'pt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
00460             'pt-br' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
00461             'rm' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
00462             'ro' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
00463             'ru' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
00464             'sk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
00465             'sl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
00466             'sq' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
00467             'sr-sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
00468             'sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
00469             'sv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
00470             'ta' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
00471             'th' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-th.js',
00472             'tr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
00473             'uk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
00474             'vi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
00475             'zh-cn' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
00476             'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
00477             'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
00478         ),
00479         'group' => 'jquery.ui',
00480     ),
00481     'jquery.ui.dialog' => array(
00482         'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
00483         'dependencies' => array(
00484             'jquery.ui.core',
00485             'jquery.ui.widget',
00486             'jquery.ui.button',
00487             'jquery.ui.draggable',
00488             'jquery.ui.mouse',
00489             'jquery.ui.position',
00490             'jquery.ui.resizable',
00491         ),
00492         'skinStyles' => array(
00493             'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
00494             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
00495         ),
00496         'group' => 'jquery.ui',
00497     ),
00498     'jquery.ui.progressbar' => array(
00499         'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
00500         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
00501         'skinStyles' => array(
00502             'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
00503             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
00504         ),
00505         'group' => 'jquery.ui',
00506     ),
00507     'jquery.ui.slider' => array(
00508         'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
00509         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
00510         'skinStyles' => array(
00511             'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
00512             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
00513         ),
00514         'group' => 'jquery.ui',
00515     ),
00516     'jquery.ui.tabs' => array(
00517         'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
00518         'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
00519         'skinStyles' => array(
00520             'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
00521             'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
00522         ),
00523         'group' => 'jquery.ui',
00524     ),
00525     // Effects
00526     'jquery.effects.core' => array(
00527         'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
00528         'dependencies' => 'jquery',
00529         'group' => 'jquery.ui',
00530     ),
00531     'jquery.effects.blind' => array(
00532         'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
00533         'dependencies' => 'jquery.effects.core',
00534         'group' => 'jquery.ui',
00535     ),
00536     'jquery.effects.bounce' => array(
00537         'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
00538         'dependencies' => 'jquery.effects.core',
00539         'group' => 'jquery.ui',
00540     ),
00541     'jquery.effects.clip' => array(
00542         'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
00543         'dependencies' => 'jquery.effects.core',
00544         'group' => 'jquery.ui',
00545     ),
00546     'jquery.effects.drop' => array(
00547         'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
00548         'dependencies' => 'jquery.effects.core',
00549         'group' => 'jquery.ui',
00550     ),
00551     'jquery.effects.explode' => array(
00552         'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
00553         'dependencies' => 'jquery.effects.core',
00554         'group' => 'jquery.ui',
00555     ),
00556     'jquery.effects.fade' => array(
00557         'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
00558         'dependencies' => 'jquery.effects.core',
00559         'group' => 'jquery.ui',
00560     ),
00561     'jquery.effects.fold' => array(
00562         'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
00563         'dependencies' => 'jquery.effects.core',
00564         'group' => 'jquery.ui',
00565     ),
00566     'jquery.effects.highlight' => array(
00567         'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
00568         'dependencies' => 'jquery.effects.core',
00569         'group' => 'jquery.ui',
00570     ),
00571     'jquery.effects.pulsate' => array(
00572         'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
00573         'dependencies' => 'jquery.effects.core',
00574         'group' => 'jquery.ui',
00575     ),
00576     'jquery.effects.scale' => array(
00577         'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
00578         'dependencies' => 'jquery.effects.core',
00579         'group' => 'jquery.ui',
00580     ),
00581     'jquery.effects.shake' => array(
00582         'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
00583         'dependencies' => 'jquery.effects.core',
00584         'group' => 'jquery.ui',
00585     ),
00586     'jquery.effects.slide' => array(
00587         'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
00588         'dependencies' => 'jquery.effects.core',
00589         'group' => 'jquery.ui',
00590     ),
00591     'jquery.effects.transfer' => array(
00592         'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
00593         'dependencies' => 'jquery.effects.core',
00594         'group' => 'jquery.ui',
00595     ),
00596 
00597     /* MediaWiki */
00598 
00599     'mediawiki' => array(
00600         'scripts' => 'resources/mediawiki/mediawiki.js',
00601         'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
00602         'debugRaw' => false,
00603         'targets' => array( 'desktop', 'mobile' ),
00604     ),
00605     'mediawiki.api' => array(
00606         'scripts' => 'resources/mediawiki.api/mediawiki.api.js',
00607         'dependencies' => 'mediawiki.util',
00608     ),
00609     'mediawiki.api.category' => array(
00610         'scripts' => 'resources/mediawiki.api/mediawiki.api.category.js',
00611         'dependencies' => array(
00612             'mediawiki.api',
00613             'mediawiki.Title',
00614         ),
00615     ),
00616     'mediawiki.api.edit' => array(
00617         'scripts' => 'resources/mediawiki.api/mediawiki.api.edit.js',
00618         'dependencies' => array(
00619             'mediawiki.api',
00620             'mediawiki.Title',
00621         ),
00622     ),
00623     'mediawiki.api.login' => array(
00624         'scripts' => 'resources/mediawiki.api/mediawiki.api.login.js',
00625         'dependencies' => array(
00626             'mediawiki.api',
00627         ),
00628     ),
00629     'mediawiki.api.parse' => array(
00630         'scripts' => 'resources/mediawiki.api/mediawiki.api.parse.js',
00631         'dependencies' => 'mediawiki.api',
00632     ),
00633     'mediawiki.api.watch' => array(
00634         'scripts' => 'resources/mediawiki.api/mediawiki.api.watch.js',
00635         'dependencies' => array(
00636             'mediawiki.api',
00637             'user.tokens',
00638         ),
00639     ),
00640     'mediawiki.icon' => array(
00641         'styles' => 'resources/mediawiki/mediawiki.icon.css',
00642     ),
00643     'mediawiki.debug' => array(
00644         'scripts' => 'resources/mediawiki/mediawiki.debug.js',
00645         'styles' => 'resources/mediawiki/mediawiki.debug.css',
00646         'dependencies' => 'jquery.footHovzer',
00647         'position' => 'bottom',
00648     ),
00649     'mediawiki.debug.init' => array(
00650         'scripts' => 'resources/mediawiki/mediawiki.debug.init.js',
00651         'dependencies' => 'mediawiki.debug',
00652         // Uses a custom mw.config variable that is set in debughtml,
00653         // must be loaded on the bottom
00654         'position' => 'bottom',
00655     ),
00656     'mediawiki.inspect' => array(
00657         'scripts' => 'resources/mediawiki/mediawiki.inspect.js',
00658         'dependencies' => array(
00659             'jquery.byteLength',
00660             'jquery.json',
00661         ),
00662         'targets' => array( 'desktop', 'mobile' ),
00663     ),
00664     'mediawiki.feedback' => array(
00665         'scripts' => 'resources/mediawiki/mediawiki.feedback.js',
00666         'styles' => 'resources/mediawiki/mediawiki.feedback.css',
00667         'dependencies' => array(
00668             'mediawiki.api.edit',
00669             'mediawiki.Title',
00670             'mediawiki.jqueryMsg',
00671             'jquery.ui.dialog',
00672         ),
00673         'messages' => array(
00674             'feedback-bugornote',
00675             'feedback-subject',
00676             'feedback-message',
00677             'feedback-cancel',
00678             'feedback-submit',
00679             'feedback-adding',
00680             'feedback-error1',
00681             'feedback-error2',
00682             'feedback-error3',
00683             'feedback-thanks',
00684             'feedback-close',
00685             'feedback-bugcheck',
00686             'feedback-bugnew',
00687         ),
00688     ),
00689     'mediawiki.hidpi' => array(
00690         'scripts' => 'resources/mediawiki/mediawiki.hidpi.js',
00691         'dependencies' => array(
00692             'jquery.hidpi',
00693         ),
00694         'targets' => array( 'desktop', 'mobile' ),
00695     ),
00696     'mediawiki.htmlform' => array(
00697         'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
00698         'messages' => array( 'htmlform-chosen-placeholder' ),
00699     ),
00700     'mediawiki.notification' => array(
00701         'styles' => 'resources/mediawiki/mediawiki.notification.css',
00702         'scripts' => 'resources/mediawiki/mediawiki.notification.js',
00703         'dependencies' => array(
00704             'mediawiki.page.startup',
00705         ),
00706     ),
00707     'mediawiki.notify' => array(
00708         'scripts' => 'resources/mediawiki/mediawiki.notify.js',
00709         'targets' => array( 'desktop', 'mobile' ),
00710     ),
00711     'mediawiki.searchSuggest' => array(
00712         'scripts' => 'resources/mediawiki/mediawiki.searchSuggest.js',
00713         'styles' => 'resources/mediawiki/mediawiki.searchSuggest.css',
00714         'messages' => array(
00715             'searchsuggest-search',
00716             'searchsuggest-containing',
00717         ),
00718         'dependencies' => array(
00719             'jquery.autoEllipsis',
00720             'jquery.client',
00721             'jquery.placeholder',
00722             'jquery.suggestions',
00723             'mediawiki.api',
00724         ),
00725     ),
00726     'mediawiki.Title' => array(
00727         'scripts' => 'resources/mediawiki/mediawiki.Title.js',
00728         'dependencies' => array(
00729             'jquery.byteLength',
00730             'mediawiki.util',
00731         ),
00732     ),
00733     'mediawiki.Uri' => array(
00734         'scripts' => 'resources/mediawiki/mediawiki.Uri.js',
00735     ),
00736     'mediawiki.user' => array(
00737         'scripts' => 'resources/mediawiki/mediawiki.user.js',
00738         'dependencies' => array(
00739             'jquery.cookie',
00740             'mediawiki.api',
00741             'user.options',
00742             'user.tokens',
00743         ),
00744     ),
00745     'mediawiki.util' => array(
00746         'scripts' => 'resources/mediawiki/mediawiki.util.js',
00747         'dependencies' => array(
00748             'jquery.client',
00749             'jquery.cookie',
00750             'jquery.mwExtension',
00751             'mediawiki.notify',
00752         ),
00753         'messages' => array( 'showtoc', 'hidetoc' ),
00754         'position' => 'top', // For $wgPreloadJavaScriptMwUtil
00755         'targets' => array( 'desktop', 'mobile' ),
00756     ),
00757 
00758     /* MediaWiki Action */
00759 
00760     'mediawiki.action.edit' => array(
00761         'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js',
00762         'dependencies' => array(
00763             'mediawiki.action.edit.styles',
00764             'jquery.textSelection',
00765             'jquery.byteLimit',
00766         ),
00767         'position' => 'top',
00768     ),
00769     'mediawiki.action.edit.styles' => array(
00770         'styles' => 'resources/mediawiki.action/mediawiki.action.edit.styles.css',
00771         'position' => 'top',
00772     ),
00773     'mediawiki.action.edit.collapsibleFooter' => array(
00774         'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
00775         'styles' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
00776         'dependencies' => array(
00777             'jquery.makeCollapsible',
00778             'mediawiki.icon',
00779         ),
00780     ),
00781     'mediawiki.action.edit.preview' => array(
00782         'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.preview.js',
00783         'dependencies' => array(
00784             'jquery.form',
00785             'jquery.spinner',
00786             'mediawiki.action.history.diff',
00787         ),
00788     ),
00789     'mediawiki.action.history' => array(
00790         'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
00791         'group' => 'mediawiki.action.history',
00792     ),
00793     'mediawiki.action.history.diff' => array(
00794         'styles' => 'resources/mediawiki.action/mediawiki.action.history.diff.css',
00795         'group' => 'mediawiki.action.history',
00796     ),
00797     'mediawiki.action.view.dblClickEdit' => array(
00798         'scripts' => 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
00799         'dependencies' => array(
00800             'mediawiki.util',
00801             'mediawiki.page.startup',
00802         ),
00803     ),
00804     'mediawiki.action.view.metadata' => array(
00805         'scripts' => 'resources/mediawiki.action/mediawiki.action.view.metadata.js',
00806         'messages' => array(
00807             'metadata-expand',
00808             'metadata-collapse',
00809         ),
00810     ),
00811     'mediawiki.action.view.postEdit' => array(
00812         'scripts' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.js',
00813         'styles' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.css',
00814         'dependencies' => array(
00815             'jquery.cookie',
00816             'mediawiki.jqueryMsg'
00817         ),
00818         'messages' => array(
00819             'postedit-confirmation',
00820         ),
00821     ),
00822     'mediawiki.action.view.rightClickEdit' => array(
00823         'scripts' => 'resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
00824     ),
00825     'mediawiki.action.edit.editWarning' => array(
00826         'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.editWarning.js',
00827         'messages' => array(
00828             'editwarning-warning',
00829         ),
00830     ),
00831     // Alias for backwards compatibility
00832     'mediawiki.action.watch.ajax' => array(
00833         'dependencies' => 'mediawiki.page.watch.ajax'
00834     ),
00835 
00836     /* MediaWiki Language */
00837 
00838     'mediawiki.language' => array(
00839         'scripts' => array(
00840             'resources/mediawiki.language/mediawiki.language.js',
00841             'resources/mediawiki.language/mediawiki.language.numbers.js'
00842         ),
00843         'languageScripts' => array(
00844             'bs' => 'resources/mediawiki.language/languages/bs.js',
00845             'dsb' => 'resources/mediawiki.language/languages/dsb.js',
00846             'fi' => 'resources/mediawiki.language/languages/fi.js',
00847             'ga' => 'resources/mediawiki.language/languages/ga.js',
00848             'he' => 'resources/mediawiki.language/languages/he.js',
00849             'hsb' => 'resources/mediawiki.language/languages/hsb.js',
00850             'hu' => 'resources/mediawiki.language/languages/hu.js',
00851             'hy' => 'resources/mediawiki.language/languages/hy.js',
00852             'la' => 'resources/mediawiki.language/languages/la.js',
00853             'os' => 'resources/mediawiki.language/languages/os.js',
00854             'ru' => 'resources/mediawiki.language/languages/ru.js',
00855             'sl' => 'resources/mediawiki.language/languages/sl.js',
00856             'uk' => 'resources/mediawiki.language/languages/uk.js',
00857         ),
00858         'dependencies' => array(
00859                 'mediawiki.language.data',
00860                 'mediawiki.cldr',
00861             ),
00862         'targets' => array( 'desktop', 'mobile' ),
00863     ),
00864 
00865     'mediawiki.cldr' => array(
00866         'scripts' => 'resources/mediawiki.language/mediawiki.cldr.js',
00867         'dependencies' => array(
00868             'mediawiki.libs.pluralruleparser',
00869         ),
00870         'targets' => array( 'desktop', 'mobile' ),
00871     ),
00872 
00873     'mediawiki.libs.pluralruleparser' => array(
00874         'scripts' => 'resources/mediawiki.libs/CLDRPluralRuleParser.js',
00875         'targets' => array( 'desktop', 'mobile' ),
00876     ),
00877 
00878     'mediawiki.language.init' => array(
00879         'scripts' => 'resources/mediawiki.language/mediawiki.language.init.js',
00880         'targets' => array( 'desktop', 'mobile' ),
00881     ),
00882 
00883     'mediawiki.jqueryMsg' => array(
00884         'scripts' => 'resources/mediawiki/mediawiki.jqueryMsg.js',
00885         'dependencies' => array(
00886             'mediawiki.util',
00887             'mediawiki.language',
00888         ),
00889         'targets' => array( 'desktop', 'mobile' ),
00890     ),
00891 
00892     'mediawiki.language.months' => array(
00893         'scripts' => 'resources/mediawiki.language/mediawiki.language.months.js',
00894         'dependencies' => 'mediawiki.language',
00895         'messages' => array_merge(
00896             Language::$mMonthMsgs,
00897             Language::$mMonthGenMsgs,
00898             Language::$mMonthAbbrevMsgs
00899         )
00900     ),
00901 
00902     /* MediaWiki Libs */
00903 
00904     'mediawiki.libs.jpegmeta' => array(
00905         'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
00906     ),
00907 
00908     /* MediaWiki Page */
00909 
00910     'mediawiki.page.gallery' => array(
00911         'scripts' => 'resources/mediawiki.page/mediawiki.page.gallery.js',
00912     ),
00913     'mediawiki.page.ready' => array(
00914         'scripts' => 'resources/mediawiki.page/mediawiki.page.ready.js',
00915         'dependencies' => array(
00916             'jquery.checkboxShiftClick',
00917             'jquery.makeCollapsible',
00918             'jquery.placeholder',
00919             'jquery.mw-jump',
00920             'mediawiki.util',
00921         ),
00922         'targets' => array( 'desktop', 'mobile' ),
00923     ),
00924     'mediawiki.page.startup' => array(
00925         'scripts' => 'resources/mediawiki.page/mediawiki.page.startup.js',
00926         'dependencies' => array(
00927             'jquery.client',
00928             'mediawiki.util',
00929         ),
00930         'position' => 'top',
00931         'targets' => array( 'desktop', 'mobile' ),
00932     ),
00933     'mediawiki.page.patrol.ajax' => array(
00934         'scripts' => 'resources/mediawiki.page/mediawiki.page.patrol.ajax.js',
00935         'dependencies' => array(
00936             'mediawiki.page.startup',
00937             'mediawiki.api',
00938             'mediawiki.util',
00939             'mediawiki.Title',
00940             'mediawiki.notify',
00941             'jquery.spinner',
00942             'user.tokens'
00943         ),
00944         'messages' => array(
00945             'markedaspatrollednotify',
00946             'markedaspatrollederrornotify',
00947             'markedaspatrollederror-noautopatrol'
00948         ),
00949     ),
00950     'mediawiki.page.watch.ajax' => array(
00951         'scripts' => 'resources/mediawiki.page/mediawiki.page.watch.ajax.js',
00952         'dependencies' => array(
00953             'mediawiki.page.startup',
00954             'mediawiki.api.watch',
00955             'mediawiki.util',
00956             'mediawiki.notify',
00957             'jquery.mwExtension',
00958         ),
00959         'messages' => array(
00960             'watch',
00961             'unwatch',
00962             'watching',
00963             'unwatching',
00964             'tooltip-ca-watch',
00965             'tooltip-ca-unwatch',
00966             'watcherrortext',
00967         ),
00968     ),
00969     'mediawiki.page.image.pagination' => array(
00970         'scripts' => 'resources/mediawiki.page/mediawiki.page.image.pagination.js',
00971         'dependencies' => array(
00972             'mediawiki.Uri',
00973             'mediawiki.util',
00974             'jquery.spinner',
00975         )
00976     ),
00977 
00978     /* MediaWiki Special pages */
00979 
00980     'mediawiki.special' => array(
00981         'scripts' => 'resources/mediawiki.special/mediawiki.special.js',
00982         'styles' => 'resources/mediawiki.special/mediawiki.special.css',
00983     ),
00984     'mediawiki.special.block' => array(
00985         'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
00986         'dependencies' => array(
00987             'mediawiki.util',
00988         ),
00989     ),
00990     'mediawiki.special.changeemail' => array(
00991         'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js',
00992         'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css',
00993         'dependencies' => array(
00994             'mediawiki.util',
00995         ),
00996         'messages' => array(
00997             'email-address-validity-valid',
00998             'email-address-validity-invalid',
00999         ),
01000     ),
01001     'mediawiki.special.changeslist' => array(
01002         'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css',
01003     ),
01004     'mediawiki.special.changeslist.enhanced' => array(
01005         'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
01006     ),
01007     'mediawiki.special.movePage' => array(
01008         'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
01009         'dependencies' => 'jquery.byteLimit',
01010     ),
01011     'mediawiki.special.pagesWithProp' => array(
01012         'styles' => 'resources/mediawiki.special/mediawiki.special.pagesWithProp.css',
01013     ),
01014     'mediawiki.special.preferences' => array(
01015         'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js',
01016         'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css',
01017         'position' => 'top',
01018     ),
01019     'mediawiki.special.recentchanges' => array(
01020         'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js',
01021         'dependencies' => array( 'mediawiki.special' ),
01022         'position' => 'top',
01023     ),
01024     'mediawiki.special.search' => array(
01025         'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js',
01026         'styles' => 'resources/mediawiki.special/mediawiki.special.search.css',
01027         'messages' => array(
01028             'powersearch-togglelabel',
01029             'powersearch-toggleall',
01030             'powersearch-togglenone',
01031         ),
01032     ),
01033     'mediawiki.special.undelete' => array(
01034         'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
01035     ),
01036     'mediawiki.special.upload' => array(
01037         // @todo merge in remainder of mediawiki.legacy.upload
01038         'scripts' => 'resources/mediawiki.special/mediawiki.special.upload.js',
01039         'messages' => array(
01040             'widthheight',
01041             'size-bytes',
01042             'size-kilobytes',
01043             'size-megabytes',
01044             'size-gigabytes',
01045             'largefileserver',
01046         ),
01047         'dependencies' => array(
01048             'mediawiki.libs.jpegmeta',
01049             'mediawiki.util',
01050         ),
01051     ),
01052     'mediawiki.special.userlogin' => array(
01053         'styles' => array(
01054             'resources/mediawiki.special/mediawiki.special.vforms.css',
01055             'resources/mediawiki.special/mediawiki.special.userLogin.css',
01056         ),
01057         'position' => 'top',
01058     ),
01059     'mediawiki.special.createaccount' => array(
01060         'styles' => array(
01061             'resources/mediawiki.special/mediawiki.special.vforms.css',
01062             'resources/mediawiki.special/mediawiki.special.createAccount.css',
01063         ),
01064     ),
01065     'mediawiki.special.createaccount.js' => array(
01066         'scripts' => 'resources/mediawiki.special/mediawiki.special.createAccount.js',
01067         'messages' => array(
01068             'createacct-captcha',
01069             'createacct-emailrequired',
01070             'createacct-imgcaptcha-ph'
01071         ),
01072         'dependencies' => 'mediawiki.jqueryMsg',
01073         'position' => 'top',
01074     ),
01075     'mediawiki.special.javaScriptTest' => array(
01076         'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
01077         'messages' => array_merge( Skin::getSkinNameMessages(), array(
01078             'colon-separator',
01079             'javascripttest-pagetext-skins',
01080         ) ),
01081         'dependencies' => array( 'jquery.qunit' ),
01082         'position' => 'top',
01083         'targets' => array( 'desktop', 'mobile' ),
01084     ),
01085 
01086     /* MediaWiki Tests */
01087 
01088     'mediawiki.tests.qunit.testrunner' => array(
01089         'scripts' => 'tests/qunit/data/testrunner.js',
01090         'dependencies' => array(
01091             'jquery.getAttrs',
01092             'jquery.qunit',
01093             'jquery.qunit.completenessTest',
01094             'mediawiki.page.startup',
01095             'mediawiki.page.ready',
01096         ),
01097         'position' => 'top',
01098         'targets' => array( 'desktop', 'mobile' ),
01099     ),
01100 
01101     /* MediaWiki Legacy */
01102 
01103     'mediawiki.legacy.ajax' => array(
01104         'scripts' => 'common/ajax.js',
01105         'remoteBasePath' => $GLOBALS['wgStylePath'],
01106         'localBasePath' => $GLOBALS['wgStyleDirectory'],
01107         'dependencies' => array(
01108             'mediawiki.util',
01109             'mediawiki.legacy.wikibits',
01110         ),
01111         'position' => 'top', // Temporary hack for legacy support
01112     ),
01113     'mediawiki.legacy.commonPrint' => array(
01114         'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
01115         'remoteBasePath' => $GLOBALS['wgStylePath'],
01116         'localBasePath' => $GLOBALS['wgStyleDirectory'],
01117     ),
01118     'mediawiki.legacy.config' => array(
01119         // Used in the web installer. Test it after modifying this definition!
01120         'scripts' => 'common/config.js',
01121         'styles' => array( 'common/config.css' ),
01122         'remoteBasePath' => $GLOBALS['wgStylePath'],
01123         'localBasePath' => $GLOBALS['wgStyleDirectory'],
01124         'dependencies' => 'mediawiki.legacy.wikibits',
01125     ),
01126     'mediawiki.legacy.protect' => array(
01127         'scripts' => 'common/protect.js',
01128         'remoteBasePath' => $GLOBALS['wgStylePath'],
01129         'localBasePath' => $GLOBALS['wgStyleDirectory'],
01130         'dependencies' => array(
01131             'jquery.byteLimit',
01132         ),
01133         'position' => 'top',
01134     ),
01135     'mediawiki.legacy.shared' => array(
01136         // Used in the web installer. Test it after modifying this definition!
01137         'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
01138         'remoteBasePath' => $GLOBALS['wgStylePath'],
01139         'localBasePath' => $GLOBALS['wgStyleDirectory'],
01140     ),
01141     'mediawiki.legacy.oldshared' => array(
01142         'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
01143         'remoteBasePath' => $GLOBALS['wgStylePath'],
01144         'localBasePath' => $GLOBALS['wgStyleDirectory'],
01145     ),
01146     'mediawiki.legacy.upload' => array(
01147         'scripts' => 'common/upload.js',
01148         'remoteBasePath' => $GLOBALS['wgStylePath'],
01149         'localBasePath' => $GLOBALS['wgStyleDirectory'],
01150         'dependencies' => array(
01151             'jquery.spinner',
01152             'mediawiki.api',
01153             'mediawiki.Title',
01154             'mediawiki.util',
01155         ),
01156     ),
01157     'mediawiki.legacy.wikibits' => array(
01158         'scripts' => 'common/wikibits.js',
01159         'remoteBasePath' => $GLOBALS['wgStylePath'],
01160         'localBasePath' => $GLOBALS['wgStyleDirectory'],
01161         'dependencies' => array(
01162             'mediawiki.util',
01163         ),
01164         'position' => 'top',
01165     ),
01166     'mediawiki.ui' => array(
01167         'skinStyles' => array(
01168             'default' => 'resources/mediawiki.ui/mediawiki.ui.default.css',
01169             'vector' => 'resources/mediawiki.ui/mediawiki.ui.vector.css',
01170         ),
01171         'position' => 'top',
01172     ),
01173 );