Forum:Table of Contents Always Collapsed

Anyone know how to make the Table of Contents always collapsed on the enitre wiki? Thanks! Ltearth 03:47,12/23/2011


 * This can't be done in the manner you are wanting to do so. Logged out users always see the ToC collapsed, so using code to toggle the ToC would show the ToC always open for anonymous users. So, in the attempt to halt if for a certain group, you alter it for the rest. Rappy 05:29, December 23, 2011 (UTC)


 * Why don't Wikia sort this out? Whether the TOC is open or closed changes the look of a page massively, and yet (the majority of) logged-in users have the TOC open, and all anons see it hidden. Why? It makes it really hard to format the page to look good for everyone. Added to this is the fact that you can't toggle the show/hide thing in preview mode on the fun new editor's preview.-- Category:Acer4666 00:44, January 4, 2012 (UTC)


 * This isn't something 'Wikia should sort out'. It's core MediaWiki that handles it this way. You shouldn't base formatting of the page on a TOC. The page should flow regardless of the TOC. You can use magic words such as and to control where it shows up or whether it shows up all. User Preferences can hide the TOC altogether, so you can't assume you know what everyone's preferences are when creating a page's structure. It's best if you find a way to present the information on a page regardless of the TOC being open or closed. Rappy 02:17, January 4, 2012 (UTC)


 * "core mediawiki handles it this way"? Can you show me any other wiki not on wikia that has tables of contents auto-hidden for anonymous users, and by default shown for logged-in users? It makes no sense. Wikia already "assumes" everyone's preference is to show them, as that is by default what all users are set to, and I bet the vast majority aren't even aware of the option to hide them. And I don't format my pages based on the TOC, but having an extra 20 lines or not on a page alters the look of it whether we like it or not. I know I can suppress them on any given page, but I think they are useful, as long as appear the same to the majority of people (rather than splitting viewers into two large groups and treating them differently)-- Category:Acer4666 19:49, January 4, 2012 (UTC)