Forum:Collapsible sidebars

From Uncyclomedia, the UnMeta-wiki
Jump to: navigation, search
Forum: Home > Collapsible sidebars

Who wants them? Here, on individual wikis, or wherever... see Illogicopedia and Uncyclopedia-en for examples of how it winds up on the vector and monobook skins respectively. Seppy made it and I styled it. Innit purdy?

And would anyone object if I enabled it on UnCommons? ~ Pointy.png 22:20, 26 September 2011

Good for me. I don't think anybody disagrees | CartoonistHenning (talk) 08:39, 27 September 2011 (UTC)
Done. Also hit the sidebar in general with a mallet. Tried to base it after Commons, but there just wasn't that much stuff to even link to. O_o ~ Pointy.png 15:30, 28 September 2011
Nice, really. I managed changing the sidebar here too. However, when I tried it on Oncyclopedia, it failed. What did I do wrong, did I oversee something? Vector.js not suitable on other languages? CartoonistHenning (talk) 23:06, 28 September 2011 (UTC)
Looks like server lag; I checked the script and it looks like you just copied it straight off uncommons, and it does work there in personal js, so... Mind, just copying them directly won't necessarily yield the best results, even if it does yield results - need to customise which sections default to collapsed (by setting them to 'true' in that array at the bottom, that's what that's for; first value is the first collapsible section, second is the second, and so on), as there's really no universal catch-all that'll make sense for every wiki, and also need set the selectors and css to do the right thing for the wiki in question. In some cases the navigation won't be skipped and/or styled properly because of inconsistencies in the navigation naming, for instance, so you need to watch out for that. ~ Pointy.png 04:30, 29 September 2011
I tried at least... very strange that the code doesn't work on a wiki with the same hosting (however I do not think hosting has something to do with it). May difference in language be a logical conclusion? I've really no idea | CartoonistHenning (talk) 14:24, 29 September 2011 (UTC)
Seeing as the names are canonical and the relevant css did work, it doesn't seem likely that language has anything to do with it. System messages have lagged in taking effect elsewhere, however. ~ Pointy.png 15:47, 29 September 2011