Steps to replicate the issue (include links if applicable):
- Login into an account that can block users and has the temporary account IP viewer right
- Load Special:Block/*Unregistered 1
What happens?:
"Show IP" button is not shown
What should have happened instead?:
The "Show IP" button should appear because the username field is pre-filled with a temporary user
Software version (skip for WMF-hosted wikis like Wikipedia):
CheckUser master branch on local wiki
Other information (browser name/version, screenshots, etc.):
Was fixed in T332136 but reintroduced by T334713 / https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CheckUser/+/904602/
Found when testing patch for T335392, but issue is present without the associated patch applied (so unrelated to that change).
Example: