),
'jquery.highlightText' => array(
'scripts' => 'resources/src/jquery/jquery.highlightText.js',
- 'dependencies' => 'mediawiki.RegExp',
+ 'dependencies' => array(
+ 'mediawiki.RegExp',
+ 'dom-level2-shim',
+ ),
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.hoverIntent' => array(
'styles' => 'resources/src/jquery/jquery.tablesorter.css',
'messages' => array( 'sort-descending', 'sort-ascending' ),
'dependencies' => array(
+ 'dom-level2-shim',
'mediawiki.RegExp',
'mediawiki.language.months',
),
'mediawiki.api.parse' => array(
'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
'dependencies' => 'mediawiki.api',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ 'mediawiki.api.upload' => array(
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.upload.js',
+ 'dependencies' => array(
+ 'dom-level2-shim',
+ 'mediawiki.api',
+ 'mediawiki.api.edit',
+ 'json',
+ ),
),
'mediawiki.api.watch' => array(
'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
),
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.Upload' => array(
+ 'scripts' => 'resources/src/mediawiki/mediawiki.Upload.js',
+ 'dependencies' => array(
+ 'dom-level2-shim',
+ 'mediawiki.api.upload',
+ ),
+ ),
'mediawiki.toc' => array(
'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
'dependencies' => 'mediawiki.cookie',
'position' => 'top',
'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
+ 'dependencies' => 'mediawiki.widgets',
'messages' => array(
'powersearch-togglelabel',
'powersearch-toggleall',
'mediawiki.widgets' => array(
'scripts' => array(
'resources/src/mediawiki.widgets/mw.widgets.js',
+ 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.js',
'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
'resources/src/mediawiki.widgets/mw.widgets.TitleOptionWidget.js',
+ 'resources/src/mediawiki.widgets/mw.widgets.UserInputWidget.js',
),
'skinStyles' => array(
- 'default' => 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.css',
+ 'default' => array(
+ 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.css',
+ ),
),
'dependencies' => array(
+ 'mediawiki.widgets.styles',
'jquery.autoEllipsis',
'mediawiki.Title',
'mediawiki.api',
),
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.widgets.styles' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.widgets/mw.widgets.NamespaceInputWidget.base.css',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
/* es5-shim */
'es5-shim' => array(