On 8 September 2010 20:22, Bináris <wikiposta(a)gmail.com> wrote:
With this, will that work for all wikis? In huwiki
+ '<li><a
href=".+?" class="new" title="(?P<title>.+?)
\(page does not exist\)">.+?</a> .+?\)</li>')
Good question. Yes, it will: pywikipediabot asks for the english
translation
of the wiki:
def wantedcategories_address(self, code, limit=500):
return "%s?title=%s:wantedcategories&limit=%d&useskin=monobook*
&uselang=en*" % (self.path(code), self.special_namespace_url(code), limit)
The uselang=en trick is a good one to remember - for instance if you want to
find the edit button on a wiki in a language you don't understand. You can
add it to any url:
http://fi.wikipedia.org/wiki/Wikipedia:Etusivu?uselang=en
or
http://fi.wikipedia.org/w/index.php?title=Wikipedia:Etusivu&action=hist…
Best regards,
Merlijn van Deen