From c2ef0bff3791a2fb64e4f638e44582bdcd877ace Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 11 Jun 2012 12:21:56 +0200 Subject: [PATCH] make getContentObject() public for now, fix occurances later --- includes/Article.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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__ ); -- 2.20.1