Manual:$wgEmergencyContact
Appearance
(Redirected from $wgEmergencyContact)
Email settings: $wgEmergencyContact | |
---|---|
Site admin email address |
|
Introduced in version: | Before 1.1.0 |
Removed in version: | Still in use |
Allowed values: | (email address) |
Default value: | false (1.22+)'wikiadmin@' . substr( $wgServer, strrpos( $wgServer, '/' ) + 1 ) (pre 1.1.0 - 1.21) |
Other settings: Alphabetical | By function |
Details
[edit]This allows the site administrator to specify an email address that the wiki can contact if something goes wrong.
Current versions of MediaWiki (1.13 and above) do not use this setting, having delegated its uses to $wgPasswordSender
, but future versions or extensions might.
The installer automatically generates a value for this setting, and places it towards the top of LocalSettings.php .
The generated value will often be nonsensical ("apache@localhost" or similar), so be sure to change $wgEmergencyContact
and $wgPasswordSender
if they are incorrect like this.
Pre-1.13
[edit]MediaWiki version: | ≤ 1.13 |
This setting was very important before r38375. It was used for:
- Certain error messages displayed to users
- The return address for password reminders
- The default sender address of email notifications to wiki members, such as page change notifications and watchlist notifications