]> git.openstreetmap.org Git - chef.git/commitdiff
mediawiki: enable noreply config
authorGrant Slater <git@firefishy.com>
Tue, 2 Feb 2021 12:08:19 +0000 (12:08 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 2 Feb 2021 12:09:10 +0000 (12:09 +0000)
Enable noreply config in attempt to reduce bounce emails.

cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index 99670dc0f5fe0f591b401ab5bac397d9e16c67de..d425bb7fa39dd52dff2b3504df74fe4401704e61 100644 (file)
@@ -46,6 +46,7 @@ $wgEnableUserEmail  = true; # UPO
 $wgEmergencyContact = "<%= @mediawiki[:email_contact] %>";
 $wgPasswordSender   = "<%= @mediawiki[:email_sender] %>";
 $wgPasswordSenderName = "<%= @mediawiki[:email_sender_name] %>"; //Replaced by MediaWiki:Emailsender in v1.23.0
+$wgNoReplyAddress = "<%= @mediawiki[:email_sender] %>";
 
 $wgEnotifUserTalk      = true; # UPO
 $wgEnotifWatchlist     = true; # UPO