Page MenuHomePhabricator

Don't show misleading messages on Special:Contributions for IP ranges outside the CIDR limit
Closed, ResolvedPublic

Description

When viewing the contributions for an IP range that is beyond the CIDR limt — e.g., https://en.wikipedia.org/wiki/Special:Contributions/143.228.1.1/12 — MediaWiki:Sp-contributions-footer-anon is shown at the bottom instead of showing MediaWiki:Sp-contributions-footer-anon-range or simply nothing, as is done with unregistered usernames.

Additionally, block and block log links (for sysops) and suppressed user contributions (for oversighters) remain when a range is shown instead of a single address, but likewise don't make much sense for ranges outside the limit.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 13 2018, 6:36 PM
Amorymeltzer updated the task description. (Show Details)Dec 13 2018, 6:40 PM
Ammarpad added a subscriber: Ammarpad.

The footer is no longer displaying the wrong message, but the user links are still there

Change 589659 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Don't show action links for IP ranges outside block limit

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

Change 589659 merged by jenkins-bot:
[mediawiki/core@master] Don't show action links for IP ranges outside block limit

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

Ammarpad closed this task as Resolved.Jan 6 2021, 7:12 PM
Ammarpad claimed this task.