WikiPage::getUsedTemplates() was removed
authorReedy <reedy@wikimedia.org>
Sat, 2 Jan 2016 02:56:17 +0000 (02:56 +0000)
committerReedy <reedy@wikimedia.org>
Sat, 2 Jan 2016 02:56:17 +0000 (02:56 +0000)
Change-Id: I5c17a57042025b2f72083a97034a5a2dd6c8cfb5

RELEASE-NOTES-1.27
includes/page/WikiPage.php

index 9860723..b1a4ccb 100644 (file)
@@ -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 ==
 
index 8fb760d..6267406 100644 (file)
@@ -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.