Revert
r25260; breaks several parser tests cases, seems to be borking up section IDs.
8 previously passing test(s) now FAILING! :(
* Basic section headings [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (
r25250) and 29-Aug-2007 15:55:07, 1.11alpha (
r25289)]
* Section headings with TOC [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (
r25250) and 29-Aug-2007 15:55:07, 1.11alpha (
r25289)]
* Handling of sections up to level 6 and beyond [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (
r25250) and 29-Aug-2007 15:55:07, 1.11alpha (
r25289)]
* TOC regression (
bug 9764) [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (
r25250) and 29-Aug-2007 15:55:07, 1.11alpha (
r25289)]
* TOC with wgMaxTocLevel=3 (
bug 6204) [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (
r25250) and 29-Aug-2007 15:55:07, 1.11alpha (
r25289)]
* Resolving duplicate section names [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (
r25250) and 29-Aug-2007 15:55:07, 1.11alpha (
r25289)]
* Fuzz testing: Parser14 [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (
r25250) and 29-Aug-2007 15:55:07, 1.11alpha (
r25289)]
* -{}- tags within headlines (within html for parserConvert()) [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (
r25250) and 29-Aug-2007 15:55:07, 1.11alpha (
r25289)]
Sample:
--- /tmp/mwParser-557844546-expected 2007-08-29 15:55:46.000000000 +0000
+++ /tmp/mwParser-557844546-actual 2007-08-29 15:55:46.000000000 +0000
@@ -1,16 +1,16 @@
<table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div>
<ul>
-<li class="toclevel-1"><a href="#Level_1_Heading"><span class="tocnumber">1</span> <span class="toctext">Level 1 Heading</span></a>
+<li class="toclevel-1"><a href="#_Level_1_Heading"><span class="tocnumber">1</span> <span class="toctext">Level 1 Heading</span></a>
<ul>
etc