https://bugzilla.wikimedia.org/show_bug.cgi?id=31608

--- Comment #1 from [email protected] 2011-10-11 13:28:23 UTC ---
Created attachment 9216
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9216
add api edit support

This patch implements addCaptchaAPI and removes ConfirmEdit, since it's
unnecessary - it seems it was reimplemented in ReCaptcha to detect when the
captcha had to be shown for the first time and not show an error message, but a
minor change to passCaptcha ( if ( $response === null ) { return false; } )
accomplishes that.

Because the api edit module sets wpCaptchaId and wpCaptchaWord, those are
passed to recaptcha as recaptcha_challenge_field and recaptcha_response_field
if the latter two are not set. The api returns only the public key and the
error message - the client can use this to ask the recaptcha server for a
captcha, it works in javascript at least.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to