From: Grant Slater Date: Tue, 20 Sep 2016 16:11:00 +0000 (+0100) Subject: mediawiki: Fix ReCaptcha key variable names X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7dc52ddeb2479043554aa05956b472e8c8098150 mediawiki: Fix ReCaptcha key variable names --- 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 5b5ffffa6..50e1d4801 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb @@ -3,8 +3,8 @@ wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ) ); $wgCaptchaClass = 'ReCaptchaNoCaptcha'; $wgReCaptchaSendRemoteIP = true; -$recaptcha_public_key = '<%= @public_key %>'; -$recaptcha_private_key = '<%= @private_key %>'; +$wgReCaptchaSiteKey = '<%= @public_key %>'; +$wgReCaptchaSecretKey = '<%= @private_key %>'; $wgCaptchaTriggers['addurl'] = true; $wgCaptchaTriggers['create'] = true;