The ImageMap extension emits markup with typeof="mw:Extension/imagemap", not standard parsoid image markup. For this reason, the bundler does not include those images in the bundler (and the renderer does not render them, either). The GraphViz extension is also affected, since it uses ImageMap for its output.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T94795 Support ImageMap extension in OCG bundler & renderer | |||
Resolved | Arlolra | T94793 Support ImageMap extension in Parsoid | |||
Resolved | cscott | T254181 Run parserTests with Parsoid in extension repos | |||
Resolved | cscott | T234932 Parsoid srcset is inconsistent with core |
Event Timeline
Note that GraphViz emits markup with typeof="mw:Extension/graphviz" and typeof="mw:Extension/mscgen". So, even though GraphViz uses ImageMap for generating HTML output, making the OCG bundler and renderer recognize mw:Extension/imagemap won't help GraphViz.
As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.
So this is still valid for Electron? Probably the task description needs to be updated.
@Samwilson Have you already tried to get GraphViz and Electron working as a pair? If not there should probably be a separate task for it due to T94795#1201023.
@Kghbln no, I've not yet (because to be honest I haven't even been able to get electron working locally yet) but would like to do so.
(because to be honest I haven't even been able to get electron working locally yet)
Oh dear, who would have guessed that mwlib is still the "easiest" "working" solution even years after it was abandoned. I am a bit scared now. O_o Still there is no way around going electron I believe so if you could document your findings on how to do it once you have succeeded doing it that will be great. Very much appreciated. Keeping fingers crossed.