https://bugzilla.wikimedia.org/show_bug.cgi?id=55256
Web browser: --- Bug ID: 55256 Summary: Page.templates() cache does not respect get_redirect Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1257/ Reported by: tgr_ Created on: 2010-10-31 10:39:27 Subject: Page.templates() cache does not respect get_redirect Original description: 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