Revert "DefaultSettings.php: Remove $wgPasswordSenderName"
authorTTO <at.light@live.com.au>
Wed, 26 Feb 2014 06:06:17 +0000 (06:06 +0000)
committerTTO <at.light@live.com.au>
Wed, 26 Feb 2014 06:06:29 +0000 (06:06 +0000)
It seems that this variable is used by a whole
lot of extensions, so to remove it now would be
to break these other extensions.

This reverts commit acda2cc90aea519f41c8ae55bc4d05f02072df84.

Change-Id: I2bd3078508c0608ff58bae4c9ec456e57c617da8

includes/DefaultSettings.php

index b0ed35b..3526c96 100644 (file)
@@ -1329,6 +1329,13 @@ $wgPasswordSender = 'apache@' . $serverName;
 
 unset( $serverName ); # Don't leak local variables to global scope
 
+/**
+ * Password reminder name
+ *
+ * @deprecated since 1.23; use the system message 'emailsender' instead.
+ */
+$wgPasswordSenderName = 'MediaWiki Mail';
+
 /**
  * Dummy address which should be accepted during mail send action.
  * It might be necessary to adapt the address or to set it equal