Manual:$wgBlockDisablesLogin

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgBlockDisablesLogin and the translation is 45% complete.

Other languages:
English • ‎español • ‎日本語 • ‎polski • ‎português • ‎中文
Access: $wgBlockDisablesLogin
If set to true, blocked users will no longer be allowed to login
導入されたバージョン: 1.16.0 (r61694)
除去されたバージョン: 使用中
可能な値: 真偽値
既定値: false
他の設定: アルファベット順 | 機能順

詳細

If set to "true", blocked users will no longer be allowed to login. At runtime, any extra rights blocked users might have are removed as well (which is relevant, when the blocked user has a pre-existing session). Also, if he is logged in, the user gets logged out.

注記

When using this with a public wiki allowing to edit via IP addresses, the effect of logging out blocked users may actually be adverse; unless the user's IP address is also blocked (e.g. autoblock), logging the user out will again allow reading and editing, just as for anonymous visitors.

代替

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