Support ImageMap extension in OCG bundler & renderer
Open, LowestPublic

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.

cscott created this task.Apr 2 2015, 2:02 AM
cscott updated the task description. (Show Details)
cscott raised the priority of this task from to Lowest.
cscott added a subscriber: cscott.
Restricted Application added a project: Multimedia. · View Herald TranscriptApr 2 2015, 2:02 AM
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.

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 5:52 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 4 2015, 5:52 PM

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.

Kghbln added a subscriber: Kghbln.Nov 22 2017, 9:37 AM

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.