Page MenuHomePhabricator

Suggestions box should be resized from left for RTL wikis
Closed, ResolvedPublic


Function os_animateChangeWidth() on /skins/common/mwsuggest.js nicely resizes the search suggestions box if the content is larger than the default size of the box (which is equal to the size of the search box. However, if an RTL design is in use, this box should be resized from left (and not right).

To test the bug, simply go to an RTL wiki (Persian Wikipedia, for example) and type a word which results in long-title suggestions (such as "رده:" which stands for "Category:" and usually returns long-titled cat names) in the search box on the right. You'll see that, by resizing from the right side, parts of the suggestions box get out of the window limits, and this make the suggestions unreadable.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:23 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz16160.
bzimport added a subscriber: Unknown Object (MLST).

I fixed it myself with r42730.