Local adjustments for the [nigjo/moin2doku](https://github.com/nigjo/moin2doku) conversion script (migrating a moinmoin wiki to dokuwiki).
Find a file
Elan Ruusamäe 850301acfa process frontpage separately
this way MoinMoin frontpage gets saved as DokuWiki frontpage, i.e
respects both naming convention
2012-09-19 11:19:43 +02:00
doku.php process frontpage separately 2012-09-19 11:19:43 +02:00
doku.py encode utf8 result 2012-09-18 22:43:59 +02:00
moin2doku.py process frontpage separately 2012-09-19 11:19:43 +02:00
moinformat.py encode utf8 result 2012-09-18 22:45:11 +02:00
README formatting 2011-02-18 20:04:55 +02:00
syntaxreference.txt handle generic tables 2012-09-16 16:31:15 +02:00
text_dokuwiki.py newlines to comments 2012-09-19 00:55:51 +02:00

Collected scripts from dokuwiki tips page.

http://www.dokuwiki.org/tips:moinmoin2doku

moin2doku.py

A script for converting MoinMoin version 1.3+ wiki data to DokuWiki format.
Call with the name of the directory containing the MoinMoin pages and that
of the directory to receive the DokuWiki pages on the command line.

You need to run this on host where MoinMoin is configured and DokuWiki is
configured, it will use current configuration from both wikis.

Edit doku.php if your DokuWiki installation is other than /usr/share/dokuwiki

$ ./moin2doku.py ./moin/data/pages/

after conversion be sure to fix ownership
(www-data:www-data being your uid/gid webserver runs):
# chown -R www-data:www-data /var/lib/dokuwiki/pages/*
# chown -R www-data:www-data /var/lib/dokuwiki/media/*

This script doesn't do all the work, and some of the work it does is
wrong. For instance attachment links end up with the trailing "|}}"
on the line following the link. This works, but doesn't look good.
The script interprets a "/" in a pagename as a namespace delimiter and
creates and fills namespace subdirectories accordingly.

History:
version 0.1  2010-02  Slim Gaillard, based on the "extended python"
                      convert.py script here:
                      http://www.dokuwiki.org/tips:moinmoin2doku
version 0.2  2011     Elan Ruusamäe, moved to github, track history there
                      https://github.com/glensc/moin2doku