Some discussion at meta with @MusikAnimal, but the underlying issue is that wgRelevantUserName does not exist for valid IP ranges; see T206954 and #476 (and MusikAnimal/MoreMenu@13d46f8 and T211910).
Modules that Twinkle displays on contribs for IPs are arv, block, talkback, warn, and welcome, but right now none of those show up for valid ranges since they all rely on wgRelevantUserName. That's good for warn and welcome — we don't want to warn or welcome ranges — but, at least in theory, some of the functions of arv and block should be allowed, if somewhat broken. In particular:
[x] ARV should allow reporting ranges to AIV (#1266)
[x] Everything else (except maybe SPI???) should be disabled, in particular AN3 reporting since rvuser doesn't accept IP ranges.
[x] Don't show anything for ranges outside of the CIDR limit (T211910) (#1266)
[ ] Remove fluff kludge for IP range contributions (#1296)
In the end, this is just a PITA that will complicate and obfuscate the code a fair bit.
Of course, depending on if and how T206954 is resolved, we'll want to exclude a number of these modules and their functions. Largely done in #1266
In theory #1266 did all this, but since T206954 still isn't merged/live, and #1296 is outstanding, gonna keep this open to track ongoing/future work needed.
Some discussion at meta with @MusikAnimal, but the underlying issue is that
wgRelevantUserName
does not exist for valid IP ranges; see T206954 and #476 (and MusikAnimal/MoreMenu@13d46f8 and T211910).Modules that Twinkle displays on contribs for IPs are
arv
,block
,talkback
,warn
, andwelcome
, but right now none of those show up for valid ranges since they all rely onwgRelevantUserName
. That's good for warn and welcome — we don't want to warn or welcome ranges — but, at least in theory, some of the functions of arv and block should be allowed, if somewhat broken. In particular:bkusers
for previous blocks doesn't work on IPv4 rangesrvuser
doesn't accept IP ranges.In the end, this is just a PITA that will complicate and obfuscate the code a fair bit. Of course, depending on if and how T206954 is resolved, we'll want to exclude a number of these modules and their functions.Largely done in #1266