Extension:Lockout

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Lockout

Release status: beta

Implementation User rights, User identity, Special page
Description Prevent blocked users from logging in
Author(s) Duesentrieb for Wikimedia Deutschland
MediaWiki 1.15 (may work for earlier versions too). Obsolete in 1.16 and later.
License BSD
Download
log
Hooks used
UserLoadAfterLoadFromSession

AbortLogin

Check usage and version matrix

Lockout prevents blocked users from logging in. Should the user be logged in already, their session will be terminated. This is useful mostly for private/restricted wikis using $wgWhitelistRead, Lockdown or similar to restrict read access to at least some pages.

In MediaWiki 1.16 and later, use $wgBlockDisablesLogin instead.
When using this with a public wiki, the effect of logging out blocked users may actually be averse: unless the user's address is also blocked (e.g. auto-block), logging the user out will again allow reading and editing, just as for anonymous visitors.