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