diff --git a/includes/Target.php b/includes/Target.php index 46d4a35..1943317 100644 --- a/includes/Target.php +++ b/includes/Target.php @@ -196,7 +196,7 @@ class Target { $wikiPageFactory = MediaWikiServices::getInstance()->getWikiPageFactory(); $this->content = $wikiPageFactory->newFromTitle( $this->title )->getContent(); } else { - $this->content = \WikiPage::factory( $this->title ); + $this->content = \WikiPage::factory( $this->title )->getContent(); } }; return $this->content;