Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Latest commit

 

History

History
50 lines (33 loc) · 843 Bytes

README.rst

File metadata and controls

50 lines (33 loc) · 843 Bytes

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