uls-previous-languages is set separately for each path (e.g. /wiki and /w), which means they become inconsistent. After bug 49154 is fixed, it should use wgCookiePath for the path.
Version: master
Severity: minor
uls-previous-languages is set separately for each path (e.g. /wiki and /w), which means they become inconsistent. After bug 49154 is fixed, it should use wgCookiePath for the path.
Version: master
Severity: minor
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Spage | T51155 uls-previous-languages cookie set separately for each path | |||
Resolved | phuedx | T51154 Add remaining cookie config variables to JavaScript interface |
In the meantime, in resources/js/ext.uls.init.js change
$.cookie( mw.uls.previousLanguagesCookie, $.toJSON( previousLanguages ) );
to
$.cookie( mw.uls.previousLanguagesCookie, $.toJSON( previousLanguages ), { path: '/' } );
I submitted https://gerrit.wikimedia.org/r/#/c/73506/ , for some reason this bug isn't getting updated.