# Extension talk:ConfirmEdit

 Archives

## Current Documentation Would Throw an Error

2

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?

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

Reply to "Current Documentation Would Throw an Error"

1

7

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.

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

1.31.0 and 1.5.1

wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);
$wgCaptchaClass = 'ReCaptchaNoCaptcha';$wgReCaptchaSiteKey = 'your public/site key here';
$wgReCaptchaSecretKey = 'your private key here';  I had the same issue. Are you using ReCaptcha v3 or v2 keys? I think this extension only supports v2 at the moment. v2. I haven't resolved the error, so I've reverted to QuestyCaptcha Reply to "Internal Error: recaptcha-api" ## Captacha is not showing up in visual editor 2 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) Same issue for me also. Reply to "Captacha is not showing up in visual editor" ## ReCaptcha v3 2 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. https://developers.google.com/recaptcha/docs/v3 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" ## Invisible reCAPTCHA 4 Is it able to apply invisible reCAPTCHA which validate requests in the background without checkbox? I'm guessing you mean NoCAPTCHA which the latest ConfirmEdit does support. Such a thing could be done, but it would require a small matter of programming. ## Missing ConfirmEdit.php in MediaWiki 1.31? 5 Summary by InkluPedia use "wfLoadExtension( 'ConfirmEdit' );" instead of "require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";" in LocalSettings.php

Hello. I am currently installing latest stable version MediaWiki 1.31 for my wiki InkluPedia. There is no ConfirmEdit.php in extensions/ConfirmEdit/ available. Can I use the file from MediaWiki 1.30? Thanks

Have you confirmed that the extension is nonfunctional without that file?

"php update.php" is complaining because of "require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";" in LocalSettings.php As this is still the official documentation at Extension:ConfirmEdit and the missing file is available in MediaWiki 1.29 and 1.30 I think it is missing. Found solution. Looks like "require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";" in LocalSettings.php is no longer working (because the file does not exists) but e. g. "wfLoadExtension( 'ConfirmEdit' );" is working. Something changed most likely from MediaWiki 1.30 to 1.31 here, because I fixed another affected extension (MobileFrontend) this way. Yes, I know that "require_once ..." is old and wfLoadExtension is new, but since MediaWiki 1.31 it is mandatory for at least two extensions because some files are no longer provided in extension archive.

10

Does nocaptcha still work with confirmedit for stopping spam? It shows up and works when I test it but, I am getting a huge influx of spam with it on? I am running 1.28.2 with ConfirmEdit 1.4.0 but just getting smashed by account creations and spam.

Same problem. Massive influx of new accounts and spam since the end of April. Was using noCAPTCHA for account creation only, then enabled it for every edit and page creation, but it continues. My only recourse has been to disable account creation and remove edit/create permissions for every group and create a new group to add known real people to.

Same issue, I turned off nocaptcha and switched to some new custom questy captcha and still getting a huge influx of account creation through. It must be some issue with mediawiki/confirmedit that they can bypass everything

I'm using it with MW 1.27.

and it is working? or it isnt?

Sorry. I should have said it is working.

Just re-verified that it is working to stop logins. It shows up for ConfirmAccount, but the result is ignored.

I am forcing HTTPS, http is redirected

Same problem here. I switched from QuestyCaptcha to Recaptcha/Nocaptcha because I thought Recaptcha is easier for users (they can click and don't have to type). But since then I get a lot of fake account creations. I have to switch back to QuestyCaptcha now.

Recaptcha worked fine on preventing spam on Extension:ContactPage however.

1

Is it possible to also have captcha appearing when you try to reset the password? Right now it is very easy to reset passwords even in order to reset passwords of other users (for whatever reason). So the question is if it is possible that when you are in Special:UserLogin and click on "forgot password" the captcha is appearing as well before the mail is sent.

Thanks and Kind regards