hoo reopened this task as "Open".
hoo added a comment.

Actually I was (slightly) wrong here, while MMV is going to pick up the images automatically, it does not automatically load.
This is because the loading of the required RL modules is not (automatically) triggered.

This is because MMV loads [ 'mmv.head', 'mmv.bootstrap.autostart' ] (for non-file pages) only if OutputPage::getFileSearchOptions is non-empty. But for Wikibase entities, getFileSearchOptions is empty, as we register images without sha1 or timestamp in ParserOutput::addImage. I'm not sure how to proceed here… I don't see how MMV would be able to find out whether images exist on a page. Maybe Wikibase should actually also set the sha1 and timestamp?

As a TEMPORARY workaround the following _javascript_ could be added site-wide mw.loader.using( 'mmv.bootstrap.autostart' );.


TASK DETAIL
https://phabricator.wikimedia.org/T71456

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hoo
Cc: PokestarFan, Tgr, Aklapper, Matanya, Steinsplitter, Sjoerddebruin, Legoktm, Ricordisamoa, Lydia_Pintscher, hoo, Lahi, Gq86, GoranSMilovanovic, QZanden, V4switch, dachary, LawExplorer, Wong128hk, Wikidata-bugs, matthiasmullie, aude, Fabrice_Florin, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to