Summary
It would be useful for automated tools used by functionaries to have access to GlobalContributions data via the API.
Background
- GlobalContributions data is currently only accessible via a special page.
- To support bots and scripted lookups, we should expose the data in a machine-readable format over the API.
Technical notes
This should be a MW query API module, since the REST API does not have built-in support for pagination.
Acceptance criteria
- https://meta.wikimedia.org/w/api.php?action=query&format=json&list=globalcontributions&formatversion=2&guctarget={user}&guclimit=10 returns global contributions for a user
- https://meta.wikimedia.org/w/api.php?action=query&format=json&list=globalcontributions does not support lookups for IP addresses or IP address ranges