'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
'targets' => [ 'desktop', 'mobile' ],
],
- 'jquery.hidpi' => [
- 'deprecated' => 'Use of the srcset polyfill is deprecated since MediaWiki 1.32.0',
- 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
- 'targets' => [ 'desktop', 'mobile' ],
- ],
'jquery.highlightText' => [
'scripts' => 'resources/src/jquery/jquery.highlightText.js',
'dependencies' => [
'messages' => [ 'collapsible-expand', 'collapsible-collapse' ],
'targets' => [ 'desktop', 'mobile' ],
],
- 'jquery.mockjax' => [
- 'scripts' => 'resources/lib/jquery.mockjax.js',
- ],
'jquery.mw-jump' => [
'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
'targets' => [ 'desktop', 'mobile' ],
'scripts' => 'resources/lib/jquery.ba-throttle-debounce.js',
'targets' => [ 'desktop', 'mobile' ],
],
- 'jquery.xmldom' => [
- 'scripts' => 'resources/lib/jquery.xmldom.js',
- ],
/* jQuery Tipsy */
'fy' => 'resources/lib/moment/locale/fy.js',
'gd' => 'resources/lib/moment/locale/gd.js',
'gl' => 'resources/lib/moment/locale/gl.js',
+ 'gom' => 'resources/lib/moment/locale/gom-latn.js',
'gom-latn' => 'resources/lib/moment/locale/gom-latn.js',
'gu' => 'resources/lib/moment/locale/gu.js',
'he' => 'resources/lib/moment/locale/he.js',
],
],
'mediawiki.diff.styles' => [
- // FIXME: Remove class and lessMessages
- // when I6aad563e48f41c783df8b176a4f437e60a1255cc has
- // been in production for 1 week.
- 'class' => ResourceLoaderLessVarFileModule::class,
'styles' => [
- // Remove resources/src/mediawiki.interface.helpers.styles.less
- // when I6aad563e48f41c783df8b176a4f437e60a1255cc has
- // been in production for 1 week.
- 'resources/src/mediawiki.interface.helpers.styles.less',
'resources/src/mediawiki.diff.styles/diff.css',
'resources/src/mediawiki.diff.styles/print.css' => [
'media' => 'print'
],
],
- 'lessMessages' => [
- 'parentheses-start',
- 'parentheses-end',
- 'pipe-separator'
- ],
'targets' => [ 'desktop', 'mobile' ],
],
'mediawiki.feedback' => [
'styles' => 'resources/src/mediawiki.checkboxtoggle.styles.css',
],
'mediawiki.cookie' => [
- 'scripts' => 'resources/src/mediawiki.cookie.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' ],
],
],
'mediawiki.cldr' => [
- 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
+ 'scripts' => 'resources/src/mediawiki.cldr/index.js',
'dependencies' => [
'mediawiki.libs.pluralruleparser',
],
'targets' => [ 'desktop', 'mobile' ],
],
'mediawiki.special.changeslist' => [
- // FIXME: Remove class and lessMessages
- // when I6aad563e48f41c783df8b176a4f437e60a1255cc has
- // been in production for 1 week.
- 'class' => ResourceLoaderLessVarFileModule::class,
- 'lessMessages' => [
- 'parentheses-start',
- 'parentheses-end',
- 'pipe-separator'
- ],
'styles' => [
- // FIXME: Remove this line when I6aad563e48f41c783df8b176a4f437e60a1255cc has
- // been in production for 1 week.
- 'resources/src/mediawiki.interface.helpers.styles.less',
'resources/src/mediawiki.special.changeslist.less',
],
'targets' => [ 'desktop', 'mobile' ],
'createacct-emailrequired',
'noname',
'userexists',
+ 'createacct-normalization',
],
'dependencies' => [
'mediawiki.api',
'mediawiki.widgets.NamespacesMultiselectWidget' => [
'scripts' => [
'resources/src/mediawiki.widgets/mw.widgets.NamespacesMultiselectWidget.js',
+ 'resources/src/mediawiki.widgets/mw.widgets.NamespacesMenuOptionWidget.js',
],
'dependencies' => [
'oojs-ui-widgets',