MindTouch has developed a converter that converts MediaWiki content into Deki Wiki. This guide provides instructions for installing and running the converter.
1. The MediaWiki converter is based on MediaWiki 1.11. It's recommended to upgrade the installation to that version before attempting the conversion.
2. Log into the Deki VM.
3. cd /opt/deki/dist
4. Open mindtouch.deki.mwconverter.xml in a text editor and change it to match your installation:
<startup-xml> element to point to the location of the mindtouch.deki.startup.xml file. On a VM installation, use /var/www/deki-hayes/config/mindtouch.deki.startup.xml.Below is a sample mindtouch.deki.mwconverter.xml configured for a VM:
<?xml version="1.0" encoding="utf-8" ?>
<config>
<deki>
<!-- Path to mindtouch.deki.startup.xml -->
<startup-xml>/var/www/deki-hayes/config/mindtouch.deki.startup.xml</startup-xml>
</deki>
<!-- MediaWiki configuration settings -->
<mediawiki>
<!-- MediaWiki URL ex. http://deki-hayes/config/mw/index.php -->
<uri.converter>http://mwc.mindtouch.com</uri.converter>
<!-- MediaWiki database connection information -->
<db-server>localhost</db-server>
<db-port>3306</db-port>
<db-catalog>mediawikidb</db-catalog>
<db-user>root</db-user>
<db-password hidden="true">password</db-password>
<db-options>pooling=true; Connection Timeout=5; Protocol=socket; Min Pool Size=2; Max Pool Size=50; Connection Reset=false;character set=latin1;ProcedureCacheSize=25;Use Procedure Bodies=true;</db-options>
<sites>
<site>
<!-- Path of the MediaWiki home page. All other pages will be placed under this page -->
<mwrootpage>Main_Page</mwrootpage>
<!-- Path to MediaWiki images folder -->
<imagedir>/mediawiki/files</imagedir>
</site>
</sites>
</mediawiki>
</config>
5. Set execute permissions: chmod +x mindtouch.deki.mwconverter.exe
6. Launch the converter: ./mindtouch.deki.mwconverter.exe.
7. The VM's Deki Wiki database and attachments will be populated with the conversion results.
To install a private copy of the MediaWiki-Bridge:
Later, if you need to update the MediaWiki-Bridge files:
Once the files for the MediaWiki-Bridge have been installed, follow the usual mediawiki installation procedure:
When configuring the <uri.converter> element in mindtouch.deki.mwconverter.xml, use http://your-vm-ip/config/mw/index.php.