diff --git a/includes/Target.php b/includes/Target.php index a6bfe45..46d4a35 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 ); } }; return $this->content;