Open main menu

手册:$wgEmergencyContact

This page is a translated version of the page Manual:$wgEmergencyContact and the translation is 43% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎português do Brasil • ‎فارسی • ‎中文 • ‎日本語
电子邮件设置: $wgEmergencyContact
网站管理员电子邮件地址
引进版本:pre 1.1.0
移除版本:仍在使用
允许的值:(电子邮件地址)
默认值:false (1.22+)
'wikiadmin@' . substr( $wgServer, strrpos( $wgServer, '/' ) + 1 ) (pre 1.1.0 - 1.21)

详情

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.

1.13版本之前

MediaWiki版本: 1.13

This setting was very important before r38375. 它曾用于:

  • 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