make getContentObject() public for now, fix occurances later
authordaniel <daniel.kinzler@wikimedia.de>
Mon, 11 Jun 2012 10:21:56 +0000 (12:21 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Mon, 11 Jun 2012 10:21:56 +0000 (12:21 +0200)
includes/Article.php

index aaa9f0b..b252920 100644 (file)
@@ -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__ );