Jump to content


From mediawiki.org
Cookies: $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 (Gerrit change 48029; git #1cc3a572)
Removed in version:still in use
Allowed values:(boolean)
Default value:true (1.34+)
false (1.29-1.33)


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

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

If $wgCookieSetOnAutoblock is set to false, no cookie will be set during the creation of an autoblock.

See Autoblock#Tracking for more information.

External links[edit]