}
/**
- * Note that getContent/loadContent do not follow redirects anymore.
+ * 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.
* If you need to fetch redirectable content easily, try
* the shortcut in WikiPage::getRedirectTarget()
*
*
* @return Return the content of this revision
*/
- public function getContentObject() {
+ protected function getContentObject() {
global $wgUser;
wfProfileIn( __METHOD__ );