From: Timo Tijhof Date: Fri, 17 Mar 2017 23:57:36 +0000 (-0700) Subject: Mark 'jquery.autoElllipsis' module as deprecated X-Git-Tag: 1.31.0-rc.0~3768^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=ac9308de40741254c619b685ab6e23b75c460f47 Mark 'jquery.autoElllipsis' module as deprecated It was originally introduced for jquery.searchSuggest, which hasn't used this since 2014 (56a4aff8ca61106c) when it was removed for performance reasons (T61172) in favour of CSS text-overflow. Deprecation is done the same way as for 'jquery.arrowSteps'. Bug: T160804 Change-Id: Ib7b37b94200a8802de9d98581d3cb42df6e5ba17 --- diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29 index ce3ae0d421..0c483e9974 100644 --- a/RELEASE-NOTES-1.29 +++ b/RELEASE-NOTES-1.29 @@ -259,6 +259,7 @@ changes to languages because of Phabricator reports. Also, some related hooks were deprecated, but this is not yet a breaking change. * Removed 'jquery.arrowSteps' module. (deprecated since 1.28) +* The 'jquery.autoEllipsis' ResourceLoader module is now deprecated. == Compatibility == diff --git a/resources/Resources.php b/resources/Resources.php index 2ed1489645..2272deeebf 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -160,6 +160,7 @@ return [ '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' ],