!! Version 2 !! test PageImages with one image !! options property=page_image_free !! config wgParserEnableLegacyMediaDOM=false !! wikitext [[File:Foobar.jpg]] !! metadata property[page_image_free]=Foobar.jpg !! html

!! end !! test PageImages with two images !! options property=page_image_free !! config wgParserEnableLegacyMediaDOM=false !! wikitext [[File:Thumb.png]] [[File:Foobar.jpg]] !! metadata property[page_image_free]=Foobar.jpg !! html

!! end !! test PageImages with best excluded by wgPageImagesLeadSectionOnly !! options property=page_image_free disabled !! config wgParserEnableLegacyMediaDOM=false !! metadata property[page_image_free]=Thumb.png !! wikitext [[File:Thumb.png]] == Section == [[File:Foobar.jpg]] !! html

Thumb.png

Section[edit]

Foobar.jpg

!! end !! test PageImages with toc and image in heading !! options property=page_image_free !! config wgParserEnableLegacyMediaDOM=false !! wikitext __TOC__ == Hello [[File:Foobar.jpg]] == !! metadata property[page_image_free]=Foobar.jpg !! html

Hello [edit]

!! end