Page MenuHomePhabricator

Mobile editor doesn't support captcha
Closed, ResolvedPublic

Description

Author: jgonera

Description:
Mobile editor doesn't display the captcha if a given wiki requires it to accept the edit. A good example is eswiki. If you are an editor with less than 50 edits and include an external link or an e-mail address in your edit, the edit will fail in the mobile editor.

Unfortunately, as it is now, the editor will show a success message and close, but will not save anything, making the user lose their changes.


Version: unspecified
Severity: normal

Details

Reference
bz52047

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:48 AM
bzimport set Reference to bz52047.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Jul 25 2013, 7:12 PM

jgonera wrote:

Request that triggered captcha

Adding a link to external website or e-mail address seems to trigger it, but not always.

Attached:

jgonera wrote:

Response from the captcha

Contains a URL to the image, so it should be possible to show the captcha.

Attached:

Change 76215 had a related patch set uploaded by JGonera:
Show error message on CAPTCHAs and extension errors

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

Change 76215 merged by jenkins-bot:
Show error message on CAPTCHAs and extension errors

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

jgonera wrote:

Definitely not fixed. Captcha is still not supported.

Change 76633 had a related patch set uploaded by MaxSem:
Show error message on CAPTCHAs and extension errors

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

Change 76633 merged by jenkins-bot:
Show error message on CAPTCHAs and extension errors

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

mgrover wrote:

Max deployed today and I tested. Looks good

mgrover wrote:

Max added additional error messaging but the issue still exists so reopening.

Note I use recaptcha on my wiki and this is the result:
yeyyy incompatible captcha api responses!

{"edit":{"captcha":{"type":"recaptcha","mime":"image/png","key":"6Lc0HuYSAAAAAJ2UgBO-2daReWc9Xhztq166yxG7","error":null},"result":"Failure"}}

jgonera wrote:

Let's implement only FancyCaptcha for now. As far as I know, that's the only captcha used in WMF projects.

Change 85150 had a related patch set uploaded by JGonera:
Story 1163: Mobile Captcha support for editing

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

Change 85150 merged by jenkins-bot:
Story 1163: Mobile Captcha support for editing

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