手册:包含敏感数据的MediaWiki配置设置列表

This page is a translated version of the page Manual:List of MediaWiki configuration settings containing sensitive data and the translation is 55% complete.

The following incomplete list of configuration settings should generally not be kept in LocalSettings.php because they can be served as plain text under several different conditions revealing your wiki admin account to the world. For information on securing them better, see 手册:保护数据库密码 . Some of these settings are from the MediaWiki core and others are from MediaWiki extensions.

Alphabetical list, sorted first by location

设置 位置 描述
$wgDBadminpassword Core 数据库管理密码
$wgDBadminuser Core 数据库管理用户名
$wgDBname Core 数据库名称
$wgDBpassword Core 数据库密码
$wgDBserver Core 数据库主机名或ip地址
$wgDBuser Core 数据库用户名
$wgSecretKey Core Used to increase cryptographic entropy when generating user_token
$wgSMTP Core Contains password for SMTP access
$wgUpgradeKey Core Password protecting the upgrade script
$wgReCaptchaPrivateKey Extension:ConfirmEdit Private key for access to the ReCaptcha site
$wgSecureHTMLSecrets Extension:Secure HTML Secret key strings to allow arbitrary HTML to be displayed

参见