https://bugzilla.wikimedia.org/show_bug.cgi?id=56188
Web browser: ---
Bug ID: 56188
Summary: Page.templates has incompatible API change from compat
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Classification: Unclassified
Mobile Platform: ---
COMPAT:
def templates(self, get_redirect=False):
"""Return a list of titles (unicode) of templates used on this
Page.
Template parameters are ignored.
"""
CORE:
def templates(self, content=False):
"""Return a list of Page objects for templates used on
this
Page.
Template parameters are ignored. This method only returns embedded
templates, not template pages that happen to be referenced through
a normal link.
@param content: if True, retrieve the content
of the current version
of each template (default False)
"""
--
You are receiving this mail because:
You are the assignee for the bug.