Update Target.php

This commit is contained in:
paladox
2023-11-29 13:34:42 -05:00
committed by GitHub
parent db42a48c07
commit 503fdfbbbf

View File

@ -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;