Opened 19 years ago
Closed 18 years ago
#2068 closed enhancement (wontfix)
[PATCH] moin2trac.py, a script for importing a moin wiki's full history
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi
Please find attached moin2trac.py, which imports data from a moin wiki into trac. Maybe someone else will find it useful for migrating to trac in the future, so I am submitting it for consideration as a 'contrib' script, alongside bugzilla2trac.py (which we have also used in our migration, and patched, see ticket #2061).
Of course the trac-admin 'wiki load' function loads wiki pages in, but we wanted to preserve the full history (ie. the author, time, comments for each revision of each page) of our wiki, for a smooth transition from moin to trac as our in-house project management wiki.
Thomas Munro
Attachments (2)
Change History (5)
by , 19 years ago
Attachment: | moin2trac.py added |
---|
comment:1 by , 18 years ago
Summary: | moin2trac.py, a script for importing a moin wiki's full history → [PATCH] moin2trac.py, a script for importing a moin wiki's full history |
---|
comment:2 by , 18 years ago
by , 18 years ago
Attachment: | resolve_special.patch added |
---|
Patch for moin2trac.py to resolve escaped special characters in page names.
comment:3 by , 18 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Such contributed scripts are better hosted on TracHacks than here.
Thank you for your script Thomas, it helped me a lot.
A slight modification I made though, was to resolve escaped special characters in page-paths. For example, a page named "Foo/Bar" (Bar being a sub-page of Foo) would have the path name "Foo(2f)Bar". My replaces character codes enclosed in parentheses with the respective character.
Still a quick hack, further adjustment may be needed. (Maybe a command-line option for enabling/disabling?)
Regards, Peter Dinges