Merge "Actually make $wgNoReplyAddress default to $wgPasswordSender"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 18 Mar 2016 21:30:58 +0000 (21:30 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 18 Mar 2016 21:30:58 +0000 (21:30 +0000)
1  2 
includes/Setup.php

diff --combined includes/Setup.php
@@@ -443,6 -443,15 +443,6 @@@ $wgHtml5 = true
  $wgXhtmlDefaultNamespace = 'http://www.w3.org/1999/xhtml';
  $wgJsMimeType = 'text/javascript';
  
 -if ( !$wgHtml5Version && $wgAllowRdfaAttributes ) {
 -      // see http://www.w3.org/TR/rdfa-in-html/#document-conformance
 -      if ( $wgMimeType == 'application/xhtml+xml' ) {
 -              $wgHtml5Version = 'XHTML+RDFa 1.0';
 -      } else {
 -              $wgHtml5Version = 'HTML+RDFa 1.0';
 -      }
 -}
 -
  // Blacklisted file extensions shouldn't appear on the "allowed" list
  $wgFileExtensions = array_values( array_diff( $wgFileExtensions, $wgFileBlacklist ) );
  
@@@ -601,7 -610,7 +601,7 @@@ if ( !$wgPasswordSender ) 
        $wgPasswordSender = 'apache@' . $wgServerName;
  }
  if ( !$wgNoReplyAddress ) {
-       $wgNoReplyAddress = $wgNoReplyAddress;
+       $wgNoReplyAddress = $wgPasswordSender;
  }
  
  if ( $wgSecureLogin && substr( $wgServer, 0, 2 ) !== '//' ) {