}
/**
- * 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()
*
* 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()
*
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.
# Don't cache a dirty ParserOutput object
if ( $poolArticleView->getIsDirty() ) {
- $outputPage->setSquidMaxage( 0 );
+ $outputPage->setCdnMaxage( 0 );
$outputPage->addHTML( "<!-- parser cache is expired, " .
"sending anyway due to pool overload-->\n" );
}