http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89183
Revision: 89183
Author: hashar
Date: 2011-05-30 19:24:29 +0000 (Mon, 30 May 2011)
Log Message:
-----------
update parser tests for mw1.19
3 tests were failing since the header are followed with CRLF
and we no more use <a name="\d"></a> links.
Modified Paths:
--------------
trunk/extensions/LabeledSectionTransclusion/lstParserTests.txt
Modified: trunk/extensions/LabeledSectionTransclusion/lstParserTests.txt
===================================================================
--- trunk/extensions/LabeledSectionTransclusion/lstParserTests.txt
2011-05-30 18:58:07 UTC (rev 89182)
+++ trunk/extensions/LabeledSectionTransclusion/lstParserTests.txt
2011-05-30 19:24:29 UTC (rev 89183)
@@ -229,7 +229,7 @@
!!input
{{#lst:no such article|anything}}
!!result
-<p><a href="/index.php?title=No_such_article&action=edit&redlink=1"
class="new" title="No such article (not yet written)">No such article</a>
+<p><a href="/index.php?title=No_such_article&action=edit&redlink=1"
class="new" title="No such article (page does not exist)">No such article</a>
</p>
!!end
@@ -253,7 +253,7 @@
!!input
{{#lst:headings|head}}
!!result
-<a name="section"></a><h2><span class="editsection">[<a
href="/index.php?title=Headings&action=edit&section=T-1"
title="Headings">edit</a>]</span> <span class="mw-headline">section</span></h2>
+<h2><span class="editsection">[<a
href="/index.php?title=Headings&action=edit&section=T-1"
title="Headings">edit</a>]</span> <span class="mw-headline"
id="section">section</span></h2>
<p>blah
</p>
!!end
@@ -263,7 +263,7 @@
!!input
{{#lst:headings|head2}}
!!result
-<a name="section2"></a><h2><span class="editsection">[<a
href="/index.php?title=Headings&action=edit&section=T-2"
title="Headings">edit</a>]</span> <span class="mw-headline">section2</span></h2>
+<h2><span class="editsection">[<a
href="/index.php?title=Headings&action=edit&section=T-2"
title="Headings">edit</a>]</span> <span class="mw-headline"
id="section2">section2</span></h2>
<p>blah
</p>
!!end
@@ -285,10 +285,10 @@
!!input
{{#lst:lst_head_bounds|s}}
!!result
-<a name="3"></a><h1><span class="editsection">[<a
href="/index.php?title=Lst_head_bounds&action=edit&section=T-3"
title="Lst head bounds">edit</a>]</span> <span class="mw-headline">3</span></h1>
+<h1><span class="editsection">[<a
href="/index.php?title=Lst_head_bounds&action=edit&section=T-3"
title="Lst head bounds">edit</a>]</span> <span class="mw-headline"
id="3">3</span></h1>
<p>hi
</p>
-<a name="4"></a><h1><span class="editsection">[<a
href="/index.php?title=Lst_head_bounds&action=edit&section=T-4"
title="Lst head bounds">edit</a>]</span> <span class="mw-headline">4</span></h1>
+<h1><span class="editsection">[<a
href="/index.php?title=Lst_head_bounds&action=edit&section=T-4"
title="Lst head bounds">edit</a>]</span> <span class="mw-headline"
id="4">4</span></h1>
!!end
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs