Page MenuHomePhabricator

Add a link: icons in Arabic too close to text
Closed, ResolvedPublic

Description

In Arabic Wikipedia, we see that the robot icon for the link suggestions is really up close to the text, with some extra whitespace being highlighted afterward:

image.png (134×300 px, 15 KB)

image.png (118×228 px, 6 KB)

Event Timeline

kostajh triaged this task as High priority.May 10 2021, 7:51 AM
kostajh lowered the priority of this task from High to Medium.

@MMiller_WMF for you information I tested with 3 different browsers (firefox, chrome and brave on GNU/linux), but it seems that the robot icon is normal if the language was Arabic:

Capture d’écran du 2021-05-10 20-46-40.png (231×492 px, 35 KB)

Capture d’écran du 2021-05-10 20-44-10.png (242×533 px, 28 KB)

Capture d’écran du 2021-05-10 20-48-05.png (294×595 px, 33 KB)

But I noticed the problem if the language was English/Latin:
Capture d’écran du 2021-05-10 20-53-52.png (272×538 px, 37 KB)

ar preference + en system

arPref_enSys.png (768×1 px, 150 KB)

en preference + ar system

enPref_arSys.png (652×972 px, 108 KB)

Change 689191 had a related patch set uploaded (by MewOphaswongse; author: MewOphaswongse):

[mediawiki/extensions/GrowthExperiments@master] Add a link: explicitly set annotation icon's margin for mixed directionality

https://gerrit.wikimedia.org/r/689191

ar preference + en system (updated)

arPref_enSys_after.png (678×926 px, 111 KB)

en preference + ar system (updated)

enPref_arSys_after.png (658×942 px, 115 KB)

Change 689543 had a related patch set uploaded (by Kosta Harlan; author: MewOphaswongse):

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.5] Add a link: explicitly set annotation icon's margin for mixed directionality

https://gerrit.wikimedia.org/r/689543

Change 689191 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Add a link: explicitly set annotation icon's margin for mixed directionality

https://gerrit.wikimedia.org/r/689191

Change 689543 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.5] Add a link: explicitly set annotation icon's margin for mixed directionality

https://gerrit.wikimedia.org/r/689543