/usr/share/doc/dico-module-mediawiki/README.Debian is in dico-module-mediawiki 2.2-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 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 "<dbname>";
handler "python load-path=/usr/share/dico/python init-script=mediawiki <URL>";
mime-headers <<- EOT
Content-Type: text/x-wiki
Content-Transfer-Encoding: quoted-printable
X-Wiki-Language: <language>
EOT;
description "<short description>";
info <<- EOT
<some lines
of info>
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) <aelmahmoudy@users.sourceforge.net> Fri, 03 Apr 2009 06:28:25 +0200
|