]> git.openstreetmap.org Git - chef.git/commitdiff
Wiki require validated email to edit
authorGrant Slater <git@firefishy.com>
Thu, 24 Dec 2015 16:53:07 +0000 (16:53 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 24 Dec 2015 16:53:07 +0000 (16:53 +0000)
cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index 4d0ed1e58465806c6fb03b6a2aa364868fdc5289..12d3fb16749af059f149d2e2f87b90c930230fc8 100644 (file)
@@ -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