]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb
Mediawiki: increase autoblock period + spam filter regex
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-ConfirmEdit.inc.php.erb
index 18c9d7e74945f983c745c689ad147490dfad1045..9af53d723c4cd7de94ad71cb49123d4e2922e66b 100644 (file)
@@ -4,4 +4,8 @@ require_once( $IP.'/extensions/ConfirmEdit/ReCaptcha.php' );
 $wgCaptchaClass = 'ReCaptcha';
 $recaptcha_public_key = '<%= @public_key %>';
 $recaptcha_private_key = '<%= @private_key %>';
-$wgCaptchaTriggers['addurl'] = false;
+
+$wgCaptchaTriggers['addurl'] = true;
+$wgCaptchaTriggers['create'] = true;
+
+$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;