Page MenuHomePhabricator

Unable to solve captcha on RTL languages due to bad element position
Closed, ResolvedPublic

Description

I've tried to add an external link on fa.wp, and the captcha block is inlined. Impossible to type the captcha code.

Screenshot - 28102015 - 13:59:57.png (383×745 px, 60 KB)

This seems to be specific to RTL languages: a test on a LTR wiki puts the captcha screen at the right place.

Screenshot - 28102015 - 14:02:13.png (496×1 px, 63 KB)

Event Timeline

Trizek-WMF raised the priority of this task from to Needs Triage.
Trizek-WMF updated the task description. (Show Details)
Trizek-WMF subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 249882 had a related patch set uploaded (by Mooeypoo):
Clean up captcha form and remove <link> to stylesheet

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

Change 249882 merged by jenkins-bot:
Clean up captcha form and remove <link> to stylesheet

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

Change 249910 had a related patch set uploaded (by Catrope):
Clean up captcha form and remove <link> to stylesheet

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

Change 249882 had a related patch set uploaded (by Mooeypoo):
Clean up captcha form and remove <link> to stylesheet

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

That fixes the immediate issue, so I've put that in the upcoming SWAT. However, it does break styles and scripts for CAPTCHAs completely, so we should come up with a proper fix that allows CAPTCHA implementations to add RL modules without that resulting in double-including a bunch of skin CSS.

Change 249910 merged by jenkins-bot:
Clean up captcha form and remove <link> to stylesheet

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

Change 249926 had a related patch set uploaded (by Mooeypoo):
Get captcha text in user language

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

Change 249926 merged by jenkins-bot:
Get captcha text in user language

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

Checked in betalabs - translation corrections to CAPTCHA are done and the captcha can be resolved..

Screen Shot 2015-11-02 at 9.51.10 AM.png (491×784 px, 58 KB)