Podręcznik:$wgEmergencyContact
Email settings: $wgEmergencyContact | |
---|---|
Adres e-mail administratora witryny |
|
Wprowadzono w wersji: | Before 1.1.0 |
Usunięto w wersji: | nadal w użyciu |
Dozwolone wartości: | (adres e-mail) |
Domyślna wartość: | false (1.22+)'wikiadmin@' . substr( $wgServer, strrpos( $wgServer, '/' ) + 1 ) (pre 1.1.0 - 1.21) |
Inne ustawienia: Alfabetycznie | Według funkcji |
Szczegóły
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.
Wersja 1.13 i wcześniejsze
Wersja 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