Removed Article::loadContent() (deprecated since 1.19)
authorReedy <reedy@wikimedia.org>
Tue, 15 Dec 2015 22:27:36 +0000 (22:27 +0000)
committerUmherirrender <umherirrender_de.wp@web.de>
Sun, 20 Dec 2015 14:53:39 +0000 (14:53 +0000)
All usages in extensions are removed

Change-Id: Ie03c384730f59a67a969aed0a866e2bf71247e87

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

index cc78a8a..0e44e71 100644 (file)
@@ -187,6 +187,7 @@ changes to languages because of Phabricator reports.
 * MWHookException was removed.
 * OutputPage::appendSubtitle() was removed (deprecated since 1.19).
 * OutputPage::loginToUse() was removed (deprecated since 1.19).
+* Article::loadContent() was removed (deprecated since 1.19).
 
 == Compatibility ==
 
index 35621a4..af1f00b 100644 (file)
@@ -191,7 +191,7 @@ class Article implements Page {
        }
 
        /**
-        * Note that getContent/loadContent do not follow redirects anymore.
+        * Note that getContent does not follow redirects anymore.
         * If you need to fetch redirectable content easily, try
         * the shortcut in WikiPage::getRedirectTarget()
         *
@@ -212,7 +212,7 @@ class Article implements Page {
         * Returns a Content object representing the pages effective display content,
         * not necessarily the revision's content!
         *
-        * Note that getContent/loadContent do not follow redirects anymore.
+        * Note that getContent does not follow redirects anymore.
         * If you need to fetch redirectable content easily, try
         * the shortcut in WikiPage::getRedirectTarget()
         *
@@ -309,16 +309,6 @@ class Article implements Page {
                return $oldid;
        }
 
-       /**
-        * Load the revision (including text) into this object
-        *
-        * @deprecated since 1.19; use fetchContent()
-        */
-       function loadContent() {
-               wfDeprecated( __METHOD__, '1.19' );
-               $this->fetchContent();
-       }
-
        /**
         * Get text of an article from database
         * Does *NOT* follow redirects.