How can I configure MediaWiki to display numbers in titles?

Posted by Wikis on Server Fault See other posts from Server Fault or by Wikis
Published on 2011-03-18T11:28:14Z Indexed on 2012/12/20 5:04 UTC
Read the original article Hit count: 409

Filed under:

We would like to display numbers in the titles in our MediaWiki wiki.

Specifically: in the table of contents numbers are shown like this:

 1 Title
   1.1 Subtitle
 2 Another title

However, on the page the titles (that map to the table of contents) appear like this:

 Title
  text
 Subtitle
  text
 Another title
  text

That is, no numbers are shown.

How can we show numbers in the page contents?

There are three possible ways that this could be answered (that I can think of). In our order of preference, they are:

  1. Setting per user
  2. Setting per page
  3. Global setting (for all users)

© Server Fault or respective owner

Related posts about mediawiki