From: Reedy Date: Thu, 1 Dec 2016 12:40:05 +0000 (+0000) Subject: Remove ContentHandler functions with no usages at all X-Git-Tag: 1.31.0-rc.0~4679 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=0c7d0d38dbe1f01c11f2f5834a7bff7d7f160e99 Remove ContentHandler functions with no usages at all Bug: T145728 Change-Id: Ia0d7a5eb7e79b586c3b30688c80bb8b4b723fff6 --- diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29 index 98d2a172c1..caa35eff28 100644 --- a/RELEASE-NOTES-1.29 +++ b/RELEASE-NOTES-1.29 @@ -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. +* Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21) + were removed. == Compatibility == diff --git a/includes/page/Article.php b/includes/page/Article.php index 9a2a8e2b57..ac363b299d 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -2331,16 +2331,6 @@ class Article implements Page { 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 @@ -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