X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c40b0afc7de0fe562b097ba570347032ec10c390..05d9e04459ff503314f7aa28c6fba5d751984921:/cookbooks/mediawiki/templates/default/LocalSettings.php.erb diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index e808f06a7..93aab016d 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -56,7 +56,6 @@ $wgEnotifUseJobQ = true; $wgSMTP = [ "host" => "localhost", - "localhost" => "<%= node[:fqdn] %>", "socket_options" => [ "ssl" => [ "verify_peer_name" => false @@ -139,7 +138,7 @@ $wgShellLocale = "en_US.utf8"; ## Set $wgCacheDirectory to a writable directory on the web server ## to make your wiki go slightly faster. The directory should not ## be publically accessible from the web. -#$wgCacheDirectory = "$IP/cache"; +$wgCacheDirectory = "$IP/cache"; # Site language code, should be one of the list in ./languages/Names.php $wgLanguageCode = "en"; @@ -232,10 +231,8 @@ $wgNamespacesWithSubpages[NS_MAIN] = true; # DNS Blacklists to use $wgEnableDnsBlacklist = true; $wgDnsBlacklistUrls = [ - 'proxies.dnsbl.sorbs.net.', - 'opm.tornevall.org.', - 'xbl.spamhaus.org.', - 'dnsbl-2.uceprotect.net.' + 'http.dnsbl.sorbs.net.', + 'dnsbl-1.uceprotect.net.' ]; # Require validated email to edit @@ -393,7 +390,8 @@ $wgForceUIMsgAsContentMsg = array( 'mainpage-url', 'mapfeatures-url', 'contribut <% end -%> <% if @name == "wiki.openstreetmap.org" -%> -# Placeholder for the wiki.openstreetmap.org specific config +# wiki.openstreetmap.org specific config loaded after extensions +$wgRCWatchCategoryMembership = true; <% end -%> <% if not(@mediawiki[:private_accounts]) and not(@mediawiki[:private_site]) -%>