Bugs item #3609967, was opened at 2013-04-03 18:32
Message generated for change (Tracker Item Submitted) made by cdpark
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3609967&group_id=93107
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: Nobody/Anonymous (nobody)
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&group_id=93107
_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs