Topic on Project:Support desk

ConfirmEdit/QuestyCaptcha works - but only with trigger "createaccount"

5
LiturgicaNotata (talkcontribs)

I'm managing a small musicological wiki (http://liturgica-notata.wiki.gwdg.de) and trying to keep it spamfree. I've installed several extensions, and the most effective so far seems to be QuestyCaptcha with some really special questions.

What bothers me is: QuestyCaptcha seems to be only triggered by "createaccount", though in the LocalSettings.php I have specified it to be triggered by "edit", "create", "createtalk", "addurl", "createaccount" und "badlogin"; "skipcaptcha" is "false" for "*" und "user" and true for "autoconfirmed". As an unregistered user, I can create and edit articles and talk-pages without captcha ("addurl" and "badlogin" I didn't try out).

What can be the cause for that funny behavior? And how can I change this? As all spammers in my wiki so far did create accounts, it is no serious problem, but I'd like to protect the other kinds of actions as well.

(I moved this question from Thread:Extension talk:ConfirmEdit/QuestyCaptcha works - but only with trigger "createaccount" since that page seems to be rather inactive.)

MarkAHershberger (talkcontribs)
LiturgicaNotata (talkcontribs)

Thank you for your answer!

I have fiddled around a lot with the GroupPermission-Settings in the beginning before I found the Lockdown-extension (which really works in the way I wanted it), so the section with GroupPermission is rather large (and maybe most of it unneccessary). For a test I deactivated all the GroupPermission-settings, but concerning the Captcha there was no change: still no captcha for editing a page as unregistered user. So I changed the settings back to the state before the test. As I mentioned Lockdown: That can't be the cause of the problem, since it was only installed after I discovered the Captcha-problem.

Here come my settings:

$wgGroupPermissions['*']['createaccount'] = true;
$wgGroupPermissions['*']['read'] = true;
$wgGroupPermissions['*']['edit'] = true;
$wgGroupPermissions['*']['createpage'] = false;
$wgGroupPermissions['*']['createtalk'] = true;
$wgGroupPermissions['*']['writeapi'] = true;

# Registrierte Nutzer dürfen auch nicht mehr als unregistrierte, bis die
# drei Tage Wartezeit um sind.

$wgGroupPermissions['user']['move'] = false;
$wgGroupPermissions['user']['move-subpages'] = false;
$wgGroupPermissions['user']['move-rootuserpages'] = false;
$wgGroupPermissions['user']['movefile'] = false;
$wgGroupPermissions['user']['read'] = true;
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['user']['createpage'] = false;
$wgGroupPermissions['user']['createtalk'] = true;
$wgGroupPermissions['user']['writeapi'] = true;
$wgGroupPermissions['user']['upload'] = false;
$wgGroupPermissions['user']['reupload'] = false;
$wgGroupPermissions['user']['reupload-shared'] = false;
$wgGroupPermissions['user']['minoredit'] = false;

# Autoconfirmed (als nach drei Tagen Wartezeit) hat dann weitgehende Rechte:

$wgGroupPermissions['autoconfirmed']['move'] = true;
$wgGroupPermissions['autoconfirmed']['move-subpages'] = true;
$wgGroupPermissions['autoconfirmed']['move-rootuserpages'] = true;
$wgGroupPermissions['autoconfirmed']['movefile'] = true;
$wgGroupPermissions['autoconfirmed']['read'] = true;
$wgGroupPermissions['autoconfirmed']['edit'] = true;
$wgGroupPermissions['autoconfirmed']['createpage'] = true;
$wgGroupPermissions['autoconfirmed']['createtalk'] = true;
$wgGroupPermissions['autoconfirmed']['writeapi'] = true;
$wgGroupPermissions['autoconfirmed']['upload'] = true;
$wgGroupPermissions['autoconfirmed']['reupload'] = false;
$wgGroupPermissions['autoconfirmed']['reupload-own'] = true;
$wgGroupPermissions['autoconfirmed']['minoredit'] = true;
$wgGroupPermissions['autoconfirmed']['purge'] = true;
$wgGroupPermissions['autoconfirmed']['sendemail'] = true;

# Stellt ein, welche Benutzergruppen ein captcha auflösen müssen:
$wgGroupPermissions['*'            ]['skipcaptcha'] = false;
$wgGroupPermissions['user'         ]['skipcaptcha'] = false;
$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;
$wgCaptchaTriggers['edit']          = true; 
$wgCaptchaTriggers['create']        = true; 
$wgCaptchaTriggers['createtalk']    = true; 
$wgCaptchaTriggers['addurl']        = true; 
$wgCaptchaTriggers['createaccount'] = true;
$wgCaptchaTriggers['badlogin']      = true;

# ermöglicht Erteilung von Benutzergruppenrechten:
# $wgGroupPermissions['sysop']['userrights'] = true;

no $wgCaptchaTriggersOnNamespace, no $wgCaptchaWhitelist, no $ceAllowConfirmedEmail.

MarkAHershberger (talkcontribs)

I think you've discovered a bug. I tried to duplicate this on a 1.19 wiki and was successful. Here's the bug. Please add any useful information to it.

Thanks!

LiturgicaNotata (talkcontribs)

Thank you for trying it out yourself! I hope now it can be fixed at bugzilla. I have bookmarked the page, and if I find something that might help I will add it.

Reply to "ConfirmEdit/QuestyCaptcha works - but only with trigger "createaccount""