Bugs item #3609967, was opened at 2013-04-03 18:32 Message generated for change (Settings changed) made by amird You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3609967...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: interwiki Group: trunk Status: Open Resolution: None Priority: 5 Private: No Submitted By: ChongDae (cdpark)
Assigned to: Amir (amird)
Summary: interwiki() fails for closed wikipedia
Initial Comment: Page.interwiki() and PageData.interwiki() fails when wikidata contains sitelinks of closed wikipedias.
For example, following code is broken now.
--------------------------------------------------------------------------------------------------- #!/usr/bin/python # -*- coding: utf-8 -*-
import pywikibot
en = pywikibot.getSite('en', 'wikipedia') mainpage = pywikibot.Page(en, u'Main Page') interwiki = mainpage.interwiki()
print interwiki
--------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3609967...