Page MenuHomePhabricator

Interim solution: Redirect Special:Log requests for IP ranges to the first address in the range
Closed, ResolvedPublicFeature

Description

Related to T146628: Add IP range support to [[Special:Log]], but much simpler:

MediaWiki rangeblocks are always in the following form: [First address in range]/[CIDR suffix].

Special:Block/127.0.0.**5**/24 is a redirect to Special:Block/127.0.0.**0**/24. Add the same redirection behavior to Special:Log, please.

Current behavior:

Expected behavior:

The behavior is already present when opening Special:Block; please simply copy that functionality to Special:Log as an interim solution. T146628: Add IP range support to [[Special:Log]] is open since 2016; implementing this quick fix probably won't take as long.


See Also:

Event Timeline

DannyS712 changed the subtype of this task from "Task" to "Feature Request".
DannyS712 awarded a token.
DannyS712 subscribed.

Change 718635 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] Normalize cidr ranges on Special:Log before searching block logs

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

Change 718635 merged by jenkins-bot:

[mediawiki/core@master] Normalize cidr ranges on Special:Log before searching block logs

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