Convert a dokuwiki to mediawiki
From Linuxintro
Revision as of 07:50, 10 September 2012 by imported>ThorstenStaerk (comments disabled)
This describes how to convert a dokuwiki installation to a mediawiki installation. All history, users and access control lists will not be taken over:
- install mediawiki. In this example we assume you install to /srv/www/htdocs.
- convert the syntax of every dokuwiki page to Mediawiki's syntax. MediaSyntax has a converter for this. Also, this howto has been tested with version 1.16.
- copy every file in dokuwiki's data/pages folder to mediawiki's maintenance folder
- cd to the maintenance folder of your mediawiki, e.g.
cd /srv/www/htdocs/maintenance
- import all text files:
for i in *.imp; do php importTextFile.php $i; done