Last modified: 2007-06-19 00:33:25 UTC
There are many times, when auto-numbering of headings in TOC is confusing (eg. when copying laws or poems on s:, creating texts on b: etc.) because headings already contain numbering themselves. Therefore it would be useful to have a chance to turn it off. __PLAINTOC__ should behave only as a modifier of TOC items numberring -> should not have the same function as __TOC__ or __FORCETOC__ (force appearing of TOC on place where in code), therefore it should be used along with them in case of necessity. Example: == Preamble == == 1. Foo == == 2. Bar == renders 1 Preamble 2 1. Foo 3 2. Bar but __PLAINTOC__ == Preamble == == 1. Foo == == 2. Bar == renders Preamble 1. Foo 2. Bar This can be done by skipping of rendering of <span class="tocnumber">#</span> in code.
Note that enwiki has a CSS style that allows an alternative method. Since we don't use actual ordered lists, though (and can't until there's widespread support for CSS3 lists), it may be best to have some way to do this in the HTML code.
(In reply to comment #1) > Note that enwiki has a CSS style that allows an alternative method. Since we > don't use actual ordered lists, though (and can't until there's widespread > support for CSS3 lists), it may be best to have some way to do this in the HTML > code. > Sure I know I can manipulate it via CSS (I've created {{SHORTTOC}} on cs:w: ages ago), but CSS hiding is just workaround. Not everybody is using monobook. Somebody may like to use the XHTML source only. Blind people use screen readers. Etc... Many reasons for not to have it in XHTML output.
*** This bug has been marked as a duplicate of bug 4127 ***