From: Ed Sanders Date: Thu, 10 Jan 2019 13:21:38 +0000 (+0000) Subject: Mark jquery.throttle-debounce as deprecated X-Git-Tag: 1.34.0-rc.0~2916 X-Git-Url: http://git.cyclocoop.org/data/%7BGarradin/WEBSITE%7D?a=commitdiff_plain;h=e2eda7e994b29ae4990ce994faa0367ad53c65d8;p=lhc%2Fweb%2Fwiklou.git Mark jquery.throttle-debounce as deprecated Bug: T213426 Change-Id: If1c165d479bc7b47f806fa20e103059bffc761f7 --- diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index 027aacd776..69ab560501 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -229,6 +229,8 @@ because of Phabricator reports. * (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit testing code for your JavaScript modules, is deprecated. Instead, you can now use the new extension registration key 'QUnitTestModule'. +* (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript + code that needs this behaviour should use OO.ui.debounce/throttle. === Other changes in 1.33 === * (T208871) The hard-coded Google search form on the database error page was diff --git a/resources/Resources.php b/resources/Resources.php index 83f11f865e..f807228f8c 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -337,6 +337,8 @@ return [ 'targets' => [ 'mobile', 'desktop' ], ], 'jquery.throttle-debounce' => [ + 'deprecated' => 'Please use OO.ui.throttle/debounce instead. See ' + . 'https://phabricator.wikimedia.org/T213426', 'scripts' => 'resources/lib/jquery.ba-throttle-debounce.js', 'targets' => [ 'desktop', 'mobile' ], ],