Page MenuHomePhabricator

allow showing captchas on Wikibase items and properties
Open, MediumPublic

Description

It is currently not possible to show a captcha to the user when entering a URL in a Wikibase item or property. This should be possible.

Event Timeline

Lydia_Pintscher raised the priority of this task from to Medium.
Lydia_Pintscher updated the task description. (Show Details)
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 29 2015, 11:42 AM
Florian added a subscriber: Florian.

Just for information: If an edit fails because of a CAPTCHA (missing or not/false solved), the API should return all relevant information:

{"edit":{"captcha":{"type":"image","mime":"image/png","id":"1610928352","url":"/index.php?title=Special:Captcha/image&wpCaptchaId=1610928352"},"result":"Failure"}}

The url parameter is the link to load the captcha image from. With the id parameter and the value of the user (who solves the CAPTCHA) you can retry the save api call with the relevant data, e.g. (for an edit):

action=edit&format=json&title=Pagetitle&summary=&captchaid=1610928352&captchaword=edvfd // and all other required parameters

Hope that helps :P

If you manage a Wikibase instance and wonder why your users can't enter email addresses or URLs while you can as admin, you have probably hit this bug.