From: daniel Date: Mon, 11 Jun 2012 10:21:56 +0000 (+0200) Subject: make getContentObject() public for now, fix occurances later X-Git-Tag: 1.31.0-rc.0~22097^2^2~119 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=c2ef0bff3791a2fb64e4f638e44582bdcd877ace;p=lhc%2Fweb%2Fwiklou.git make getContentObject() public for now, fix occurances later --- diff --git a/includes/Article.php b/includes/Article.php index aaa9f0b2c8..b252920d2e 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -262,8 +262,10 @@ class Article extends Page { * @return Content Return the content of this revision * * @since 1.WD + * + * @todo: FIXME: this should really be protected, all callers should be changed to use WikiPage::getContent() instead. */ - protected function getContentObject() { + public function getContentObject() { global $wgUser; wfProfileIn( __METHOD__ );