I knocked this up in a two hour coding session tonight. I have a wiki over at Wikia.com… unfortunatly I have two problems with them. (1) Slow, (2) Ads. 1 is kinda random… sometimes the wiki is really really fast, many times it's not. And while I don't normally mind web ads, the way they do 2 breaks standard Wiki layout. I had picked them because I wanted to import my older Mediawiki wiki without lots of personal work.

Well, I'd rather host the wiki here, but nobody wanted to volunteer to convert the MediaWiki syntax to Wikidot syntax. So I built a script to do (most of) it.

MediaWiki allows you to add Category as links at the bottom of the articles… is something similar to this possible in Wikidot? If not, just cut those bits off when you're done converting.

As you can see, it doesn't do everything but it takes some of the drudgery out of converting articles, especially for big articles. Just run a quick eye over a Preview of the page and you'll catch the errors most likely.

ideas on how to make the regexs suck less? Wanna tackle images or tables? Let me know and I'll update the code. If you guys like it, I'll spiff the page up a bit (it's just a hacked internal tool right now :D).

Backlinks

Author

I built on what Cameron had (thanks Cameron!), converted it to Ruby, and now have a script that will give you at least a good starting point when migrating a site from Mediawiki to Wikidot. Check out: https://github.com/lynnfaraday/wikiMigrate

Related articles

Comments

I built on what Cameron had (thanks Cameron!), converted it to Ruby, and now have a script that will give you at least a good starting point when migrating a site from Mediawiki to Wikidot. Check out: https://github.com/lynnfaraday/wikiMigrate