From ffaf50cdd9d8c27e1730ee776029bb517a8861df Mon Sep 17 00:00:00 2001 From: paladox Date: Wed, 29 Nov 2023 13:39:06 -0500 Subject: [PATCH] Update Target.php --- includes/Target.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;