Darby Vicker wrote:
I still haven't really solved the root of this
problem but I do have a
very easy fix. The problem appears to be when you begin the page with
a section *(i.e. there is no text before the sections begin). So the
following doesn't work.
BEGIN WIKI TEXT
==Section 1==
===Subsection 1.1===
====Sub-subsection 1.1.1====
==Section 2==
===Subsection 2.1===
====Sub-subsection 2.1.1====
END WIKI TEXT
It looks like happening is that the two equal signs before "Section1"
and the last two equal signs after "Sub-subsection 2.1.1" are being
used for the section heading delimiters and everything in between is
being used for the section heading text. If I put any character (or
just a manual line return) before the first section, everything
formats correctly. So the following works just fine:
BEGIN WIKI TEXT
<br>
==Section 1==
===Subsection 1.1===
====Sub-subsection 1.1.1====
==Section 2==
===Subsection 2.1===
====Sub-subsection 2.1.1====
END WIKI TEXT
The same is true for the other example I gave in the first message -
putting any text or just a <br> before the "Code A" subsection fixes
the formatting for the entire page.
MediaWiki 1.12 is old, but I don't think any stock mediawiki version
produced that effect.
I can't reproduce it neither in 1.12 nor the current version.