Project

General

Profile

Actions

Feature #1224

open

Import wiki pages from MediaWiki

Added by Carl Nygard over 16 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Importers
Target version:
-
Start date:
2008-05-12
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Here's a rake task that will migrate pages from MediaWiki. It will prompt you for the required information, such as mediawiki database connection, target redmine project to translate pages into, target mediawiki page, redmine page author, and whether to use the mediawiki page target as a namespace base to translate multiple pages.

It will prompt you at each page to decide whether to translate the page or not. MediaWiki ':' separators are translated to '_' in redmine.

It won't download images from mediawiki, but it will translate the image tags, so you'll just have to attach the images to the page in redmine after it's been translated.

It also won't retain mediawiki in-line table formatting.

As always, fixes/improvements are welcome. This worked well enough for me, but obviously it doesn't cover absolutely everything.


Files

migrate_from_mediawiki.rake (12.5 KB) migrate_from_mediawiki.rake Carl Nygard, 2008-05-12 16:55
migrate_from_mediawiki.rake (12.7 KB) migrate_from_mediawiki.rake Carl Nygard, 2008-06-20 20:28
Actions

Also available in: Atom PDF