Page MenuHomePhabricator

Add a parameter alsolocal to the globalblocking API
Closed, ResolvedPublic

Description

Stews have their own scripts to work with globalblocks, and ocasionally, it is needed to block that IPs at meta. We can issue two block requests, but that would mean double as API queries. A parameter similar to what's already in Special:GlobalBlock would work well.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Urbanecm renamed this task from Add a parameter localblock to the globalblocking API to Add a parameter alsolocal to the globalblocking API.Apr 4 2020, 9:49 PM

Change 585964 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[mediawiki/extensions/GlobalBlocking@master] Add a parameter alsolocal to the globalblocking API

https://gerrit.wikimedia.org/r/585964

Change 585964 merged by jenkins-bot:
[mediawiki/extensions/GlobalBlocking@master] API: Add ability to also block local account when global blocking

https://gerrit.wikimedia.org/r/585964