X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bc6f258adb7e7b41371750d99e9803759143c316..b3054cb3d8f3cfae3b1c045e7715e6c127386459:/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb?ds=inline diff --git a/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb index 18c9d7e74..9af53d723 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb @@ -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;