Steps to replicate the issue (include links if applicable):
- Navigate to Special:Block.
- Block the IP range 1.2.3.20/30.
- Block the IP range 1.2.3.21/30.
- Once blocked, search for 1.2.3.20 or 1.2.3.21.
What happens?:
The search does not return any results for 1.2.3.20 or 1.2.3.21, even though those IPs were blocked within the specified ranges.
What should have happened instead?:
Special:Block should display the blocks associated with 1.2.3.20 and 1.2.3.21.
OS: macOS Sequoia 15.4
Browser: Chrome 134
Device: MBA
Site: https://test.wikipedia.beta.wmflabs.org/wiki/Special:Block/1.2.3.20/30
Acceptance criteria
- When searching for an IP or range, show an "Active range blocks" accordion and table, listing each range block that effects the target
- If the target is itself a range which is blocked, the block is instead shown in "Active blocks"
- The "Active range blocks" table should have only a "View" link in each row, which when clicked will change the target to that range.
- Doing the same for the "Block log" is out of scope and not part of this task.
- "Active range blocks" is always shown when looking up an IP or IP range, but has an empty state if there are no entries in the table