Update Target.php

This commit is contained in:
paladox
2023-11-29 13:39:06 -05:00
committed by GitHub
parent 733b0e967d
commit ffaf50cdd9

View File

@ -196,7 +196,7 @@ class Target {
$wikiPageFactory = MediaWikiServices::getInstance()->getWikiPageFactory(); $wikiPageFactory = MediaWikiServices::getInstance()->getWikiPageFactory();
$this->content = $wikiPageFactory->newFromTitle( $this->title )->getContent(); $this->content = $wikiPageFactory->newFromTitle( $this->title )->getContent();
} else { } else {
$this->content = \WikiPage::factory( $this->title ); $this->content = \WikiPage::factory( $this->title )->getContent();
} }
}; };
return $this->content; return $this->content;