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