Last modified: 2011-03-13 18:05:13 UTC
The table of contents should probably move from magic words to a template syntax.
(In reply to comment #0)
> Add a magic word to have the Table of contents hidden by default when opening
If "hidden" means "not displayed", then __NOTOC__ might fit your needs.
If "hidden" means "collapsed", then it's not good idea. Collapsing of TOC should not depend on editor (= should not be forced by any magic word or whatever) but on reader (could be done via preferences such as "Show TOC collapsed" - which I would actually appreciate).
Agree, TOCs should not be collapsed on a per-article basis and this should not be added in the core software. Having a preference is an idea, however.
Yes, it means collapsed.
It wasn't as a reader option, but an editor one, for -i presume- big TOCs. Some kid of preference of 'Autocollapse TOCs with more than X elements may do it too'.
(In reply to comment #7)
> It wasn't as a reader option, but an editor one, for -i presume- big TOCs.
Bug 4127 is better suited to fix that.