r93387 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93386‎ | r93387 | r93388 >
Date:13:06, 28 July 2011
Author:diebuche
Status:reverted (Comments)
Tags:
Comment:
r93386 : Fix LabeledSectionTransclusion parser tests
Modified paths:
  • /trunk/extensions/LabeledSectionTransclusion/lstParserTests.txt (modified) (history)
  • /trunk/extensions/LabeledSectionTransclusion/lsthParserTests.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/LabeledSectionTransclusion/lstParserTests.txt
@@ -253,7 +253,7 @@
254254 !!input
255255 {{#lst:headings|head}}
256256 !!result
257 -<h2><span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Headings&amp;action=edit&amp;section=T-1" title="Headings">edit</a>]</span> <span class="mw-headline" id="section">section</span></h2>
 257+<h2><span class="mw-headline" id="section">section</span> <span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Headings&amp;action=edit&amp;section=T-1" title="Headings">edit</a>]</span></h2>
258258 <p>blah
259259 </p>
260260 !!end
@@ -263,7 +263,7 @@
264264 !!input
265265 {{#lst:headings|head2}}
266266 !!result
267 -<h2><span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Headings&amp;action=edit&amp;section=T-2" title="Headings">edit</a>]</span> <span class="mw-headline" id="section2">section2</span></h2>
 267+<h2><span class="mw-headline" id="section2">section2</span> <span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Headings&amp;action=edit&amp;section=T-2" title="Headings">edit</a>]</span></h2>
268268 <p>blah
269269 </p>
270270 !!end
@@ -285,10 +285,10 @@
286286 !!input
287287 {{#lst:lst_head_bounds|s}}
288288 !!result
289 -<h1><span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Lst_head_bounds&amp;action=edit&amp;section=T-3" title="Lst head bounds">edit</a>]</span> <span class="mw-headline" id="3">3</span></h1>
 289+<h1><span class="mw-headline" id="3">3</span> <span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Lst_head_bounds&amp;action=edit&amp;section=T-3" title="Lst head bounds">edit</a>]</span></h1>
290290 <p>hi
291291 </p>
292 -<h1><span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Lst_head_bounds&amp;action=edit&amp;section=T-4" title="Lst head bounds">edit</a>]</span> <span class="mw-headline" id="4">4</span></h1>
 292+<h1><span class="mw-headline" id="4">4</span> <span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Lst_head_bounds&amp;action=edit&amp;section=T-4" title="Lst head bounds">edit</a>]</span></h1>
293293
294294 !!end
295295
Index: trunk/extensions/LabeledSectionTransclusion/lsthParserTests.txt
@@ -80,7 +80,7 @@
8181 !!result
8282 <p>sec 2
8383 </p>
84 -<a name="3"></a><h3><span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=LsthSections&amp;action=edit&amp;section=3" title="LsthSections">edit</a>]</span> <span class="mw-headline">3</span></h3>
 84+<a name="3"></a><h3><span class="mw-headline">3</span> <span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=LsthSections&amp;action=edit&amp;section=3" title="LsthSections">edit</a>]</span></h3>
8585 <p>sec 3
8686 </p>
8787 !!end

Follow-up revisions

RevisionCommit summaryAuthorDate
r93434Reverted r93387 due to revert of r93386 in r93433...brion21:46, 28 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93386Redo r93284 ( Make editsection link more understandable by positioning it dir...diebuche12:26, 28 July 2011

Comments

#Comment by Brion VIBBER (talk | contribs)   21:46, 28 July 2011

Reverted in r93434 due to revert of r93386.

Status & tagging log