Merge "Replace calls to deprecated ApiPageSet methods"

This commit is contained in:
jenkins-bot 2023-09-01 13:27:03 +00:00 committed by Gerrit Code Review
commit 76e4322516

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