dico-module-mediawiki for Debian -------------------------------- * To use the mediawiki module, make sure that the python module is loaded in /etc/dicod.conf, and add the following lines in /etc/dicod.conf: database { name ""; handler "python load-path=/usr/share/dico/python init-script=mediawiki "; mime-headers <<- EOT Content-Type: text/x-wiki Content-Transfer-Encoding: quoted-printable X-Wiki-Language: EOT; description ""; info <<- EOT EOT; } Here's an example: database { name "en-wiktionary"; handler "python load-path=/usr/share/dico init-script=mediawiki en.wiktionary.org"; mime-headers <<- EOT Content-Type: text/x-wiki Content-Transfer-Encoding: quoted-printable X-Wiki-Language: en EOT; description "en.wiktionary.org"; info <<- EOT English language Wiktionary, a collaborative project to produce a free-content multilingual dictionary. EOT; } -- أحمد المحمودي (Ahmed El-Mahmoudy) Fri, 03 Apr 2009 06:28:25 +0200