moin2doku/README

40 lines
1.4 KiB
Plaintext
Raw Normal View History

2012-09-22 18:32:55 +02:00
Complete MoinMoin to DokuWiki converter
2011-02-06 19:30:29 +01:00
2012-09-22 18:32:55 +02:00
Uses native MoinMoin modules to handle converting and translating paths.
Converts also page history and edit-log.
2011-02-10 10:00:19 +01:00
2012-09-22 18:32:55 +02:00
http://www.dokuwiki.org/tips:moinmoin2doku
2011-02-10 10:00:19 +01:00
2012-09-22 18:23:47 +02:00
Tested with MoinMoin 1.5 and DokuWiki 2012-09-10 releases
2012-09-22 18:32:55 +02:00
You need to run this on host where both MoinMoin and DokuWiki are configured,
it uses current configuration from both wikis.
2011-02-10 10:00:19 +01:00
Edit doku.php if your DokuWiki installation is other than /usr/share/dokuwiki
2012-09-22 18:23:47 +02:00
To convert moinmoin all pages with history, invoke:
$ ./moin2doku.py -a -d /var/lib/dokuwiki
To convert single page (FrontPage):
$ ./moin2doku.py -F moinmoin/data/pages/FrontPage -d out
2011-02-10 10:00:19 +01:00
2011-02-18 19:04:55 +01:00
after conversion be sure to fix ownership
(www-data:www-data being your uid/gid webserver runs):
2011-02-10 10:00:19 +01:00
# chown -R www-data:www-data /var/lib/dokuwiki/pages/*
# chown -R www-data:www-data /var/lib/dokuwiki/media/*
2012-09-22 18:23:47 +02:00
also, depending on your configuration, you may need to gzip the attic pages.
2011-02-10 10:00:19 +01:00
History:
2012-09-22 18:32:55 +02:00
version 0.1 2010-02
Slim Gaillard, based on the "extended python" convert.py script here:
https://www.dokuwiki.org/tips:moinmoin2doku?rev=1297006559#extended_python
version 0.2 2011
Elan Ruusamäe, moved to github, track history there
https://github.com/glensc/moin2doku
version 1.0 2012
Complete moinmoin to dokuwiki converter, uses native moinmoin code to handle
converting and translating paths. Converts also page history and edit-log.