Mark jquery.throttle-debounce as deprecated

Bug: T213426
Change-Id: If1c165d479bc7b47f806fa20e103059bffc761f7
This commit is contained in:
Ed Sanders 2019-01-10 13:21:38 +00:00 committed by James D. Forrester
parent 7599feabb5
commit e2eda7e994
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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' ],
],