Last modified: 2014-09-17 11:18:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58188, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56188 - core Page.templates has incompatible API change from compat
core Page.templates has incompatible API change from compat
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: High major
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks: 56190 pwb20
  Show dependency treegraph
 
Reported: 2013-10-25 19:42 UTC by Merlijn van Deen (test)
Modified: 2014-09-17 11:18 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Merlijn van Deen (test) 2013-10-25 19:42:16 UTC
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)

        """
Comment 1 Merlijn van Deen (test) 2013-10-26 15:39:35 UTC
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...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links