/**
* @var Content
+ * @since 1.WD
*/
var $mContentObject;
* This function has side effects! Do not use this function if you
* only want the real revision text if any.
*
- * @deprecated in 1.20; use getContentObject() instead
+ * @deprecated in 1.WD; use getContentObject() instead
*
* @return string The text of this revision
*/
public function getContent() {
- wfDeprecated( __METHOD__, '1.20' );
+ wfDeprecated( __METHOD__, '1.WD' );
$content = $this->getContentObject();
return ContentHandler::getContentText( $content );
}
* only want the real revision text if any.
*
* @return Content
+ *
+ * @since 1.WD
*/
protected function getContentObject() {
global $wgUser;
* Does *NOT* follow redirects.
*
* @return mixed string containing article contents, or false if null
- * @deprecated in 1.20, use getContentObject() instead
+ * @deprecated in 1.WD, use getContentObject() instead
*/
protected function fetchContent() { #BC cruft!
- wfDeprecated( __METHOD__, '1.20' );
+ wfDeprecated( __METHOD__, '1.WD' );
if ( $this->mContentLoaded && $this->mContent ) {
return $this->mContent;
* TODO: when is this null?
*
* @return Content|null
+ *
+ * @since 1.WD
*/
protected function fetchContentObject() {
if ( $this->mContentLoaded ) {
* @param $newtext
* @param $flags
* @return string
- * @deprecated since 1.20, use ContentHandler::getAutosummary() instead
+ * @deprecated since 1.WD, use ContentHandler::getAutosummary() instead
*/
public static function getAutosummary( $oldtext, $newtext, $flags ) {
return WikiPage::getAutosummary( $oldtext, $newtext, $flags );