blockdiag mediawiki extension
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.rst
blockdiag.php

README.rst

Blockdiag MediaWiki Extension

requirement

  • blockdiag (or seqdiag, actdiag, nwdiag)
  • mediawiki >1.16

install

  1. Copy blockdiag.php to ${MEDIAWIKI_ROOT}/extension/

    $ sudo cp blockdiag.php ${MEDIAWIKI_ROOT}/extension/
    
  2. Add line to LocalSettings.php

    + require_once("$IP/extensions/blockdiag.php");
    

example

<blockdiag>
{
        A -> B -> C
             B -> D -> E
}
</blockdiag>

If you want to use other *diag tools, specify a name before "{", like "seqdiag {".

<blockdiag>
seqdiag {
        A -> B;
             B -> C;
}
</blockdiag>

known issues