Page MenuHomePhabricator

Show a text label when there is No IP data for temporary user on Special:Block
Closed, ResolvedPublic

Description

Following T324602#8690912 and T324602#8712185 Show no data label on Special:Block

Acceptance criteria

  • If there is no IP data for a temporary user show the label that reads `No IP data for this temporary user for the last X days`

Event Timeline

Tchanders added a subscriber: Prtksxna.

`No IP data for this temporary user for the last X days`

@Prtksxna Can we change this to something like `No IP data for this temporary user due to time elapsed`? The API doesn't return when the last IP address associated with an account was purged.

I meant X to be whatever the policy for data retention would be 90 or 180 days, not the actual time elapsed since the purge.

Change 908008 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/CheckUser@master] Show text label when no IPs returned on Special:Block

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

Change 908008 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Show text label when no IPs returned on Special:Block

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

Change 909665 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/extensions/CheckUser@master] Use PLURAL in checkuser-tempaccount-no-ip-results message

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

Change 909665 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Use PLURAL in checkuser-tempaccount-no-ip-results message

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

@TThoabala I see in the description you have No IP data for this temporary user for the last X days. Is it supposed to be the number of actual days that it had no IP data since you had "x", which the IP data just got deleted last week for the example below, or is the description of your ticket should have "90" days?

T333514_IPMasking_SpecialBlock_DeletedIP.png (655×3 px, 171 KB)

@TThoabala I see in the description you have No IP data for this temporary user for the last X days. Is it supposed to be the number of actual days that it had no IP data since you had "x", which the IP data just got deleted last week for the example below, or is the description of your ticket should have "90" days?

T333514_IPMasking_SpecialBlock_DeletedIP.png (655×3 px, 171 KB)

It's supposed to be the second one, as per @Prtksxna :

I meant X to be whatever the policy for data retention would be 90 or 180 days, not the actual time elapsed since the purge.

@TThoabala I see in the description you have No IP data for this temporary user for the last X days. Is it supposed to be the number of actual days that it had no IP data since you had "x", which the IP data just got deleted last week for the example below, or is the description of your ticket should have "90" days?

T333514_IPMasking_SpecialBlock_DeletedIP.png (655×3 px, 171 KB)

It's supposed to be the second one, as per @Prtksxna :

I meant X to be whatever the policy for data retention would be 90 or 180 days, not the actual time elapsed since the purge.

It is the value of $wgCUDMaxAge, right?

It is the value of $wgCUDMaxAge, right?

Yes (so not always 90 necessarily)

@Tchanders Ok sounds good. I didn't come across anything else regarding this issue so I'll move this to Done. Thanks!