Convert MoinMoin (or twiki) Wiki to Trac


MoinMoin logo

This is a script that converts MoinMoin wiki pages to Trac wiki pages.

Syntax: <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 your pages into your wiki.

The syntax is as follows:

MoinPageName <tracprojectdir>

If a wikimapfile is specified then only those pages in the map file will be transferred

Example usage:

$ python /var/lib/twiki/Main /home/trac/myproject

Also included is a modified script ( to convert a Twiki archive to a MoinMoin archive.

Bugs/Feature Requests

Existing bugs and feature requests for MoinToTracScript are here

If you have any issues, create a new ticket.


4 / 6


0 / 1

Download and Source

Download the zipped source.


Check out using Subversion, or browse the source with Trac.

Recent Changes

16520 by rjollos on 2017-04-16 01:52:28
Fix indentation
3396 by kgk on 2008-03-19 01:10:19
decode moinmoin page names with unicode characters
3395 by kgk on 2008-03-19 00:30:34
add usage to twik2moin; fix for trac 0.11; fix missing dir


Author: kgk
Maintainer: Kristian Kvilekval

Last modified 4 years ago Last modified on May 24, 2020, 6:55:13 AM

Attachments (1)

Download all attachments as: .zip