On Tue, Dec 4, 2012 at 4:52 AM, Daniel Kinzler <dan...@brightbyte.de> wrote:
> There's another closely related problem, btw: showing captchas. How can that 
> be
> implemented at all for API based, atomic edits? Would the API return a special
> error, which includes a link to the captcha image as a challange? And then
> requires thecaptcha's solution via some special arguments to the module call?
> How can an extension controll this? How is this done for the API's action=edit
> at present?

The ConfirmEdit extension hooks APIGetAllowedParams and
APIGetParamDescription to add its info to the help output, and
APIEditBeforeSave to check the captcha and/or add the captcha items to
the response.

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to