Jump to content

Manual:$wgCookieSetOnAutoblock

From mediawiki.org
Revision as of 23:52, 25 June 2017 by Kaldari (talk | contribs) (See Autoblock#Tracking for more information.)
Access: $wgCookieSetOnAutoblock
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 (git #1cc3a572)
Removed in version:Still in use
Allowed values:(boolean)
Default value:false

Details

The cookie that is set will expire when the block expires or after 24 hours, whichever is shorter. This means that cookies for infinite blocks will expire after 24 hours.

The cookie is named 'BlockID', prefixed with $wgCookiePrefix . It's value is just the hashed block ID and no other data.

See Autoblock#Tracking for more information.

[[Category:Cookies variablesTemplate:Translation]]