Page MenuHomePhabricator

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

Description

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

Details

Reference
bz16160

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 10:23 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz16160.
bzimport added a subscriber: Unknown Object (MLST).
Huji created this task.Oct 28 2008, 1:35 PM
Huji added a comment.Oct 28 2008, 2:08 PM

I fixed it myself with r42730.

Restricted Application added a project: I18n. · View Herald TranscriptJun 2 2015, 2:21 PM