-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Platonides wrote:
I'm currently working on a interwiki bot and it
happens i gets some
intewikis duplicated, some wikis refers to en:City while others to
en:Town, etc.
But the zh interwikis are the worst as there is not only that kind of
problems but up to 3 ways to link with
'http://zh.wikipedia.org/wiki/$1': zh, zh-cn, zh-tw. And there is also
zh-min-nan for 'http://zh-min-nan.wikipedia.org/wiki/$1'.
Are you trying to write your own interwiki bot? Have you tried working
with the existing interwiki bot in the pywikipediabot suite? If there is
something wrong with the code in that bot, it is better if it is fixed
than that you write an alternative! Othwerwise other people may be using
broken code?
The problems with the zh: languages are all solved in the pywikipediabot
suite.
Regards,
Rob Hooft
- --
Rob W.W. Hooft || rob(a)hooft.net ||
http://www.hooft.net/people/rob/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://enigmail.mozdev.org
iD8DBQFD4Q5qH7J/Cv8rb3QRAhQ8AJ93Z22GEvmNKCH2BqRDx7HH30gw0ACdGSue
WXlZgaLy+VNNqPX0n6vm5ko=
=8/EP
-----END PGP SIGNATURE-----