Bugs item #2785594, was opened at 2009-05-02 12:21
Message generated for change (Comment added) made by liangent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=278559…
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: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: Russell Blau (russblau)
Summary: Page.backlinks cannot work well on some pages
Initial Comment:
on zhwiki,
tuple(Page(Link(u'Wikipedia:沙盒')).backlinks())
NOTE: 沙盒 means sandbox in chinese
raises exception: RuntimeError: getredirtarget: 'redirects' contains no key for
page WP:SB.
NOTE: WP:SB is a redirect to Wikipedia:沙盒, and WP is a namespace alias of Wikipedia
no matter what value i use for filterRedirects parameter
i cannot find what's the problem...
----------------------------------------------------------------------
Comment By: liangent (liangent)
Date: 2009-05-02
15:11
Message:
i found something abnormal
currently, WP: is an alias of Wikipedia:, however, in api query, <bl
pageid="100223" ns="0" title="WP:SB" redirect=""
/> is returned.
see
http://zh.wikipedia.org/w/api.php?action=query&list=backlinks&bltit…
this caused the problem
i reported it here,
https://bugzilla.wikimedia.org/show_bug.cgi?id=17701 ,
but should pywikibot handle this abnormal situation?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=278559…