手册:$wgBlockDisablesLogin

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgBlockDisablesLogin and the translation is 60% complete.
Outdated translations are marked like this.
Other languages:
English • ‎magyar • ‎polski • ‎中文 • ‎日本語
访问: $wgBlockDisablesLogin
如果设为true,则禁止被封禁的用户登录
引进版本:1.16.0 (r61694)
移除版本:仍在使用
允许的值:(布尔值)
默认值:false

详情

如果设为true,则禁止被封禁的用户登录。 At runtime, any extra rights blocked users might have are removed as well (which is relevant when the blocked user has an already existing session).

注释

When using this with a public wiki, or a wiki that allows unregistered editing, the effect of logging out registered blocked users may actually be adverse. Unless the user's IP address is also blocked (whether directly or via autoblock), logging the user out will again allow reading and editing as an IP address.

替代

An alternative to this setting might be using $wgAutopromote with APCOND_BLOCKED to create a group that revokes certain rights.