Replace calls to deprecated ApiPageSet methods

Bug: T339384
Change-Id: Iafc14bb31fd37d38fe0cf53c81f0b774f939f6ef
This commit is contained in:
thiemowmde 2023-08-23 09:28:00 +02:00 committed by Thiemo Kreuz (WMDE)
parent 4aaa893c4b
commit 39602bdb8d

View file

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