|Version 8 (modified by chris@…, 8 years ago) (diff)|
Convert MoinMoin (or twiki) Wiki to trac
moin2trac.py <moindir> <tracprojectdir> [wikimapfile]
- The original moinmoin pages directory (e.g., .../<MoinMoin installdir>/data/pages).
- The target trac project directory.
- A mapping of page name to trac wikis.
Optionally you may also include wikimapfile which is useful if you would like to split your wiki into a Trac multi-project or if you would prefer to map only some of you pages into your wiki.
The syntax is as follows:
If a wikimapfile is specified then only those pages in the map file will be transferred
Also included is modified script (twiki2moin.py) to convert a Twiki archive to a moinmoin archive.
If you have any issues, create a new ticket.
Download and Source
$ python moin2trac.py /var/lib/twiki/Main /home/trac/myproject