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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15376, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13376 - Only use $wgEmergencyContact for "emergency" emails
Only use $wgEmergencyContact for "emergency" emails
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
1.12.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Manual:...
:
: 14999 (view as bug list)
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links