/* jQuery */
'jquery' => [
- 'scripts' => ( $GLOBALS['wgUsejQueryThree'] ?
- [
- 'resources/lib/jquery/jquery3.js',
- 'resources/lib/jquery/jquery.migrate.js',
- ] : [
- 'resources/lib/jquery/jquery.js',
- ]
- ),
+ 'scripts' => [
+ 'resources/lib/jquery/jquery.js',
+ 'resources/lib/jquery/jquery.migrate.js',
+ ],
'raw' => true,
'targets' => [ 'desktop', 'mobile' ],
],
'messages' => [ 'brackets', 'word-separator' ],
'targets' => [ 'mobile', 'desktop' ],
],
- 'jquery.appear' => [
- 'deprecated' => 'Please use "mediawiki.viewport" instead.',
- 'scripts' => 'resources/lib/jquery/jquery.appear.js',
- ],
'jquery.async' => [
'scripts' => 'resources/lib/jquery/jquery.async.js',
],
- 'jquery.autoEllipsis' => [
- 'deprecated' => 'Use CSS text-overflow instead.',
- 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
- 'dependencies' => 'jquery.highlightText',
- 'targets' => [ 'desktop', 'mobile' ],
- ],
- 'jquery.badge' => [
- 'scripts' => 'resources/src/jquery/jquery.badge.js',
- 'styles' => 'resources/src/jquery/jquery.badge.css',
- 'dependencies' => 'mediawiki.language',
- ],
'jquery.byteLength' => [
'scripts' => 'resources/src/jquery/jquery.byteLength.js',
'targets' => [ 'desktop', 'mobile' ],
'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
'targets' => [ 'desktop', 'mobile' ],
],
- 'jquery.placeholder' => [
- 'deprecated' => 'Use of "jquery.placeholder" is deprecated since MediaWiki 1.29.0',
-
- 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
- 'targets' => [ 'desktop', 'mobile' ],
- ],
'jquery.qunit' => [
'scripts' => 'resources/lib/qunitjs/qunit.js',
'styles' => 'resources/lib/qunitjs/qunit.css',
/* jQuery UI */
'jquery.ui.core' => [
- 'deprecated' => 'Please use "mediawiki.ui.button" or "oojs-ui" instead.',
+ 'deprecated' => 'Please use OOUI instead.',
'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
'dependencies' => [
'jquery.ui.core.styles',
'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
'dependencies' => [
'mediawiki.util',
+ 'mediawiki.visibleTimeout',
],
'targets' => [ 'desktop', 'mobile' ],
],
'scripts' => 'resources/src/mediawiki/mediawiki.experiments.js',
'targets' => [ 'desktop', 'mobile' ],
],
+ 'mediawiki.editfont.styles' => [
+ 'styles' => 'resources/src/mediawiki/mediawiki.editfont.css',
+ 'targets' => [ 'desktop', 'mobile' ],
+ ],
+ 'mediawiki.visibleTimeout' => [
+ 'scripts' => 'resources/src/mediawiki/mediawiki.visibleTimeout.js',
+ 'targets' => [ 'desktop', 'mobile' ],
+ ],
/* MediaWiki Action */
'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
'dependencies' => [
'mediawiki.action.edit.styles',
+ 'mediawiki.editfont.styles',
'jquery.textSelection',
'oojs-ui-core',
'mediawiki.widgets.visibleByteLimit',
'mediawiki.page.watch.ajax' => [
'scripts' => 'resources/src/mediawiki/page/watch.js',
'dependencies' => [
- 'mediawiki.page.startup',
'mediawiki.api.watch',
'mediawiki.notify',
'mediawiki.util',
'rcfilters-savedqueries-new-name-label',
'rcfilters-savedqueries-new-name-placeholder',
'rcfilters-savedqueries-add-new-title',
+ 'rcfilters-savedqueries-already-saved',
'rcfilters-savedqueries-apply-label',
'rcfilters-savedqueries-apply-and-setdefault-label',
'rcfilters-savedqueries-cancel-label',
'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-other-review-tools',
'blanknamespace',
'namespaces',
+ 'tags-title',
'invert',
'recentchanges-noresult',
+ 'recentchanges-timeout',
+ 'recentchanges-network',
'quotation-marks',
],
'dependencies' => [
'mediawiki.special.pagesWithProp' => [
'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
],
- 'mediawiki.special.preferences' => [
+ 'mediawiki.special.preferences.ooui' => [
'scripts' => [
'resources/src/mediawiki.special/mediawiki.special.preferences.confirmClose.js',
'resources/src/mediawiki.special/mediawiki.special.preferences.convertmessagebox.js',
+ 'resources/src/mediawiki.special/mediawiki.special.preferences.editfont.js',
'resources/src/mediawiki.special/mediawiki.special.preferences.tabs.js',
'resources/src/mediawiki.special/mediawiki.special.preferences.timezone.js',
],
'mediawiki.language',
'mediawiki.confirmCloseWindow',
'mediawiki.notification.convertmessagebox',
+ 'oojs-ui-widgets',
+ 'mediawiki.widgets.SelectWithInputWidget',
],
],
- 'mediawiki.special.preferences.styles' => [
+ 'mediawiki.special.preferences.styles.ooui' => [
'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.styles.css',
],
'mediawiki.special.recentchanges' => [
/* MediaWiki UI */
'mediawiki.ui' => [
+ 'deprecated' => 'Please use OOUI instead.',
'skinStyles' => [
'default' => [
'resources/src/mediawiki.ui/default.less',
],
'targets' => [ 'desktop', 'mobile' ],
],
- 'mediawiki.widgets.CategorySelector' => [
- 'deprecated' => 'Use "mw.widgets.CategoryMultiselectWidget" instead. See T161285.',
- 'dependencies' => [
- 'mediawiki.widgets.CategoryMultiselectWidget',
- ],
- ],
'mediawiki.widgets.CategoryMultiselectWidget' => [
'scripts' => [
'resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js',