Completed extractPageIds and extractPageTitles