Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgUseSameSiteLegacyCookies and the translation is 45% complete.
Other languages:
Deutsch • ‎English • ‎français • ‎日本語
Cookies: $wgUseSameSiteLegacyCookies
Send a legacy cookie with an ss0- prefix when SameSite=None is sent.
Introduit dans la version :1.34.3 (Gerrit change 608993; git #f8a7a1ac)
Retiré dans la version :Encore utilisé
Valeurs autorisées :(booléen)
Valeur par défaut :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).

Voir aussi