-----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@hooft.net || http://www.hooft.net/people/rob/