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) """
See Also:
T57256: Page.templates() cache does not respect get_redirect