From 0d60b1108855359598c9ce7c383c1e7a33beb116 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 24 Dec 2015 16:53:07 +0000 Subject: [PATCH] Wiki require validated email to edit --- cookbooks/mediawiki/templates/default/LocalSettings.php.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index 4d0ed1e58..12d3fb167 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -198,6 +198,9 @@ $wgNamespacesWithSubpages[NS_MAIN] = true; $wgEnableDnsBlacklist = true; $wgDnsBlacklistUrls = array( 'proxies.dnsbl.sorbs.net.', 'opm.tornevall.org.', 'xbl.spamhaus.org.' ); +#Redirect validated email to edit +$wgEmailConfirmToEdit = true; + #Disable Hit Counter for Performance $wgDisableCounters = TRUE; #Disable IP in Header to avoid cache issue -- 2.39.5