On 02 Jul 2003 19:22:00 +0200, Erik Moeller erik_moeller@gmx.de gave utterance to the following:
The following features are currently tested on http://test.wikipedia.org :
- Automatic table of contents. A TOC-table is added to pages that contain
more than three headings. This table links to the individual sections within the article and hopefully makes navigation easier.
Not only is the markup of the TOC dreadfully invalid, it looks really weird seeing both bullets and numbers. How about omitting the numbers from the text and simply using ordered lists
<OL> <li>First section</li> <li>Second section <ol> <li>the second section has</li> <li>two subsections</li> </ol> </li> etc.
and set the list-types via the skin stylesheet: e.g. OL {list-style:upper-roman;} OL OL {list-style:decimal;} OL OL OL {list-style:lower-roman} This also leaves better scope for internationalization: list numberings include hebrew, katakana, georgian etc.