jquery.suggestions, mediawiki.searchSuggest: Don't use jquery.autoEllipsis
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 4 Feb 2014 12:11:17 +0000 (13:11 +0100)
committerOri.livneh <ori@wikimedia.org>
Mon, 7 Apr 2014 18:52:26 +0000 (18:52 +0000)
commit56a4aff8ca61106c784dfa50eea3374aa934ebde
tree2fc1c13782de6ae8ba690c63aba1ede6968b8849
parentba6017b2d3ce3a8b92403c4fb5b8fcb023ca6d2d
jquery.suggestions, mediawiki.searchSuggest: Don't use jquery.autoEllipsis

(How's that for a loaded commit topic, huh?)

We can just use text-overflow: ellipsis, which is widely supported
these days. The result is a lot less code being loaded on every page
view and a lot less processing being done on the suggestions.

This changes the position of the ellipsis from the "middle" of the
text to the end of it. I don't think this is a problem.

Bug: 30309
Bug: 59172
Change-Id: I6fc229a292a90a3cbb945b58061ee99b0ac7f97d
resources/Resources.php
resources/jquery/jquery.suggestions.css
resources/jquery/jquery.suggestions.js
resources/mediawiki/mediawiki.searchSuggest.css
resources/mediawiki/mediawiki.searchSuggest.js