Convert Wikidot to MediaWiki

Bodeker Scientific has converted its project wikis from Wikidot to MediaWiki, and developed Python code to automate the process. The code is open-source, and we’re sharing it in case it’s useful to others!

There are 3 parts to the code:

Part 1

  1. Downloading wikis from Wikidot (also useful to those who simply want to back-up their wiki, as Wikidot no longer has this function)

Parts 2 & 3

  1. Converting Wikidot pages into MediaWiki: Takes the Wikidot files and produces MediaWiki-formatted text files and attachments that are ready to be uploaded to a MediaWiki site.

  2. Uploading the converted files to MediaWiki: Uploads the converted pages and files to a MediaWiki site.