Page MenuHomePhabricator

Support ImageMap extension in OCG bundler & renderer
Closed, DeclinedPublic

Description

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.

Event Timeline

cscott raised the priority of this task from to Lowest.
cscott updated the task description. (Show Details)
cscott subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Welterkj renamed this task from Support ImageMap extension in OCG bundler & renderer to Support GraphViz extension in OCG bundler & renderer.Apr 10 2015, 11:10 PM
Welterkj updated the task description. (Show Details)
Welterkj set Security to None.
Welterkj renamed this task from Support GraphViz extension in OCG bundler & renderer to Support ImageMap extension in OCG bundler & renderer.Apr 11 2015, 1:00 PM
Welterkj updated the task description. (Show Details)

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.

Declining this task as OCG has been dead for years.