Page MenuHomePhabricator

Broken autocomplete for Arabic scripts
Closed, ResolvedPublic

Description

autocomplete broken in arabic scripts

The highlighting used in the autocomplete JavaScript is problematic for languages (e.g. Farsi, Urdu, Arabic, ...) using Arabic script. When bolding is applied to matching characters, it breaks how the letters in the work ought to connect.

The problem occurs on the ItemView page, when selecting a site link page, and anywhere else the highlighting is used.

http://wikidata-test-repo.wikimedia.de/wiki/Data:Q2

For Arabic language scripts, I think bolding is unnecessary for autocomplete.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=33242

Attached:

wikidata-autocomplete-arabic.png (682×1 px, 97 KB)

Details

Reference
bz40300

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:56 AM
bzimport set Reference to bz40300.
bzimport added a subscriber: Unknown Object (MLST).

Use <b> but style it appropriately, or use <strong>.

<b> or <strong> cause the problem and it's not a solution.

That's a problem with MediaWiki in general, it has the same behaviour on the ar.wikipedia.

(In reply to comment #4)

Similar issue was fixed for Indic languages in
https://gerrit.wikimedia.org/r/#/c/18247/ in ULS

Err got confused. The above may be related but doesnt really fix the same problem. This bug is possibly a duplicate of bug 33242

It happens in regular search windows on Wikipedia, too. Moving to MediaWiki core. I wonder whether there's a dupe of it somewhere.

Of course it's a dupe - I should have read previous comments.

  • This bug has been marked as a duplicate of bug 33242 ***