Jump to content

Manual:$wgEmergencyContact

From mediawiki.org
This page is a translated version of the page Manual:$wgEmergencyContact and the translation is 29% complete.
Email settings: $wgEmergencyContact
Site admin email address
Introducido en la versión:antes de 1.1.0
Eliminado en la versión:aún se usa
Valores permitidos:(Dirección de correo electrónico)
Valor predeterminado:false (1.22+)
'wikiadmin@' . substr( $wgServer, strrpos( $wgServer, '/' ) + 1 ) (pre 1.1.0 - 1.21)

Detalles

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

Versión de MediaWiki:
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