PortableInfobox/templates
alex4401 eb55d89e77
Output any image candidate markers generated by PageImages (#105)
* Output any image candidate markers generated by PageImages

wikimedia/mediawiki-extensions-PageImages#768464d changed how lead images are identified within PageImages, and since then an HTML comment in the form of `MW-PAGEIMAGES-CANDIDATE-$ID` is output by`doParserModifyImageHTML`, where the ID is an index in the extension output data's list of image metadata. These comments should find a way into the ParserOutput as the extension looks for those comments in a chosen document fragment when identifying qualifying candidates out of all images gathered through `onParserModifyImageHTML`.

This change does not affect compatibility with older PageImages (only the "new" hook's being called already).

* Default htmlAfter to null and update tests to expect it

Follow-up to my previous PageImages commit.
2023-07-24 11:13:33 -06:00
..
PortableInfoboxHorizontalGroupContent.hbs Add support for name attribute 2019-02-02 23:34:48 +01:00
PortableInfoboxItemData.hbs Add support for name attribute 2019-02-02 23:34:48 +01:00
PortableInfoboxItemGroup.hbs Add support for name attribute 2019-02-02 23:34:48 +01:00
PortableInfoboxItemHeader.hbs Add support for name attribute 2019-02-02 23:34:48 +01:00
PortableInfoboxItemMedia.hbs Output any image candidate markers generated by PageImages (#105) 2023-07-24 11:13:33 -06:00
PortableInfoboxItemMediaCollection.hbs Output any image candidate markers generated by PageImages (#105) 2023-07-24 11:13:33 -06:00
PortableInfoboxItemNavigation.hbs Add support for name attribute 2019-02-02 23:34:48 +01:00
PortableInfoboxItemSmartGroup.hbs Add support for name attribute 2019-02-02 23:34:48 +01:00
PortableInfoboxItemTitle.hbs Add support for name attribute 2019-02-02 23:34:48 +01:00
PortableInfoboxMarkupDebug.hbs Mustache -> Handlebars 2018-08-08 11:31:33 +02:00
PortableInfoboxPanel.hbs Render <panel> and <section> tags 2019-02-24 23:05:18 +01:00
PortableInfoboxWrapper.hbs Port new data and infobox attributes (#16) 2019-02-03 17:53:34 +01:00