From f9e530e49c588d5517e82e1b1739006476486629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 24 Nov 2022 13:51:09 +0100 Subject: [PATCH] Update parser tests for new heading HTML Bug: T13555 Depends-On: I1180169a8e83af834c2984ba16089e6277f2a8dd Change-Id: I0aed227994fd9c95d3d9612e33fec157ffa08772 --- tests/parser/pageImagesParserTests.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/parser/pageImagesParserTests.txt b/tests/parser/pageImagesParserTests.txt index 8bdd269..ca196a4 100644 --- a/tests/parser/pageImagesParserTests.txt +++ b/tests/parser/pageImagesParserTests.txt @@ -38,6 +38,7 @@ PageImages with best excluded by wgPageImagesLeadSectionOnly property=page_image_free !! config wgParserEnableLegacyMediaDOM=false +wgParserEnableLegacyHeadingDOM=false !! metadata property[page_image_free]=Thumb.png !! wikitext @@ -49,7 +50,7 @@ property[page_image_free]=Thumb.png !! html

-

Section[edit]

+

Section

[edit]

!! end @@ -60,6 +61,7 @@ PageImages with toc and image in heading property=page_image_free !! config wgParserEnableLegacyMediaDOM=false +wgParserEnableLegacyHeadingDOM=false !! wikitext __TOC__ == Hello [[File:Foobar.jpg]] == @@ -72,5 +74,5 @@ property[page_image_free]=Foobar.jpg -

Hello [edit]

+

Hello

[edit]
!! end