Manual:$wgCookieSameSite

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