Extension:SignavioEmbed

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Signavio Embed
Release status: stable
Implementation Parser extension, Tag
Description Adds a tag to embed processes from the Signavio Process Editor.
Author(s) Hauke Pribnowtalk
Latest version 0.2 (2011-05-31)
MediaWiki 1.15
License No license specified
Download Extension:SignavioEmbed/code
Parameters
$sigemLinkSubDiagrams
Tags
signavio
Hooks used
ParserFirstCallInit
Translate the SignavioEmbed extension if it is available at translatewiki.net
Check usage and version matrix.

Disclaimer[edit]

The author of this extension is in no way related to Signavio. He created the extension entirely on his own and without any order of Signavio.

What can this extension do?[edit]

You can use this extensions to embed your Signavio diagrams/processes. For more information about Signavio, see: http://www.signavio.com/

Usage[edit]

Here are the steps to embed a process into a wiki page:

  1. add an empty signavio tag to your wiki page (like this: <signavio></signavio>)
  2. click "embed diagram" in the Signavio explorer
  3. copy the alphanumeric bit behind the line url: "https://editor.signavio.com/p/model/ (without the final quotation marks and the comma) from the Javascript code into the signavio tag
  4. add a colon (:) at the end of that alphanumeric bit
  5. copy the alphanumeric bit behind the line authToken: " (without the final quotation marks and the comma) from the Javascript code into the signavio tag after the colon

If you followed these steps, your final tag should look something like that:

<signavio>78083c98390642878ddd0d113e7d2128:​3e457361bc5a5341dbdd4421a10db2e444a4ba9df2ab01aebef4d4581d818c_​1aedef82f398a5a7108ecc0b9495b6a78f7f9860199caaabc1dfe9a0826b2e_​8691e54a6ca69bb2b57ef5120431275e06db9b7d6281cb845df7cad772df075</signavio>

Download instructions[edit]

Please copy and paste the code found on the article Extension:SignavioEmbed/code and place it in $IP/extensions/SignavioEmbed/SignavioEmbed.php. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation[edit]

To install this extension, add the following to LocalSettings.php:

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