From 7dc52ddeb2479043554aa05956b472e8c8098150 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 20 Sep 2016 17:11:00 +0100 Subject: [PATCH] mediawiki: Fix ReCaptcha key variable names --- .../templates/default/mw-ext-ConfirmEdit.inc.php.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.43.2