>> Dr. Trigon <[email protected]> wrote:
>
> Thank you for your fast reply!
>
> The issue raises actually because [1] returns "pseudo-interwiki" links
> given by the DB names like 'dewiki', 'enwiki', and so on...
>
> So in that case I would be happy with any piece of code within the
> framework that is (somehow) able to deal with such links. At the moment
> I'm using:
>
>   site = pywikibot.getSite()
>   print site.fam().get_known_families(site).values()
>
> to try to deal with those links. But this list contains 'wiki' as known
> family and if I try to use
>
>   pywikibot.Page(site, u'wiki:blabla')

You shouldn't be using "wiki" anywhere. Wikipedia should be referred to
as "wikipedia". 

"wiki" is being use as the interwiki link to the original wiki, WikiWikiWeb
at http://c2.com/cgi/wiki, so you shouldn't use that for anything related
to Wikipedia. You are getting it returned since Wikipedias can use it as 
an interwiki link to the WikiWikiWeb, i.e. [[:wiki:WelcomeVisitors]] becomes
http://c2.com/cgi/wiki?WelcomeVisitors

//Marcin


_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to