Updated mediawiki/extensions Project: mediawiki/extensions/WikidataPageBanner…


Updated mediawiki/extensions Project: mediawiki/extensions/WikidataPageBanner 4a5b5de59ebe11095d7cdab62b845a7961e9a977

Delay rendering of OOUI icons until banner rendering

Whereas Mustache templating library calls toString on any objects
passed to it, the API doesn't. This change delays the generation of
OOUI IconWidget until the rendering of the banner itself.

A new method expandIconTemplateOptions is now responsible for generating
html for icon and is done at parse time.

Other changes:
In icon definitions remove icon prefix since its unnecessary information
Update tests

Bug: T111304
Change-Id: I7f81678226f9fca48345e31a00a126e34b552675