Last modified: 2014-03-07 11:44:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45951, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43951 - ULS search autocomplete doesn't handle RTL well: doesn't adapt direction, autocomplete text overlaps regular text
ULS search autocomplete doesn't handle RTL well: doesn't adapt direction, aut...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: rtl uls-deployment
  Show dependency treegraph
Reported: 2013-01-14 05:04 UTC by Yair Rand
Modified: 2014-03-07 11:44 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

LTR language name in RTL context (23.29 KB, image/png)
2013-03-20 20:35 UTC, Yair Rand

Description Yair Rand 2013-01-14 05:04:47 UTC
If a user using a ltr language starts typing in rtl characters into the search, or a rtl language user starts typing ltr characters in, ULS doesn't adapt the direction of the search field, making the autocomplete text overlap the regular text strangely.
Comment 1 Andre Klapper 2013-01-14 11:59:14 UTC
=> i18n keyword, blocking bug 745
Comment 2 Runa Bhattacharjee 2013-03-01 14:38:34 UTC
(In reply to comment #0)

Thanks for the report. It would help us to better identify the problem of text overlap if you could attach a screenshot or the exact steps of reproduction preferably with a suggested string. Thanks.
Comment 3 Andre Klapper 2013-03-20 14:33:19 UTC
Yair: Could you attach a screenshot and/or exact steps to reproduce, please?
Comment 4 Yair Rand 2013-03-20 20:35:00 UTC
Created attachment 11963 [details]
LTR language name in RTL context

Steps to reproduce: 
1. Have any ltr language selected.
2. Click the language button in the top bar to the immediate left of the link to one's userpage.
3. Type any Hebrew character ("א", for example) into the text box. 

Alternatively, have a rtl language selected and type an English string, for example "Eng" (pictured in screenshot).
Comment 5 Amir E. Aharoni 2013-08-28 18:00:14 UTC
This will require some magic with mixing placeholders and content with different direction. I'm not even sure that it's possible.

Another option is to add automatic direction detection - it's usually not perfect, but could work in this case.
Comment 6 Pavel Selitskas [wizardist] 2013-08-28 18:11:24 UTC
I cannot reproduce this behaviour in Chrome 29, Firefox 23.0.1 and Internet Explorer 10 @ Windows 7.

Note You need to log in before you can comment on or make changes to this bug.