Page MenuHomePhabricator

Add basic IP range support to Special:Contributions
Closed, ResolvedPublic40 Estimated Story Points

Description

Add basic IP range support to the normal Special:Contributions. No per-IP sorting or date headings, or any bells and whistles. Later we can move on to T145912 and create Special:RangeContributions for the power users.

This uses the table introduced with T156318, which has been given the OK from a DBA.

Currently we are only showing a block entry at the top if the full range is blocked, as opposed to subrange blocks or individual blocks of within the range.

Related Objects

Event Timeline

@MusikAnimal: Please split the new table creation into a separate patch. This will make it easier to roll out.

MusikAnimal renamed this task from Add basic IP range support to Special:Contributions and possibly log pages to Add basic IP range support to Special:Contributions.Aug 10 2017, 3:29 AM
kaldari set the point value for this task to 40.Aug 22 2017, 11:46 PM

@brion @Anomie : Could you take a look at this patch?

Change 349457 merged by jenkins-bot:
[mediawiki/core@master] Add basic IP range support to Special:Contributions

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

MusikAnimal moved this task from Needs Review/Feedback to Q1 2018-19 on the Community-Tech-Sprint board.

Merged! This is slated to go out on next week's train :)

All is working fine on the beta cluster. Here's contribs from the WMF office, for example: https://en.wikipedia.beta.wmflabs.org/wiki/Special:Contributions/198.73.209.0/24

Next step is to run the maintenance script on each wiki to backfill historical data: T175105

Sorry, @MusikAnimal. I just tried DeletedContributions for something deleted today, it doesn't work. If the task is resolved, it's a bug?

Sorry, @MusikAnimal. I just tried DeletedContributions for something deleted today, it doesn't work. If the task is resolved, it's a bug?

DeletedContributions is not yet supported. Sorry about that! I updated the task description.

Change 636235 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Fix ip_changes.ipc_rev_id column default value

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

Change 636235 merged by jenkins-bot:
[mediawiki/core@master] Fix ip_changes.ipc_rev_id column default value

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