Revert "Temporarily disable failing heading parser test case"

This reverts commit af76b17c7e.
No longer needed now that we've added an option for this.

The disabled test has drifted away from the reality in the meantime,
so update it.

Change-Id: Ifa906ad876eec9f09b151d21acf1de35168e1e03
This commit is contained in:
Bartosz Dziewoński 2024-04-19 19:55:21 +00:00
parent 6c80d95abe
commit fba65815c7

View file

@ -36,7 +36,6 @@ property[page_image_free]=Foobar.jpg
PageImages with best excluded by wgPageImagesLeadSectionOnly
!! options
property=page_image_free
disabled
!! config
wgParserEnableLegacyMediaDOM=false
!! metadata
@ -48,10 +47,10 @@ property[page_image_free]=Thumb.png
[[File:Foobar.jpg]]
!! html
<p><a href="/wiki/File:Thumb.png" class="image"><img alt="Thumb.png" src="http://example.com/images/e/ea/Thumb.png" decoding="async" width="135" height="135" /></a>
<p><span class="mw-default-size" typeof="mw:File"><a href="/wiki/File:Thumb.png" class="mw-file-description"><img src="http://example.com/images/e/ea/Thumb.png" decoding="async" width="135" height="135" class="mw-file-element" /></a></span>
</p>
<h2><span class="mw-headline" id="Section">Section</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&amp;action=edit&amp;section=1" title="Edit section: Section">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
<p><a href="/wiki/File:Foobar.jpg" class="image"><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" decoding="async" width="1941" height="220" /></a>
<p><span class="mw-default-size" typeof="mw:File"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img src="http://example.com/images/3/3a/Foobar.jpg" decoding="async" width="1941" height="220" class="mw-file-element" /></a></span>
</p>
!! end