Remove ContentHandler functions with no usages at all
authorReedy <reedy@wikimedia.org>
Thu, 1 Dec 2016 12:40:05 +0000 (12:40 +0000)
committerReedy <reedy@wikimedia.org>
Sat, 3 Dec 2016 12:13:25 +0000 (12:13 +0000)
Bug: T145728
Change-Id: Ia0d7a5eb7e79b586c3b30688c80bb8b4b723fff6

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

index 98d2a17..caa35ef 100644 (file)
@@ -60,6 +60,8 @@ changes to languages because of Phabricator reports.
   Status return type is deprecated.
 * User::edits() (deprecated in 1.21) was removed.
 * Xml::escapeJsString() (deprecated in 1.21) was removed.
   Status return type is deprecated.
 * User::edits() (deprecated in 1.21) was removed.
 * Xml::escapeJsString() (deprecated in 1.21) was removed.
+* Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21)
+  were removed.
 
 == Compatibility ==
 
 
 == Compatibility ==
 
index 9a2a8e2..ac363b2 100644 (file)
@@ -2331,16 +2331,6 @@ class Article implements Page {
                return $this->mPage->getRevision();
        }
 
                return $this->mPage->getRevision();
        }
 
-       /**
-        * Call to WikiPage function for backwards compatibility.
-        * @see WikiPage::getText
-        * @deprecated since 1.21 use WikiPage::getContent() instead
-        */
-       public function getText( $audience = Revision::FOR_PUBLIC, User $user = null ) {
-               wfDeprecated( __METHOD__, '1.21' );
-               return $this->mPage->getText( $audience, $user );
-       }
-
        /**
         * Call to WikiPage function for backwards compatibility.
         * @see WikiPage::getTimestamp
        /**
         * Call to WikiPage function for backwards compatibility.
         * @see WikiPage::getTimestamp
@@ -2503,15 +2493,6 @@ class Article implements Page {
                );
        }
 
                );
        }
 
-       /**
-        * Call to WikiPage function for backwards compatibility.
-        * @deprecated since 1.21, use prepareContentForEdit
-        * @see WikiPage::prepareTextForEdit
-        */
-       public function prepareTextForEdit( $text, $revid = null, User $user = null ) {
-               return $this->mPage->prepareTextForEdit( $text, $revid, $user );
-       }
-
        /**
         * Call to WikiPage function for backwards compatibility.
         * @see WikiPage::protectDescription
        /**
         * Call to WikiPage function for backwards compatibility.
         * @see WikiPage::protectDescription