Jump to content


From mediawiki.org
This page is a translated version of the page Manual:$wgUseSameSiteLegacyCookies and the translation is 36% complete.
Cookie: $wgUseSameSiteLegacyCookies
Send a legacy cookie with an ss0- prefix when SameSite=None is sent.
導入されたバージョン:1.34.3 (Gerrit change 608993; git #f8a7a1ac)
廃止予定になったバージョン:1.42.0 (Gerrit change 991101; git #7c81d82d)
除去されたバージョン:1.42.0 (Gerrit change 991104; git #380d398f)
既定値: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).