====== Migration from MoinMoin to DokuWiki ======
Below you will find scripts in PHP and Python to facilitate the conversion process.
> FIXME Are there any parameters that need to be passed to the PHP script and how is that to be done? According to the code there should be three parameters. Passed through the URL? Syntax? Can anyone help?
Another document on switching appears at http://www.emilsit.net/blog/archives/migrating-from-moinmoin-to-dokuwiki/
===== PHP =====
I have written a small PHP script to convert wiki pages from MoinMoin [[http://moinmoin.wikiwikiweb.de/]] to DokuWiki syntax. It does not take care of all differences, but it worked for me.
#!/usr/bin/php
===== Python =====
Based on the above PHP version, a Python script that automates the file renaming, copying and conversion business.
Can do attachments moving, convert attachment code, creates namespaces based on structure in MoinMoin-Wiki.
also converts some Codes of German 'Umlaute'.
Checkout files from [[https://github.com/glensc/moin2doku]] and run:
* ''./moin2doku.py **** ****''
===== Perl =====
I've written more powerful conversion script, now it converts correctly (as I think ;-) ) all syntax from [[http://moinmo.in/HelpOnEditing]] except tables (now it doesn't convert aligning and spans). You can get latest version [[http://help.ubuntu.ru/wiki/moinmoin2dokuwiki|here]], just copy all code from codeblock and replace %%%% with %%%%.
===== Discussion =====
> Why did you switch from MoinMoin to DokuWiki? Just curious, I'm debating between the two and MoinMoin's WYSIWYG editor is very nice, and big sites like fedoraproject.org and ubuntu.com are using MoinMoin. - posted on 1/16/2006
>> Because MoinMoin is **not as stable** as it looks like? You know the [[http://www.ubuntuusers.de/ikhaya/443/|Ubuntuusers Wiki]]-case? - posted on 04/26/2007
>>> I've add Perl script which convert all syntax from [[http://moinmo.in/HelpOnEditing]]. Please, report [[malamut@ubuntu.ru|me]] all errors if you found them.