Extension:Ditaa

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
Ditaa
Release status: stable
DitaaExample.png
Implementation Tag
Description Provides dynamic rendering of Ditaa diagrams.
Author(s) Nuno Tavarestalk
Latest version 1.1
MediaWiki 1.25+
Database changes No
License GNU General Public License 2.0 or later
Download github.com/ntavares/mediawiki-extensions-ditaa
Parameters
  • $wgDitaaCommand
Translate the Ditaa extension if it is available at translatewiki.net
Check usage and version matrix.

The Ditaa extension provides dynamic rendering of Ditaa diagrams. See github.com/ntavares/mediawiki-extensions-ditaa for more information.

Installation[edit]

  • Download and place the file(s) in a directory called Ditaa in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'Ditaa' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.27 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.27 and earlier), instead of wfLoadExtension( 'Ditaa' );, you need to use:

require_once "$IP/extensions/Ditaa/Ditaa.php";
Other languages: English