This page is a translated version of the page Manual:$wgCookieSameSite and the translation is 8% complete.
Cookies: $wgCookieSameSite
The SameSite cookie attribute used for login cookies.
Введено в версии:1.34.3 (Gerrit change 608993; git #f8a7a1ac)
Удалено в версии:всё ещё используется
Допустимые значения:"Lax", "Strict", "None" or an empty string/null
Значение по умолчанию:null (gerrit:608993, gerrit:612335, gerrit:615843)


This only applies to login cookies, since the correct value for other cookies depends on what kind of cookie it is.

SameSite=None is only permitted for HTTPS requests. See $wgForceHTTPS ).


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).

См. также