X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0a6dd09b9cd9d1c493c15adfd25b880f505e9af..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 56e0b640a..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,9 +1,10 @@ '; -$recaptcha_private_key = '<%= @private_key %>'; +wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ) ); +$wgCaptchaClass = 'ReCaptchaNoCaptcha'; +$wgReCaptchaSendRemoteIP = true; +$wgReCaptchaSiteKey = '<%= @public_key %>'; +$wgReCaptchaSecretKey = '<%= @private_key %>'; $wgCaptchaTriggers['addurl'] = true; $wgCaptchaTriggers['create'] = true;