Last modified: 2010-11-07 09:31:10 UTC
Mediawiki sends all notification mails about changed pages using the sender name "WikiAdmin". This is hardcoded in includes/UserMailer.php, line 484: $adminAddress = new MailAddress( $wgPasswordSender, 'WikiAdmin' ); Now imagine you are working on multiple wikis - all will send you mails with the sender name "WikiAdmin", only the sender mail address differs ($wgPasswordSender). Please replace the hardcoded "WikiAdmin" with a configurable variable (which would default to WikiAdmin). Something like this: $adminAddress = new MailAddress( $wgPasswordSender, $wgPasswordSenderName );
*** Bug 25802 has been marked as a duplicate of this bug. ***
I agree. This variable could alternatively default to $wgSiteName to ease adoption.
I think we should allow $wgPasswordSender to be 'WikiOneo Admin <wiki1@myserver.com>'. The default $wgPasswordSender IS 'MediaWiki Mail <apache@serverName>' but that's not supported by MailAddress class, producing "WikiAdmin <MediaWiki Mail <apache@serverName>>"
Done in r76234.