User:Doug Weller/range contributions

IPv6 range contributions
Our discussion at WP:VPT encouraged me to enhance blockcalc. It can be used with multiple IPv4 and/or IPv6 addresses. If you have a single IPv6 address, you can enter it as in this example:

The result (below) displays a /64 range with a link to the contributions made by addresses in that range in the last month (for today, that means edits on and after 26 March 2016).

If older contributions are wanted, you can enter something like this (edits on and after 26 January 2016).

Johnuniq (talk) 08:06, 26 April 2016 (UTC)


 * I love you, John, but… am I supposed to go somewhere and write ? Where? Or can I just go to the single IPv6's contribs, cut off the IP after the fourth group of digits, leave the colon in, add an asterisk, and click Search?  It seems to work. And to the kind of mind I have, it sounds… simpler. At least, if I'm satisfied with going back one month — I don't know what I would do for going back longer. (Change the numeral in the URL, perhaps?)


 * PS, by the way, yes it worked, but you should have seen how fantastically it worked when I forgot to leave the colon in! :-) Lots of IPs, lots of contributions. Are all those other IPs irrelevant? Bishonen &#124; talk 15:31, 26 April 2016 (UTC).
 * To try blockcalc, you might edit your sandbox and replace its contents with the example above, then Preview. There is no need to save the edit because preview is enough to see the results. When finished, close the browser window to discard the previewed edit.
 * You are correct that looking at Special:Contributions/2601:188:0:ABE6:65F5:930C:B0B2:CD63 then replacing everything after 2601:188:0:ABE6: with * works well.
 * Blockcalc has two advantages. First, it defaults to showing only the edits in the last month (or whatever number of months is specified). With many IPs, that makes no difference because the IP only has a handful of edits in total. However, for other IPs, it makes a big difference. In the above example table, blockcalc generates this contribs link—that currently shows 13 different IPs. The manual method of inserting an asterisk lists 90 different IPs, many of which have not edited in the last few months.
 * The second advantage of blockcalc is that it can handle multiple IPs and can calculate what ranges are needed to cover all the IPs entered. That may not be useful in practice because what is needed is obvious, or because the technically correct answer would block far too many IPs. Anyway, blockcalc is an option that may be helpful in some cases. Johnuniq (talk) 07:00, 27 April 2016 (UTC)
 * Look at this crazy stuff, John. A /20 block of an IPv6 range! Several galaxies of users. Now unblocked, but the blocking admin's response ... well, see for yourself. Bishonen &#124; talk 07:47, 27 April 2016 (UTC).
 * Yeah, that's a bit blasé. Johnuniq (talk) 10:03, 27 April 2016 (UTC)