Last modified: 2008-08-01 16:39:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13376 - Only use $wgEmergencyContact for "emergency" emails
Only use $wgEmergencyContact for "emergency" emails
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: 14999 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2008-03-15 02:53 UTC by Emufarmers
Modified: 2008-08-01 16:39 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Emufarmers 2008-03-15 02:53:52 UTC
I seem to be getting watchlist notifications from the email address set as $wgEmergencyContact; shouldn't $wgPasswordSender be used for this and other such routine emails?  I was under the impression that the emergency contact address was for internal messages the wiki might need to send.
Comment 1 Huji 2008-03-15 21:40:35 UTC
Or perhaps, if for some reason $wgPasswordSender is going to be used merely for sending passwords, a new global variable should be defined and used for such non-urgent emails.
Comment 2 Tim Starling 2008-03-18 02:01:08 UTC
There are no emergency emails. $wgEmergencyContact was originally displayed via the web when there was a database connection error. The user was instructed to send an email to that address to inform the administrator of the problem. This message has now been removed. When email notification was implemented, Tom found $wgEmergencyContact to be a convenient source of a site administrator email address.
Comment 3 Brion Vibber 2008-03-18 18:21:17 UTC
I'd recommend a couple of things:

1) Use $wgPasswordSender consistently for 'auto-generated emails to folks'. This would be relatively likely to be a 'do-not-reply' type of address which doesn't reach any human.

2) Perhaps, give the option to mail $wgEmergencyContact (eg, automatically) on various types of errors or alerts.
Comment 4 Brion Vibber 2008-08-01 16:29:36 UTC
*** Bug 14999 has been marked as a duplicate of this bug. ***
Comment 5 Brion Vibber 2008-08-01 16:39:40 UTC
Applied on trunk in r38374, on 1.13 in r38375:

* (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return
  address for page update notification mails.

Note that $wgEmergencyContact is now not currently in active use, but could
in theory be used for some kinds of failure notifications or to provide to
users to contact in case of failure, which I think was its original intention.
Certainly it's silly to throw an "emergency" contact on auto-sent mails!

There's also a $wgNoReplyAddress, which is currently used to add a Reply-To
header on notification mails. WTF? :)

We should probably refactor all this address crap...

Note You need to log in before you can comment on or make changes to this bug.