'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
'targets' => [ 'desktop', 'mobile' ],
],
- 'jquery.mwExtension' => [
- 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
- 'targets' => [ 'desktop', 'mobile' ],
- ],
'jquery.placeholder' => [
'deprecated' => 'Use of "jquery.placeholder" is deprecated since MediaWiki 1.29.0',
'targets' => [ 'desktop', 'mobile' ],
],
'mediawiki.hlist' => [
+ 'targets' => [ 'desktop', 'mobile' ],
+ 'styles' => [
+ 'resources/src/mediawiki/mediawiki.hlist-allskins.less',
+ ],
'skinStyles' => [
'default' => 'resources/src/mediawiki/mediawiki.hlist.css',
],
]
],
'mediawiki.util' => [
+ 'class' => 'ResourceLoaderMediaWikiUtilModule',
'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
'dependencies' => [
'jquery.accessKeyLabel',
'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
'dependencies' => [
'mediawiki.action.edit.styles',
- 'jquery.accessKeyLabel',
'jquery.textSelection',
- 'jquery.byteLimit',
+ 'oojs-ui-core',
'mediawiki.widgets.visibleByteLimit',
'mediawiki.api',
],
],
'mediawiki.action.edit.styles' => [
'targets' => [ 'desktop', 'mobile' ],
- 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.less',
],
'mediawiki.action.edit.collapsibleFooter' => [
'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
'mediawiki.diff.styles',
'mediawiki.util',
'mediawiki.jqueryMsg',
+ 'oojs-ui-core',
],
'messages' => [
// Keep the uses message keys in sync with EditPage#setHeaders
'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.less',
],
],
+ 'mediawiki.rcfilters.highlightCircles.seenunseen.styles' => [
+ 'styles' => [
+ 'resources/src/mediawiki.rcfilters/' .
+ 'styles/mw.rcfilters.ui.ChangesListWrapperWidget.highlightCircles.seenunseen.less',
+ ],
+ ],
'mediawiki.rcfilters.filters.dm' => [
'scripts' => [
'resources/src/mediawiki.rcfilters/mw.rcfilters.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuHeaderWidget.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.MenuSelectWidget.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ViewSwitchWidget.js',
+ 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ValuePickerWidget.js',
+ 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesLimitPopupWidget.js',
+ 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesLimitButtonWidget.js',
+ 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.DateButtonWidget.js',
+ 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.DatePopupWidget.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.SavedLinksListWidget.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemHighlightButton.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.HighlightColorPickerWidget.js',
'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.LiveUpdateButtonWidget.js',
+ 'resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.MarkSeenButtonWidget.js',
'resources/src/mediawiki.rcfilters/mw.rcfilters.HighlightColors.js',
'resources/src/mediawiki.rcfilters/mw.rcfilters.init.js',
],
'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterMenuHeaderWidget.less',
'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.MenuSelectWidget.less',
'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ViewSwitchWidget.less',
+ 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ValuePickerWidget.less',
+ 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ChangesLimitPopupWidget.less',
+ 'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.DatePopupWidget.less',
'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less',
'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ChangesListWrapperWidget.less',
'resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.HighlightColorPickerWidget.less',
],
],
'messages' => [
+ 'rcfilters-tag-remove',
'rcfilters-activefilters',
'rcfilters-advancedfilters',
+ 'rcfilters-group-results-by-page',
+ 'rcfilters-grouping-title',
+ 'rcfilters-limit-title',
+ 'rcfilters-limit-shownum',
+ 'rcfilters-days-title',
+ 'rcfilters-hours-title',
+ 'rcfilters-days-show-days',
+ 'rcfilters-days-show-hours',
+ 'rcfilters-highlighted-filters-list',
'rcfilters-quickfilters',
'rcfilters-quickfilters-placeholder-title',
'rcfilters-quickfilters-placeholder-description',
'rcfilters-savedqueries-new-name-placeholder',
'rcfilters-savedqueries-add-new-title',
'rcfilters-savedqueries-apply-label',
+ 'rcfilters-savedqueries-apply-and-setdefault-label',
'rcfilters-savedqueries-cancel-label',
'rcfilters-restore-default-filters',
'rcfilters-clear-all-filters',
+ 'rcfilters-show-new-changes',
'rcfilters-search-placeholder',
'rcfilters-invalid-filter',
'rcfilters-empty-filter',
'rcfilters-tag-prefix-tags',
'rcfilters-exclude-button-off',
'rcfilters-exclude-button-on',
+ 'rcfilters-view-advanced-filters-label',
'rcfilters-view-tags',
'rcfilters-view-namespaces-tooltip',
'rcfilters-view-tags-tooltip',
'rcfilters-view-return-to-default-tooltip',
'rcfilters-liveupdates-button',
+ 'rcfilters-liveupdates-button-title-on',
+ 'rcfilters-liveupdates-button-title-off',
+ 'rcfilters-watchlist-markSeen-button',
+ 'rcfilters-other-review-tools',
'blanknamespace',
'namespaces',
'invert',
],
'dependencies' => [
'oojs-ui',
+ 'jquery.makeCollapsible',
'mediawiki.language',
'mediawiki.user',
'mediawiki.rcfilters.filters.dm',
'styles' => 'resources/src/mediawiki.special/mediawiki.special.upload.styles.css',
],
'mediawiki.special.userlogin.common.styles' => [
- 'styles' => [
- 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
+ 'targets' => [ 'desktop', 'mobile' ],
+ 'skinStyles' => [
+ 'default' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
],
],
'mediawiki.special.userlogin.login.styles' => [
],
'mediawiki.special.watchlist' => [
'scripts' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.js',
+ 'messages' => [
+ 'addedwatchtext',
+ 'addedwatchtext-talk',
+ 'removedwatchtext',
+ 'removedwatchtext-talk',
+ 'tooltip-ca-watch',
+ 'tooltip-ca-unwatch',
+ 'watchlist-unwatch',
+ 'watchlist-unwatch-undo',
+ ],
'dependencies' => [
- 'mediawiki.api',
+ 'mediawiki.api.watch',
+ 'mediawiki.jqueryMsg',
+ 'mediawiki.Title',
+ 'mediawiki.util',
'oojs-ui-core',
'user.options',
- ]
+ ],
+ ],
+ 'mediawiki.special.watchlist.styles' => [
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.watchlist.css',
],
'mediawiki.special.version' => [
'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
],
// Used in the web installer. Test it after modifying this definition!
'mediawiki.legacy.shared' => [
+ 'targets' => [ 'desktop', 'mobile' ],
'styles' => [
'resources/src/mediawiki.legacy/shared.css' => [ 'media' => 'screen' ]
],
],
'dependencies' => [
'mediawiki.searchSuggest',
- // FIXME: Needs TitleWidget only
+ 'oojs-ui.styles.icons-interactions',
+ // FIXME: Needs TitleInputWidget only
'mediawiki.widgets',
- 'oojs-ui-widgets',
],
],
'mediawiki.widgets.SearchInputWidget.styles' => [
// This contains only the styles required by core widgets.
'oojs-ui-core.styles' => [
'class' => 'ResourceLoaderOOUIFileModule',
- 'styles' => 'resources/src/oojs-ui-local.css', // HACK, see inside the file
+ 'styles' => [
+ 'resources/lib/oojs-ui/wikimedia-ui-base.less', // Providing Wikimedia UI LESS variables to all
+ 'resources/src/oojs-ui-local.css', // HACK, see inside the file
+ ],
'themeStyles' => 'core',
'targets' => [ 'desktop', 'mobile' ],
],