Merge "resources: Deprecate the 'jquery.badge' module"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 23 Oct 2017 17:43:26 +0000 (17:43 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 23 Oct 2017 17:43:26 +0000 (17:43 +0000)
RELEASE-NOTES-1.30
resources/Resources.php

index bec7b86..bcdd436 100644 (file)
@@ -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
index 7afd89d..b4a3f2f 100644 (file)
@@ -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',