MaxSem has uploaded a new change for review.
https://gerrit.wikimedia.org/r/114647
Change subject: Expect camelcase status codes from action=createaccount
......................................................................
Expect camelcase status codes from action=createaccount
Followup to efcf0a3f61b5bcdf5f9f6f716fa732b6afb9336e.
Bug: 61663
Change-Id: I1c8f1b7cd8cdf74b84869d6a58e5f5ca24b62184
(cherry picked from commit bfcd41732d2be412660a4e5b9b877dfcc777b5b0)
---
M Captcha.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ConfirmEdit
refs/changes/47/114647/1
diff --git a/Captcha.php b/Captcha.php
index 2152ab5..20b2dfd 100644
--- a/Captcha.php
+++ b/Captcha.php
@@ -828,7 +828,7 @@
* @return hook return value
*/
function addNewAccountApiResult( $apiModule, $loginPage, &$result ) {
- if ( $result['result'] !== 'success' &&
$this->needCreateAccountCaptcha() ) {
+ if ( $result['result'] !== 'Success' &&
$this->needCreateAccountCaptcha() ) {
$this->addCaptchaAPI( $result );
}
return true;
--
To view, visit https://gerrit.wikimedia.org/r/114647
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c8f1b7cd8cdf74b84869d6a58e5f5ca24b62184
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ConfirmEdit
Gerrit-Branch: wmf/1.23wmf14
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits