W3C home > Mailing lists > Public > public-wiki-dev@w3.org > October to December 2007

RE: migrating from MoinMoin to MediaWiki

From: Rotan Hanrahan <rotan.hanrahan@mobileaware.com>
Date: Wed, 17 Oct 2007 14:59:34 +0100
Message-ID: <D5306DC72D165F488F56A9E43F2045D301531AE4@FTO.mobileaware.com>
To: "Sandro Hawke" <sandro@w3.org>
Cc: <public-wiki-dev@w3.org>

I gave up on trying to force dates into MW, and instead decided to
insert comments into the revisions. What's important to me is that the
content and its evolution are retained. The fact that the metadata has
moved around a bit is of less concern. Keeping the URLs consistent is
more important.

It's not a surprise that I'm not the only one thinking about the porting
problem. The challenge I've set myself is a "One Button" solution. You
just configure the tool, then "press the button" and by magic you get a
new MediaWiki with all your content ported. That's the idea, at least.

There's the Technical Plenary coming up in a couple of weeks. I want to
be finished by then.


-----Original Message-----
From: Sandro Hawke [mailto:sandro@w3.org] 
Sent: 17 October 2007 14:53
To: Rotan Hanrahan
Cc: Sandro Hawke; public-wiki-dev@w3.org
Subject: migrating from MoinMoin to MediaWiki

"Rotan Hanrahan" <rotan.hanrahan@mobileaware.com> writes:
> ... I'm putting together some code to port a complete moinmoin wiki
> to MediaWiki, including all the revisions and attachments, while
> hopefully retaining the URLs (or something close enough to map
> automatically). I intend to have something to show in about a week,
> I get a few rather urgent tasks off my desk.

I got inspired and did some hacking last night on code to do a dump of a
MoinMoin installation into static HTML files [1].  It includes revision
history, but doesn't yet have attachments.  It seems like something
which could be useful for dumping MediaWiki as well (most of the code
would be the same), for archival purposes, for off-line use, etc.

I was contemplating also using it for migration, but Matt Womer told me
you were doing some work there.  I started to think a little about which
aspects of wiki-markup need to be converted.  Have you tried to
enumerate them yet?  Also, have you found a way to check in versions to
MediaWiki with a date way in the past?  Failing that I guess the best
thing is to add a line at the top of the raw text like:
{{Migrated|<moinmoin revision date of page>|<moinmoin reason for
revision>|<moinmoin user who did change>}} and turn that into a banner
box.   I might also include a link to archival-HTML form, to catch the
cases where the wiki-markup was not converted properly.

   -- Sandro

[1] http://dev.w3.org/cvsweb/2007/groupdev/wiki-dump.py
Received on Wednesday, 17 October 2007 13:59:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:40:57 UTC