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@lists.wikimedia.org Reporter: valhallasw@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)
"""
https://bugzilla.wikimedia.org/show_bug.cgi?id=56188
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |High Severity|normal |blocker
https://bugzilla.wikimedia.org/show_bug.cgi?id=56188
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Page.templates has |core Page.templates has |incompatible API change |incompatible API change |from compat |from compat
https://bugzilla.wikimedia.org/show_bug.cgi?id=56188
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |56190
https://bugzilla.wikimedia.org/show_bug.cgi?id=56188
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |major
--- Comment #1 from Merlijn van Deen valhallasw@arctus.nl --- Blocker is not really the right term for this ('should be fixed before release'), and calling it 'blocker' will probably screw up WMF's weekly report...
https://bugzilla.wikimedia.org/show_bug.cgi?id=56188
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=55256
https://bugzilla.wikimedia.org/show_bug.cgi?id=56188
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |70936
pywikipedia-bugs@lists.wikimedia.org