Topic on Extension talk:ConfirmEdit

Cant get ConfirmEdit to load

5
Summary by Epastore

Make sure you're editing the right LocalSettings.php file. Heh.

Epastore (talkcontribs)

Hi. I have tried a few configurations, but ConfirmEdit doesn't seem to load, and Captchas aren't appearing on new account registration. Here is my version page.

ConfirmEdit does not appear; and QuestyCaptcha shows with no version information.

I have tried these different configurations in LocalSettings.php:

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

and

require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";

require_once "$IP/extensions/ConfirmEdit/QuestyCaptcha.php";

and

wfLoadExtension([ 'ConfirmEdit' ]);

wfLoadExtension([ 'ConfirmEdit/QuestyCaptcha' ]);

On all three tries, my Version page looks the same. I also tried ConfirmEdit for MW 1.29 and 1.27. My MediaWiki version is 1.28.1.

Any ideas what I am missing?

Kghbln (talkcontribs)

The version for 1.28.1 should work with

wfLoadExtensions( [
        'ConfirmEdit',
        'ConfirmEdit/QuestyCaptcha'
        ]
);
$wgCaptchaClass = 'QuestyCaptcha';
...

QuestyCaptcha not showing a version is expected, ConfirmEdit not showing up at all is obviously not.

I assume that you downloaded the tarball for MW 1.28

Epastore (talkcontribs)

Thanks, Kghbin. I have now tried adding the wgCaptchaClass. I also tried a copy/paste of your syntax (with linebreaks) out of an abundance of caution. Still no change. I only see tarballs for 1.27 and 1.29 at Special:ExtensionDistributor/ConfirmEdit but I've tried both with the same result.

It seems really weird that my other extensions are appearing. And that Questy is showing but not ConfirmEdit. I keep looking over, well, everything; and can't see any problem in my config. (File permissions seem fine; no problem with capitalization; no missing files I can identify; etc.) Rrg. Any more ideas?

Kghbln (talkcontribs)

You can currently still download the version for MW 1.28 from GitHub. To tell you the truth: I have no further idea why it is not working for you. You recently changed the script path from "w" to "mw" however this should not really make a difference. You placed the stuff in /mw/extensions/ConfirmEdit, didn't you?

Epastore (talkcontribs)

Argh! I was just starting to figure that out; thank you. Another admin had done a major upgrade, and I did not realize he made a whole new install in a new directory. I was modifying the file in the w directory. Just was noticing that no changes to LocalSettings were working. D'oh!

Thank you for your help!