HomePhabricator

Splits the request to MediaWiki API and Wikidata query service in batches.

Authored by Usmanmuhd on Jun 14 2019, 2:50 PM.

Description

Splits the request to MediaWiki API and Wikidata query service in batches.

Splits the request to MediaWiki API to get items in batches of 50
instead of requesting 500 items at once.
Splits the query to Wikidata query service in batches of 50 instead of
all at once.

Bug: T215222
Change-Id: If445fda5f442b20e5be7998eac1823d2a7640dec