Extension talk:ConfirmEdit

Jump to navigation Jump to search

About this board


Problem with Confirm edit for 1.34

1 (talkcontribs)


I am trying to use ConfirmEdit with Recaptacha but i get an error at the top of the page when i enable it, do anyone know why? i have the latest version of the extension and i am running Mediawiki 1.34. the error goes away when i dissable the extension.


Deprecated: Use of Using $ceAllowConfirmedEmail is deprecated, please migrate to $wgAllowConfirmedEmail as a replacement. is deprecated. [Called from require_once in /includes/Setup.php at line 906] in /includes/debug/MWDebug.php on line 333



wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);

$wgCaptchaClass = 'ReCaptchaNoCaptcha';

$wgReCaptchaSiteKey = '';

$wgReCaptchaSecretKey = '';

Reply to "Problem with Confirm edit for 1.34"

ConfirmEdit or Google ReCaptcha v2 not working?

Chuck.Kahn (talkcontribs)

Recent flood of new spam users on my Wiki over the last 12 days.


How do I stop this flood? I've had ConfirmEdit installed with Google ReCaptcha v2 on this Wiki since 16/08/2018. Did Google ReCaptcha v2 change something? I have been using the same set of Google ReCaptcha keys on two different Wiki domains. Was that the problem? I just now created separate keys for each Wiki. The other Wiki's newuser list is here:


And here's my LocalSettings.php setting:

wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);

$wgCaptchaClass = 'ReCaptchaNoCaptcha';

$wgReCaptchaSiteKey = 'your public/site key here';

$wgReCaptchaSecretKey = 'your private key here';

I opened a Chrome Guest window and was freely able to create a Test page on my Wikis without being logged in. Shouldn't ConfirmEdit be... confirming the creation of new pages in that situation?

Dinoguy1000 (talkcontribs)

I was going to say that ConfirmEdit + ReCaptcha v2 is incompatible with VisualEditor (per these edits), but it appears that your wikis don't use VisualEditor. I guess this module is simply broken somehow.

I can't offer a fix, but I will suggest that if you can, to switch to the QuestyCaptcha module; with unique question/answer pairs, it completely eliminates automated spam unless the spammer decides to specifically target your wikis (and even then, you can simply switch out the question/answer pairs).

Chuck.Kahn (talkcontribs)

So I #-d out the ReCaptcha lines and added these QuestyCaptcha lines and tried creating a Test7 page in a Guest Chrome window and again got no prompt. Same creating a Test8 page from another PC.

wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/QuestyCaptcha' ]);

$wgCaptchaQuestions = [

'What is the capital of France?' => 'Paris',

'What is the capital of Spain' => 'MADRID', // Answers are case insensitive

'What is the name of this wiki?' => $wgSitename, // You can use variables

'How many fingers does a hand have?' => [ 5, 'five' ], // A question may have many answers


Chuck.Kahn (talkcontribs)

Tried creating a new page today in a Guest Window and was prompted with the QuestCaptcha question 'What is the capital of Spain' -- so it works now. I didn't change anything from yesterday but today it works.

Reply to "ConfirmEdit or Google ReCaptcha v2 not working?" (talkcontribs)

hi, install this extension and use the questy captcha but I would like to use images how can I do it?

Reply to "use images"

The ReCaptcha/NoCaptcha is invisible

Deimos (talkcontribs)

Once I add the captcha (v2, I'm not a robot one) it does add message "Enter captcha" on the wiki, but its invisible and you can't click on it, therefore its impossible to do anything.

Kghbln (talkcontribs)

Look at the browser console to see what happens, i.e. if errors are shown. It may e.g. be that a Content Security Policy (CSP) is enabled for the wiki that prevents the NoCaptcha code from being loaded. Happened to me once.

Reply to "The ReCaptcha/NoCaptcha is invisible"

Internal Error: recaptcha-api

TheNaJo (talkcontribs)

Get this error message when someone tries to create an account: "CAPTCHA verification failed due to internal error: recaptcha-api"

The keys I have are valid. The site key is correct (because when I modify it, the captcha doesn't work, just says "invalid site key"). I have gone over the secret key multiple times. I even created a second set of keys.

MarkAHershberger (talkcontribs)

From your Special:Version, what version of ConfirmEdit are you using? What version of MediaWiki?

TheNaJo (talkcontribs)

1.31.0 and 1.5.1

MarkAHershberger (talkcontribs)

What is the configuration in your LocalSettings.php to enable recaptcha?

TheNaJo (talkcontribs)
wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);
$wgCaptchaClass = 'ReCaptchaNoCaptcha';
$wgReCaptchaSiteKey = 'your public/site key here';
$wgReCaptchaSecretKey = 'your private key here';
Gboyers (talkcontribs)

I had the same issue. Are you using ReCaptcha v3 or v2 keys? I think this extension only supports v2 at the moment.

TheNaJo (talkcontribs)

v2. I haven't resolved the error, so I've reverted to QuestyCaptcha

Gboyers (talkcontribs)

I solved this because I was using $wgReCaptchaPrivateKey not $wgReCaptchaSecretKey - maybe double-check that

Reply to "Internal Error: recaptcha-api" (talkcontribs)

An internal error occurred: 5663848F2B2A0.A0D1A16.720D6DEB

Please help. This error accure when trying to Signing up.

PrometheusAla (talkcontribs)

I've changed captcha type to RecaptchaNoCapture and double checked security keys from Google. There is no errors on page but captcha also not showing. What else should be updated in mediawiki (in LocalSettings), I've updated it from 1.28 to 1.30 manually? Please help. (talkcontribs)

Any luck here? I'm running into the same issue.

Reply to "reCaptcha not working"

Current Documentation Would Throw an Error

3 (talkcontribs)

In the ConfirmEdit page it states this:

// If your MediaWiki version is 1.25 or higher, use this line:

wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/QuestyCaptcha' ]);

This is incorrect, using an array in wfLoadExtensions would throw an array->string conversion and on top of that it won't work. However, passing "ConfirmEdit/QuestyCaptcha" as a string in the function does work fine. Does it mean actually "1.25 or LOWER" or is this misdocumentation? (talkcontribs)

Nevermind, I didn't see the // Else use these lines: part.

机智的小鱼君 (talkcontribs)



Then add

wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);
Reply to "Current Documentation Would Throw an Error"

Captacha is not showing up in visual editor

2 (talkcontribs)

I enbaled the captcha 'nocaptcha' on edit page for anonymous user. It works for standard edit, but it doesn't with the visual editor. In fact the captcha is not displayed but it also impossible to save (error is thrown) (talkcontribs)

Same issue for me also.

Reply to "Captacha is not showing up in visual editor"
Gboyers (talkcontribs)

Could this extension be updated to support Google ReCaptcha v3? It looks like a different implementation, returning a score based on a range of things, rather than pass/fail from the popup.


Kghbln (talkcontribs)

I suggest to create an issue for it at Phabricator I doubt that the developers have a frequent look at this talk page.

Reply to "ReCaptcha v3"
PlavorSeol (talkcontribs)

Is it able to apply invisible reCAPTCHA which validate requests in the background without checkbox?

MarkAHershberger (talkcontribs)

I'm guessing you mean NoCAPTCHA which the latest ConfirmEdit does support.

PlavorSeol (talkcontribs)
MarkAHershberger (talkcontribs)

Such a thing could be done, but it would require a small matter of programming.