Mark 'jquery.autoElllipsis' module as deprecated
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 17 Mar 2017 23:57:36 +0000 (16:57 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 18 Mar 2017 00:33:59 +0000 (17:33 -0700)
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

RELEASE-NOTES-1.29
resources/Resources.php

index ce3ae0d..0c483e9 100644 (file)
@@ -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)
   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 ==
 
 
 == Compatibility ==
 
index 2ed1489..2272dee 100644 (file)
@@ -160,6 +160,7 @@ return [
                'scripts' => 'resources/lib/jquery/jquery.async.js',
        ],
        'jquery.autoEllipsis' => [
                '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' ],
                'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
                'dependencies' => 'jquery.highlightText',
                'targets' => [ 'desktop', 'mobile' ],