[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Conversion tools work (was Re: MediaWiki next steps)



Hi!

On Tue, 2025-07-22 at 13:40:03 +0200, Guillem Jover wrote:
> On Sun, 2025-07-20 at 13:00:20 +0200, Taavi Väänänen wrote:
> > * Figure out a transition plan for the old wiki.

>   * https://github.com/okfn/moinmoin2mediawiki
>     Which is supposed to be able to run on a Moin installation
>     directly accessing its database. As we didn't have access to that,
>     we extracted the format conversion support into a tiny hackish
>     script that works on the Raw Moin syntax (from the Actions drop
>     down menu), to see what would come out, which currently already
>     helps with much of the drudgery of having to do this manually.
> 
>     The code is rather meh, and could do with some heavy cleanup, and
>     it would also require adding support for probably newer Moin syntax,
>     and also Debian Wiki specific macros. But it might be a good
>     starting place. If there's interest I guess we could setup a fork
>     somewhere in salsa, and then we can track the delta that way.

As I mentioned on the #debian-wiki IRC channel, I went ahead and created
that fork, now tracked at <https://salsa.debian.org/guillem/mm2mw>. I'm
planning on working on cleaning up and adding missing syntax and
Debian specific stuff in there during the coming days. If someone
would also like to work on that, let me know and we can coordinate
here, on IRC, or something.

>     It's not clear to me whether the conversion from the database
>     actually works though, it would need some testing.

It at least seems like it should support history preservation (?)
which would be nice.

>     I'm attaching the hackish script, for other to play with it,
>     where I've already added support to map <<MailTo()>> macros.

This is now also part of the fork, to make playing with individual
pages and the syntax conversion easier.

Thanks,
Guillem


Reply to: