mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
Replace calls to deprecated ApiPageSet methods
Bug: T339384 Change-Id: Iafc14bb31fd37d38fe0cf53c81f0b774f939f6ef
This commit is contained in:
parent
4aaa893c4b
commit
39602bdb8d
|
@ -76,8 +76,8 @@ class ApiTemplateData extends ApiBase {
|
|||
|
||||
$pageSet = $this->getPageSet();
|
||||
$pageSet->execute();
|
||||
$titles = $pageSet->getGoodTitles(); // page_id => Title object
|
||||
$missingTitles = $pageSet->getMissingTitles(); // page_id => Title object
|
||||
$titles = $pageSet->getGoodPages();
|
||||
$missingTitles = $pageSet->getMissingPages();
|
||||
|
||||
$includeMissingTitles = $this->getParameter( 'doNotIgnoreMissingTitles' ) ?:
|
||||
$this->getParameter( 'includeMissingTitles' );
|
||||
|
|
Loading…
Reference in a new issue