'targets' => [ 'mobile', 'desktop' ],
],
'jquery.checkboxShiftClick' => [
- 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
+ 'deprecated' => 'Please use "mediawiki.page.ready" instead.',
+ 'dependencies' => [
+ 'mediawiki.page.ready',
+ ],
'targets' => [ 'desktop', 'mobile' ],
],
'jquery.chosen' => [
'targets' => [ 'desktop', 'mobile' ],
],
'jquery.color' => [
- 'scripts' => 'resources/src/jquery/jquery.color.js',
- 'dependencies' => 'jquery.colorUtil',
- ],
- 'jquery.colorUtil' => [
- 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
+ 'scripts' => [
+ 'resources/src/jquery.color/jquery.colorUtil.js',
+ 'resources/src/jquery.color/jquery.color.js',
+ ],
],
'jquery.confirmable' => [
'scripts' => [
'dependencies' => [
'mediawiki.api',
'oojs',
+ 'mediawiki.Uri',
],
'targets' => [ 'desktop', 'mobile' ],
],
'scripts' => [
'resources/src/mediawiki.htmlform.checker.js',
],
+ 'dependencies' => [
+ 'mediawiki.util',
+ ],
'targets' => [ 'desktop', 'mobile' ],
],
'mediawiki.htmlform.ooui' => [
]
],
'mediawiki.util' => [
- 'localBasePath' => "$IP/resources/src/mediawiki.util/",
- 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.util/",
+ 'localBasePath' => "$IP/resources/src/mediawiki.util",
+ 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.util",
'packageFiles' => [
'util.js',
'jquery.accessKeyLabel.js',
]
],
'mediawiki.page.ready' => [
- 'scripts' => 'resources/src/mediawiki.page.ready.js',
+ 'scripts' => [
+ 'resources/src/mediawiki.page.ready/checkboxShift.js',
+ 'resources/src/mediawiki.page.ready/ready.js',
+ ],
'dependencies' => [
- 'jquery.checkboxShiftClick',
'mediawiki.util',
'mediawiki.notify',
'mediawiki.api'