From 0ec66379d195e2955795c333c8c600dc478a4c7f Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Tue, 14 Feb 2023 15:56:07 -0500 Subject: [PATCH] Add explicit wgParserEnableLegacyMediaDOM config to pageImagesParserTests.txt In preparation for changing the default value. Bug: T314318 Change-Id: Ie1ae17aec283b41dfc086371b4627b665153f086 --- tests/parser/pageImagesParserTests.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/parser/pageImagesParserTests.txt b/tests/parser/pageImagesParserTests.txt index 978f862..c250c5d 100644 --- a/tests/parser/pageImagesParserTests.txt +++ b/tests/parser/pageImagesParserTests.txt @@ -4,10 +4,12 @@ PageImages with one image !! options property=page_image_free +!! config +wgParserEnableLegacyMediaDOM=false !! wikitext [[File:Foobar.jpg]] !! html -

Foobar.jpg +

property[page_image_free]=Foobar.jpg !! end @@ -16,12 +18,14 @@ property[page_image_free]=Foobar.jpg PageImages with two images !! options property=page_image_free +!! config +wgParserEnableLegacyMediaDOM=false !! wikitext [[File:Thumb.png]] [[File:Foobar.jpg]] !! html -

Thumb.png -Foobar.jpg +

+

property[page_image_free]=Foobar.jpg !! end