Porting tocToggle to ResourceLoader
authorKrinkle <krinkle@users.mediawiki.org>
Fri, 24 Dec 2010 00:55:20 +0000 (00:55 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Fri, 24 Dec 2010 00:55:20 +0000 (00:55 +0000)
commit532c5c33b44db79c31dbde34b4824e702b77577c
tree03b96ec39dc8344ab4076b242f5c7ace1587f5a9
parent1a827a098413dcaa47d5c18c1c8ece194ef06bfa
Porting tocToggle to ResourceLoader
* Path is now set to sitewide rather than current path so that it doesn't apply to just the current article but to the entire domain (fixes bug 26324)
* To avoid cookievalue being overriden by an older cookie from the legacy code (which had a more specific path and thus overrides it), using a different cookiename now ("mw_hidetoc" instead of "hidetoc")
resources/Resources.php
resources/mediawiki.util/mediawiki.util.js
skins/common/wikibits.js