Embedding diagrams in MediaWiki

The Signavio Embed Extension for MediaWiki was developed independently from Signavio by Hauke Pribnow. It provides the possibility to embed diagrams in MediaWiki easily. The corresponding developers page can be found at http://www.mediawiki.org/wiki/Extension:SignavioEmbed.

Note

Signavio Embed was developed for MediaWiki 1.15.

Installing the Signavio Embed Extension

Please follow these steps:

  1. Create the following file and folder:

    [installdir]/extensions/SignavioEmbed/SignavioEmbed.php

    where

    installdir stands for the directory MediaWiki is installed in and which contains the file LocalSettings.php.

  2. Copy the code from http://www.mediawiki.org/wiki/Extension:SignavioEmbed/code into the file and save the changes.

  3. Add following lines to the file LocalSettings.php that is contained in the installation directory of MediaWiki:

    require_once("$IP/extensions/SignavioEmbed/SignavioEmbed.php");
    
    // set this to true if you want to enable the function to link sub diagrams:
    $sigemLinkSubDiagrams = false;
    

Embedding a diagram

Follow these steps:

  1. Activate embedding on the site the diagram is to be embedded in.

  2. Add an empty Signavio tag to your wiki page:

    <signavio></signavio>
    
  3. Open the Explorer, select Share - Embed diagram and click the link that locks the pop-up settings to confirm sharing. Go to the tab MediaWiki and copy the code that is shown:

    Copy the code for embedding a diagram in MediaWiki.

    Copy the code for embedding a diagram in MediaWiki.

  4. Add the code into the Signavio tag.

  5. Save the wiki page. The diagram will be embedded as an interactive element.