Today I switched a small wiki from MoinMoin to a new Redmine setup. I couldn’t find any existing scripts to convert the wiki pages over. For a moment I thought I could do MoinMoin to Trac and Trac to Redmine but I thought better of it. It’d be a lot of work and the wiki syntax would probably be completely mangled in the process.
Instead I hacked up Carl Nygard’s MediaWiki to Redmine script. It’s an awful hack really but it worked for the pages I needed, and it does preserve revision history.
- Download the script: migrate_from_moinmoin.rake
- Edit the source and enter your own email address instead of
- Place the file in
lib/tasks/in your Redmine installation.
- Run the command with
rake redmine:migrate_from_moinmoin RAILS_ENV="production"
- Enter a project identifier.
- Enter an absolute path to the
data/pagesfolder of your MoinMoin install.