diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2017-10-20 16:31:18 -0700 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2017-10-20 16:31:18 -0700 |
commit | dfafef8e706af54706d2de621b845085604f154d (patch) | |
tree | d44b56c115c8256cb654b1f0833408b89daf0935 | |
parent | 253bb35735775ca100272320cb2c74107b1998c4 (diff) | |
download | mediawikicore-dfafef8e706af54706d2de621b845085604f154d.tar.gz mediawikicore-dfafef8e706af54706d2de621b845085604f154d.zip |
resources: Deprecate the 'jquery.badge' module
Only used in the PageTriage extension, which can provide it itself:
https://github.com/search?utf8=%E2%9C%93&q=%22jquery.badge%22+%40wikimedia+-repo%3Awikimedia%2Fjquery.badge+-repo%3Awikimedia%2Fmediawiki-debian&type=Code
Bug: T178450
Change-Id: Ibe4ff6a1f39fc554dcf4fc20cc214521d854f1ec
-rw-r--r-- | RELEASE-NOTES-1.30 | 3 | ||||
-rw-r--r-- | resources/Resources.php | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/RELEASE-NOTES-1.30 b/RELEASE-NOTES-1.30 index bec7b86b344d..bcdd4363f3e4 100644 --- a/RELEASE-NOTES-1.30 +++ b/RELEASE-NOTES-1.30 @@ -240,6 +240,9 @@ changes to languages because of Phabricator reports. * (T138166) SpecialEmailUser::getTarget() now requires a second argument, the sending user object. Using the method without the second argument is deprecated. * (T67297) Browsers that don't support Unicode will have their edits rejected. +* (T178450) The module 'jquery.badge' is deprecated and will be removed in a future + release. For notifying the user of an event, the Notifications ("Echo") system + should be used instead. == Compatibility == MediaWiki 1.30 requires PHP 5.5.9 or later. There is experimental support for diff --git a/resources/Resources.php b/resources/Resources.php index 7afd89d58a9e..b4a3f2f9aba4 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -165,6 +165,7 @@ return [ 'targets' => [ 'desktop', 'mobile' ], ], 'jquery.badge' => [ + 'deprecated' => 'Please use Notifications instead.', 'scripts' => 'resources/src/jquery/jquery.badge.js', 'styles' => 'resources/src/jquery/jquery.badge.css', 'dependencies' => 'mediawiki.language', |