https://bugzilla.wikimedia.org/show_bug.cgi?id=72047

--- Comment #10 from Fabian <[email protected]> ---
Can you execute "python pwb.py shell", then in the Python console "import
pywikibot" and "s = pywikibot.Site('cs', 'wikipedia')". Then try one of the
three:

* pywikibot.Link(":outreach:site", s)
* pywikibot.Link(":c:site", s)
* pywikibot.Link(":d:site", s)

I personally have no problem executing this:

$ python pwb.py shell
Welcome to the Pywikibot interactive shell!
>>> import pywikibot
>>> s = pywikibot.Site("cs", "wikipedia")
>>> pywikibot.Link(":outreach:site", s)
pywikibot.page.Link('Site', Site("outreach", "outreach"))

You could also call "s.interwiki('outreach')" to see what it is returning.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to