mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Update Target.php
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user