手册:$wgBotPasswordsDatabase

From mediawiki.org
This page is a translated version of the page Manual:$wgBotPasswordsDatabase and the translation is 100% complete.
访问: $wgBotPasswordsDatabase
bot_passwords表的群集名称
引进版本:1.27.0 (Gerrit change 259066; git #Iaa4015e)
弃用版本:1.42.0 (Gerrit change 976765; git #be5593b1)
移除版本:仍在使用
允许的值:(字符串)或false
默认值:false

细节

定义bot_passwords 表的数据库名称,以便与新机器人认证系统一起使用。 要使用带有表前缀的数据库,请将此变量设置为“{$database}-{$prefix}”。 如果设置为false,则将使用常规数据库。 请注意,$wgEnableBotPasswords 必须设置为“true”(这是默认值)才能使其生效。

此变量的目标是支持机器人密码的跨维基共享:bot_passwords表通过中央ID引用用户,因此整个维基农场中只应存在一个表的实例。

这个配置参数是在Gerrit change 259066任务T121113)中引入的。

參見