Manual:$wgBlockDisablesLogin

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
English • ‎español • ‎日本語 • ‎polski • ‎português • ‎中文
Access: $wgBlockDisablesLogin
If set to true, blocked users will no longer be allowed to log in
Introduced in version: 1.16.0 (r61694)
Removed in version: still in use
Allowed values: boolean
Default value: false
Other settings: Alphabetical | By function

Details[edit]

If set to "true", blocked users will no longer be allowed to log in. 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 the user is logged in, they get logged out.

Note[edit]

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.

Alternative[edit]

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