Bug: T145728
Change-Id: Ia0d7a5eb7e79b586c3b30688c80bb8b4b723fff6
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.
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
- /**
- * 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