!! 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