Jump to content


From mediawiki.org
This page is a translated version of the page Manual:$wgUseSameSiteLegacyCookies and the translation is 9% complete.
Cookies: $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)
Допустимые значения:(boolean)
Значение по умолчанию: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).

См. также