What is the problem?
When entering temporary account names in the Special:Block user input, there are some circumstances where I can make two lists of associated IPs appear. See screenshot below.
In particular, this happens when I throttle my connection. Therefore, this might affect users with slow connections.
There is a workaround. You can clear both lists by just entering something in the user input field and then enter the username you want.
One thing I notice is that each time I select a temporary user a new .ext-checkuser-tempaccount-specialblock-ips div is created. Perhaps if we added to the same div each time this would be solved.
Steps to reproduce problem
On Firefox (steps for Chrome should be very similar):
- Have two temp users, *Unregistered 1 and *Unregistered 11
- Go to Special:Block
- Open browser's devtools and go to network tab
- Click the dropdown called "no throttling" and select "GPRS"
- In the username field type *Unregistered 1, wait for a dropdown to appear and press enter
- Type 1 (so the input field is now *Unregistered 11) and press enter
Expected behavior: One associated IP address link for *Unregistered 11.
Observed behavior: Two lists, unclear which is for which user.
Environment
Browser: Firefox 102, Chromium 112.
Wiki(s): MediaWiki 1.41.0-alpha (a8ab841) 01:43, 26 April 2023. CheckUser 2.5 (5b750d7) 17:37, 25 April 2023.