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

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:List of MediaWiki configuration settings containing sensitive data and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎polski • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語

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 Manual:Securing database passwords. 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
$wgFbSecret 扩展:Facebook Password to Facebook application
$wgSecureHTMLSecrets Extension:Secure HTML Secret key strings to allow arbitrary HTML to be displayed
$wgSecurePasswordsSecretKeys Extension:SecurePasswords An array of three secret keys to be used when hashing passwords

参见