Page MenuHomePhabricator

Provide API to test if an IP is blocked by Tor
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):
Provide API to test if an IP is blocked by Tor

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Provides the same information as Special:BlockList. Let gadgets or bots to provide correct block info.
https://en.wikipedia.org/w/index.php?title=Special:BlockList&wp_target=95.214.54.60&uselang=en (See Other block section)

Benefits (why should this be implemented?):

Event Timeline

Change 815652 had a related patch set uploaded (by A2093064; author: A2093064):

[mediawiki/extensions/TorBlock@master] Add API to check if an IP is blocked

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

Reedy renamed this task from Provide API to test if an IP is tor blocked to Provide API to test if an IP is blocked by Tor.Aug 18 2022, 11:32 AM
Reedy updated the task description. (Show Details)

I was going to ask if this should be hidden behind some sort of userright (or only given by default to sysop/similar), but as we expose it on Special:BlockList, there is no need.

Change 834678 had a related patch set uploaded (by Reedy; author: Reedy):

[translatewiki@master] Add Torblock API group

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

Change 815652 merged by jenkins-bot:

[mediawiki/extensions/TorBlock@master] Add API to check if an IP is blocked

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

Change 834678 merged by jenkins-bot:

[translatewiki@master] Add Torblock API group

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

  NODES
HOME 1
Note 3
os 2