wiki:MoinToTracScript

Version 10 (modified by figaro, 7 years ago) (diff)

Added logo

Convert MoinMoin (or twiki) Wiki to Trac

Description

MoinMoin logo

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

Syntax:

moin2trac.py <moindir> <tracprojectdir> [wikimapfile]

Arguments:

moindir
The original moinmoin pages directory (e.g., .../<MoinMoin installdir>/data/pages).
tracprojectdir
The target trac project directory.
wikimapfile
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:

MoinPageName <tracprojectdir>

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.

Bugs/Feature Requests

Existing bugs and feature requests for MoinToTracScript are here

If you have any issues, create a new ticket.

defect

4 / 6

enhancement

0 / 1

Download and Source

Download the zipped source.

Source

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

Example

$ python moin2trac.py /var/lib/twiki/Main /home/trac/myproject

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
(more)

Author/Contributors

Author: kgk
Maintainer: Kristian Kvilekval
Contributors:

Attachments (1)

Download all attachments as: .zip