A while ago, I’ve ported media wiki plugin rending USFM Tags to Dokuwiki. The source code is HERE.
How to install USFMTag to Dokuwiki:
Download source code from Git. The USFMTag has the following files:
- style.css
- README
- action.php
- syntax.php
- UsfmParagraphState.php
- UsfmTagDecoder.php
- UsfmText.php
- plugin.info.text
- /conf/default.php
- /conf/metadata.php
- /lang/en/lang.php
- /lang/end/settings.php
All of these files needs to be copied to <root directory for dokuwiki>/lib/plugins/usfmtag (all lower case, case matters)
Here’s some useful links I used in the port:
USFMTag specification: http://paratext.org/system/files/usfmReference2_4.pdf
Usefule Test Files:
- http://id.door43.org/w/index.php?title=TSI:Kolose_1&action=edit
- http://id.door43.org/w/index.php?title=TSI:Efesus_6&action=edit