|Determines whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even after logging out and moving to a new IP address, will still be blocked.
|Introduced in version:||1.29.0 ( )|
|Removed in version:||still in use|
|Other settings: Alphabetical | By function|
The cookie that is set will expire when the block expires or after
$wgCookieExpiration, whichever is shorter (the latter defaults to 30 days). This means that cookies for infinite blocks will also expire at this shorter time.
The cookie is named 'BlockID', prefixed with
$wgCookiePrefix. It's value is just the hashed block ID and no other data.
Since 1.29.0-wmf.18, localStorage functionality has been removed. For previous 1.29 versions, the cookie block was copied to localStorage. If the user deleted the cookie, it would be restored based on the localStorage entry, and vice versa. In case the cookie is deleted, it will be recreated from this (at the time when the user opens the page-editing form).