'targets' => [ 'desktop', 'mobile' ],
],
'jquery.form' => [
- 'scripts' => 'resources/lib/jquery.form.js',
+ 'scripts' => 'resources/lib/jquery.form/jquery.form.js',
],
'jquery.fullscreen' => [
- 'scripts' => 'resources/lib/jquery.fullscreen.js',
+ 'scripts' => 'resources/lib/jquery.fullscreen/jquery.fullscreen.js',
],
'jquery.getAttrs' => [
'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
'targets' => [ 'desktop', 'mobile' ],
],
'jquery.hoverIntent' => [
- 'scripts' => 'resources/lib/jquery.hoverIntent.js',
+ 'scripts' => 'resources/lib/jquery.hoverIntent/jquery.hoverIntent.js',
],
'jquery.i18n' => [
'scripts' => [
],
'jquery.jStorage' => [
'deprecated' => 'Please use "mediawiki.storage" instead.',
- 'scripts' => 'resources/lib/jquery.jStorage.js',
+ 'scripts' => 'resources/lib/jquery.jStorage/jstorage.js',
],
'jquery.suggestions' => [
'targets' => [ 'desktop', 'mobile' ],
'jquery.throttle-debounce' => [
'deprecated' => 'Please use OO.ui.throttle/debounce instead. See '
. 'https://phabricator.wikimedia.org/T213426',
- 'scripts' => 'resources/lib/jquery.ba-throttle-debounce.js',
+ 'scripts' => 'resources/lib/jquery.throttle-debounce/jquery.ba-throttle-debounce.js',
'targets' => [ 'desktop', 'mobile' ],
],
'styles' => 'resources/src/mediawiki.checkboxtoggle.styles.css',
],
'mediawiki.cookie' => [
- 'scripts' => 'resources/src/mediawiki.cookie/index.js',
+ 'localBasePath' => "$IP/resources/src/mediawiki.cookie",
+ 'remoteBasePath' => "$wgResourceBasePath/resources/src/mediawiki.cookie",
+ 'packageFiles' => [
+ 'index.js',
+ [ 'name' => 'config.json', 'config' => [
+ 'prefix' => 'CookiePrefix',
+ 'domain' => 'CookieDomain',
+ 'path' => 'CookiePath',
+ 'expires' => 'CookieExpiration'
+ ] ],
+ ],
'dependencies' => 'jquery.cookie',
'targets' => [ 'desktop', 'mobile' ],
],
'actioncomplete',
],
],
+ 'mediawiki.page.rollback.confirmation' => [
+ 'scripts' => 'resources/src/mediawiki.rollback.confirmation.js',
+ 'dependencies' => [
+ 'jquery.confirmable'
+ ],
+ 'messages' => [
+ 'rollback-confirmation-confirm',
+ 'rollback-confirmation-yes',
+ 'rollback-confirmation-no',
+ ],
+ ],
'mediawiki.page.image.pagination' => [
'scripts' => 'resources/src/mediawiki.page.image.pagination.js',
'dependencies' => [