Jump to navigation Jump to search
Other languages:
English • ‎français • ‎日本語
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)
Removed in version:still in use
Allowed values:(boolean)
Default value:false (gerrit:608993, gerrit:612335, gerrit:615843)


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.


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[edit]