I've been unable to find an answer to the following online.
I've enabled auto-numbered headings in MediaWiki by adding the following to LocalSettings.php:
$wgDefaultUserOptions['numberheadings'] = 1;
However, I'd like there to be a period after the heading number, to distinguish it from the heading.
That is, I'd like:
2. This is a heading
instead of:
2 This is a heading
However, I'd prefer the number not to have a period after it in the case of sub-headings.
That is, I'd like:
2.1 This is a heading
not:
2.1. This is a heading
Does anyone know how to do this?
Thanks in advance for any help