Page MenuHomePhabricator

Bring the CIDR calculator to MediaWiki core
Open, NormalPublic

Description

The CIDR calculator, which is part of the CheckUser extension now, should be brought to the MediaWiki core. It is very useful for calculating ranges when one wants to conduct a range block.

Details

Related Gerrit Patches:

Event Timeline

Huji created this task.Dec 10 2016, 7:22 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 10 2016, 7:22 PM

Should T28751 be a parent task?

Huji added a comment.Dec 15 2016, 2:14 AM

I am not sure. My intention is not to make CheckUser part of core. Instead, I want just the particular JavaScript module to be part of core..

MusikAnimal added a project: Community-Tech.

I will claim this only because it will be bundled in with T145912, exposing it for general admin use on Special:Contribs (or RangeContribs, to be determined). We might also want it at Special:Block, though.

Or actually, maybe we should merge with T150193?

Huji added a comment.Jan 25 2017, 4:54 AM

Perhaps merge; not sure in which direction. I believe the CIDR tool should be part of core, with no regard to if and and when we create Special:RangeContributions or not.

Perhaps merge; not sure in which direction. I believe the CIDR tool should be part of core, with no regard to if and and when we create Special:RangeContributions or not.

They are related since the tool will be surfaced on Special:RangeContributions, whether in core or not.

I'd say let's not merge this either way until we have consensus to move the module into core.

I'm not sure about the priority on this one, but it's something that I would like to see. Makes rangeblocks easier to calculate for admins who are not checkusers.

I'm not sure about the priority on this one, but it's something that I would like to see. Makes rangeblocks easier to calculate for admins who are not checkusers.

Hasn't been triaged, but we were planning on bundling it in with T145912. Until then I can't think of a good place to put it, maybe Special:Block? I just hate we are (indirectly) encouraging range blocks when there is no way to check the ranges.

Until we find a good home for this calculator, you could link to an external tool in a MediaWiki system message, such as MediaWiki:Blockiptext, which will show up at Special:Block. On the English Wikipedia we are linking to several different tools but in my opinion the best one is http://nativeforeigner.com/calc/. Hope this helps.

MacFan4000 edited subscribers, added: MacFan4000; removed: Xauroflaux.Jun 10 2017, 4:39 PM

Users global account is locked, and thus they are unable to log in here and comment on this.

TBolliger removed MusikAnimal as the assignee of this task.Feb 23 2018, 11:16 PM
TBolliger edited projects, added MediaWiki-Special-pages; removed Community-Tech.
TBolliger added a subscriber: MusikAnimal.

Change 414174 had a related patch set uploaded (by Huji; owner: Huji):
[mediawiki/core@master] Bring the CIDR calculator to MediaWiki core

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

Huji claimed this task.Feb 25 2018, 2:14 AM
Huji triaged this task as Lowest priority.
Huji added a subscriber: Legoktm.Apr 4 2018, 2:16 AM

@Legoktm I like your idea of turning this into a widget. Can you please give me an example of another widget I can model it after?

Cyberpower678 raised the priority of this task from Lowest to Normal.Apr 17 2019, 8:44 PM
Cyberpower678 added a subscriber: Cyberpower678.

Boldly raising the priority to Normal as this is HIGHLY useful and needed, especially with IPv6

@Cyberpower678: Do you plan to work on this?