X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4f10eb951399adea7cd598b2d763969c735bc888..7dc52ddeb2479043554aa05956b472e8c8098150:/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb 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;