X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4f10eb951399adea7cd598b2d763969c735bc888..20e6d4524062198d6521c5e692e73c57984a322a:/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 e2759a02f..50e1d4801 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb @@ -1,7 +1,12 @@ '; +$wgReCaptchaSecretKey = '<%= @private_key %>'; + $wgCaptchaTriggers['addurl'] = true; +$wgCaptchaTriggers['create'] = true; + +$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;