Wik2dict

From mediawiki.org

wik2dict is a tool written in Python that converts MediaWiki SQL dumps into the DICT format. The script is available under the GNU General Public License. It is also capable of downloading Wikipedia, Wiktionary, Wikiquote, Wikinews and Wikibooks SQL dumps.

Check wik2dict at Google Code and Wik2dict at TrustLet.