"Catrope" changed the status of MediaWiki.r104875 to "ok" URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/104875
Old status: new > New status: ok Commit summary for MediaWiki.r104875: Initial, pre-test, commit of modified patch for Bug 31608 - API edit support for reCAPTCHA >From the comment: 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. Will test and comment further. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview