Manual:$wgBlockDisablesLogin/zh

详情
如果设为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 with   to create a group that revokes certain rights.