Jump to content

Manual:$wgUseSameSiteLegacyCookies

From mediawiki.org
Cookies: $wgUseSameSiteLegacyCookies
Send a legacy cookie with an ss0- prefix when SameSite=None is sent.
Introduced in version:1.34.3 (Gerrit change 608993; git #f8a7a1ac)
Deprecated in version:1.42.0 (Gerrit change 991101; git #7c81d82d)
Removed in version:1.42.0 (Gerrit change 991104; git #380d398f)
Allowed values:(boolean)
Default value:false (gerrit:608993, gerrit:612335, gerrit:615843)

Details

If true, when a cross-site cookie with SameSite=None is sent, a legacy cookie with an ss0- prefix will also be sent, without SameSite=None. This is a workaround for broken behaviour in Chrome 51-66 and similar browsers.

Addition

This variable was added in MediaWiki 1.35.0 (gerrit:608993).

It was backported to 1.34 as part of the MediaWiki 1.34.3 release (gerrit:612335).

It was also backported to 1.31 as part of the MediaWiki 1.31.9 release (gerrit:618543).

See also