Wik2dict

wik2dict is a tool written in Python that converts MediaWiki SQL dumps into the DICT format. It is also capable of downloading Wikipedia, Wiktionary, Wikiquote and Wikibooks SQL dumps.

Converting the English Wikipedia takes 1 hour with a P4 1.9 GHz processor.

Usage reports, bug reports and patches are welcome.

Unicode
There is support for Unicode, but somehow I don't manage to keep the support for the stuff that was (probably) latin-1 before. Some of these characters (éë) are currently mangled. And I can't figure out how to solve this. If some Python hacker knows more about this: please let me know how to fix this!

Logs
wik2dict creates a log file for every conversion, in which you can find possible errors in the MediaWiki articles (or in wik2dict). Up to now it gives info about stuff like [[non-finished link].

Download

 * wik2dict.py