Bugs item #3099782, was opened at 2010-10-31 11:39 Message generated for change (Tracker Item Submitted) made by tgr_ You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3099782...
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: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tgr (tgr_) Assigned to: Nobody/Anonymous (nobody) Summary: Page.templates() cache does not respect get_redirect
Initial Comment: Steps to reproduce:
page = wikipedia.Page(someSite, someRedirect) page.templates() # returns [] page.templates(get_redirect=True) # returns [] from cache even if the page does have templates
Pywikipedia [http] trunk/pywikipedia (r8690, 2010/10/28, 15:34:19) Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3099782...
pywikipedia-bugs@lists.wikimedia.org