'targets' => [ 'desktop', 'mobile' ],
],
'mediawiki.base' => [
- 'scripts' => [
- // This MUST be kept in sync with maintenance/jsduck/eg-iframe.html
- 'resources/src/mediawiki.base/mediawiki.errorLogger.js',
- 'resources/src/mediawiki.base/mediawiki.base.js',
- ],
- 'dependencies' => 'jquery',
- 'targets' => [ 'desktop', 'mobile' ],
- ],
- 'mediawiki.legacy.wikibits' => [
- 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
+ 'scripts' => array_merge(
+ [
+ // This MUST be kept in sync with maintenance/jsduck/eg-iframe.html
+ 'resources/src/mediawiki.base/mediawiki.errorLogger.js',
+ 'resources/src/mediawiki.base/mediawiki.base.js',
+ ],
+ $GLOBALS['wgIncludeLegacyJavaScript']
+ ? [ 'resources/src/mediawiki.base/legacy.wikibits.js' ]
+ : []
+ ),
'dependencies' => 'jquery',
'targets' => [ 'desktop', 'mobile' ],
],
'mediawiki.pager.tablePager' => [
'styles' => 'resources/src/mediawiki.pager.tablePager/TablePager.less',
],
+ 'mediawiki.pulsatingdot' => [
+ 'styles' => [
+ 'resources/src/mediawiki.pulsatingdot/mediawiki.pulsatingdot.less',
+ ],
+ 'targets' => [ 'desktop', 'mobile' ],
+ ],
'mediawiki.searchSuggest' => [
'targets' => [ 'desktop', 'mobile' ],
'scripts' => 'resources/src/mediawiki.searchSuggest/searchSuggest.js',
'rcfilters-filter-showlinkedto-label',
'rcfilters-filter-showlinkedto-option-label',
'rcfilters-target-page-placeholder',
+ 'rcfilters-allcontents-label',
+ 'rcfilters-alldiscussions-label',
'blanknamespace',
'namespaces',
'tags-title',
'mediawiki.interface.helpers.styles' => [
'class' => ResourceLoaderLessVarFileModule::class,
'lessMessages' => [
+ 'comma-separator',
'parentheses-start',
'parentheses-end',
'brackets-start',
],
],
- // @todo FIXME: Remove 7 days after Ib0020b6bd0156 is deployed to all wikis.
- 'html5shiv' => [
- 'scripts' => [
- 'resources/lib/html5shiv/html5shiv.js'
- ],
- ],
-
/* EasyDeflate */
'easy-deflate.core' => [