Page MenuHomePhabricator

Conflicts with Graphviz
Closed, DeclinedPublic

Description

Author: thijs.vanderkraan

Description:
If I activate the media wiki extension FCKeditor the graphs (rendered by Graphviz) are corrupted. Example

  1. Edit a page
  2. Change editor from FCKeditor to WikiTextEditor
  3. Input the following text and save the page

    ------------- <graphviz border='frame' format='png'> digraph example1 {Hello->World!} </graphviz> -------------
  1. Page shows a picture of the above described graph.
  2. Edit the page
  3. The FCKeditor shows only the picture of the graph.
  4. Changing editor from FCKeditor to WikiTextEditor corrupts the graph source to this

    ------------- <map name="ReleasePlanning---digraph+example1"></map>

    [[File:|This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.]] -------------
  1. When changing the editor back to FCKeditor the picture is no longer displayed. It just shows the above text.
  2. Changing to WikiTextEditor again further corrupts the graph source to

    ------------- &lt;map name="ReleasePlanning---digraph+example1"&gt;&lt;/map&gt;

    &#x5B;&#x5B;File:|This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.&#x5D;&#x5D; -------------

Because the CFEditor is started by default I'm unable to edit pages containing graphviz graphs, without loosing the graphs..


Version: unspecified
Severity: normal

Details

Reference
bz31771
TitleReferenceAuthorSource BranchDest Branch
add mediawiki/services/ipoid to allowed projectsrepos/releng/gitlab-trusted-runner!28jeltoadd-ipoidmain
build: Add .gitlab.ci.ymlrepos/mediawiki/services/ipoid!1kharlangitlab-cimain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:52 PM
bzimport set Reference to bz31771.
bzimport added a subscriber: Unknown Object (MLST).

Comment by j.swiderski in upstream bug reports http://dev.ckeditor.com/ticket/5602 and https://dev.ckeditor.com/ticket/6279 :
"FCKeditor and MediaWiki are no longer supported. Closing the ticket."

Hence closing as WONTFIX.

http://www.mediawiki.org/wiki/Extension:FCKeditor_%28Official%29 says:

There are currently two noteworthy alternatives to this extension:

  1. WYSIWYG (this may however not support stable or legacy releases of MediaWiki at all time), see http://www.mediawiki.org/wiki/Extension:WYSIWYG
  2. WikiEditor (this is a different approach), see http://www.mediawiki.org/wiki/Extension:WikiEditor