[Mediawiki-l] Printing Section Header Numbers

Platonides Platonides at gmail.com
Fri Aug 8 12:30:08 UTC 2008


John van V. wrote:
> What will this do?  "Add .tocnumber{display:none;}"
> 
> Will that remove the table of contents numbers?  Why would I want to do that
> if I want to add them to the main content section?

It will hide the toc numbering.

> What will this do? "then put the numbers you want in your wiki headers"

You write them as
== 1. Something ==
== 2. Something more ==
== 2.1 This wouldn't be caught right by the toc ==
== 3. Next item ==


If you didn't hide toc's numberm the toc would be double numbered:
1. 1. Something
2. 2. Something more
3. 2.1 Something
4. 3. Next item




More information about the MediaWiki-l mailing list