Summary
The CheckUser temporary account IP reveal feature currently displays "unavailable" when no IP could be found, including in the case when the IP has expired. When the IP has expired we should instead display "no longer available" to improve understandability.
Background
- Temporary account IP reveal provided by CheckUser adds a "Show IP" button
- This button when pressed is replaced with the IP address associated with the action performed by the temporary account
- When this IP address cannot be found, the text "unavailable" instead is what is shown
- The IP address can be not found if it has expired due to being older than 3 months
- When this occurs, the same "unavailable" message is shown
- It has been noted by a WMF steward that using this message text isn't clear, as it could imply that the IP address was never unavailable. Instead using something like "no longer available" makes it clear the IP is not found because it has expired
User story
- As a user with IP reveal rights, I click "Show IP" for a temporary account which last edited over 3 months ago
- I see the button be replaced with the text "unavailable"
- I am confused as to why the IP address is not available
Technical notes
- We could probably just determine if "no longer available" is to be displayed if the timestamp associated with the action we are revealing the IP for is over 3 months old
- Importantly, the 3 months old cutoff comes from the $wgCUDMaxAge configuration value which is set by default to 3 months
Acceptance criteria
- When IP reveal fails due to the IP having expired, the message "no longer available" is shown instead of "unavailable"




