This is necessary to write cookies correctly from JavaScript. At least one extension (wgCookiePath) is already exporting it for this reason.
Version: 1.22.0
Severity: normal
This is necessary to write cookies correctly from JavaScript. At least one extension (wgCookiePath) is already exporting it for this reason.
Version: 1.22.0
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | phuedx | T63979 Post-edit cookie does not properly clear when there is a custom domain | |||
Resolved | phuedx | T51156 Add mediawiki.cookie module to allow reading and writing cookies with correct settings | |||
Resolved | • Spage | T51155 uls-previous-languages cookie set separately for each path | |||
Resolved | phuedx | T51154 Add remaining cookie config variables to JavaScript interface |
We should just add all the remaining cookie variables, except wgCookieHttpOnly, which won't work in JavaScript. See bug 49156 about providing an easy to use cookie module, which requires this.
Except wgCookieSecure, due to technical limitations (a combination of how the config variable is modified in place and how the startup module is not protocol-relative); see https://gerrit.wikimedia.org/r/#/c/120806/