https://bugzilla.wikimedia.org/show_bug.cgi?id=26324
Platonides <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Platonides <[email protected]> 2010-12-13 18:37:43 UTC --- Sure it is. The toggleToc() code is doing just document.cookie = "hidetoc=1". "If [path is] not specified, defaults to the current path of the current document location". so your assessment is right. I think we should do instead: document.cookie = 'hidetoc=7; path=' + escape( wgArticlePath.replace("$1", "") ); (note that I use escape because it leaves / untranslated but escapes ;, not sure if there may be any other dangerours characters) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
