https://bugzilla.wikimedia.org/show_bug.cgi?id=25728

           Summary: Mail sender ("WikiAdmin") should be configurable
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Email
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: mediawiki-b...@cboltz.de


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
);

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to