From: Reedy Date: Sat, 2 Jan 2016 02:56:17 +0000 (+0000) Subject: WikiPage::getUsedTemplates() was removed X-Git-Tag: 1.31.0-rc.0~8496^2 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=cfaf26e5017228208f8049b979cb443eb01677cf;p=lhc%2Fweb%2Fwiklou.git WikiPage::getUsedTemplates() was removed Change-Id: I5c17a57042025b2f72083a97034a5a2dd6c8cfb5 --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 9860723f6f..b1a4ccbf9c 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -196,6 +196,7 @@ changes to languages because of Phabricator reports. TextPassDumper classes have been removed. * The maintenance/backupTextPass.inc file was deleted. You should include maintenance/dumpTextPass.php instead. +* WikiPage::getUsedTemplates() was removed (deprecated since 1.19). == Compatibility == diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 8fb760d923..6267406897 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -3559,17 +3559,6 @@ class WikiPage implements Page, IDBAccessObject { } } - /** - * Return a list of templates used by this article. - * Uses the templatelinks table - * - * @deprecated since 1.19; use Title::getTemplateLinksFrom() - * @return array Array of Title objects - */ - public function getUsedTemplates() { - return $this->mTitle->getTemplateLinksFrom(); - } - /** * This function is called right before saving the wikitext, * so we can do things like signatures and links-in-context.