Last modified: 2013-07-15 04:28:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51155, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49155 - uls-previous-languages cookie set separately for each path
uls-previous-languages cookie set separately for each path
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
master
All All
: Low minor (vote)
: ---
Assigned To: spage
:
Depends on: 49154
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-04 20:40 UTC by Matthew Flaschen
Modified: 2013-07-15 04:28 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2013-06-04 20:40:47 UTC
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.
Comment 1 spage 2013-07-12 20:21:40 UTC
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.
Comment 2 Santhosh Thottingal 2013-07-15 04:28:00 UTC
Gerrit change #73506 merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links