Background
As part of IP Masking, temporary accounts are created for anonymous users. (See T300263: [IP Masking] Create temporary account on first edit)
It is possible to block these temporary account via Special:Block. It is helpful for the blocking admin to be able to see related IP addresses at this point:
Acceptance criteria
- Once a temporary account name is selected, display the IP addresses associated with that account, if the blocking admin has permission to see them
- The IP addresses will be found via an API query to CheckUser (see subtask)
Notes
There may be too many IP addresses to display. See follow-up task: T324719: In Special:Block, hide IP addresses associated with a temporary account, if there are too many
Testing notes
- This can be tested locally, on Beta or on Patch Demo
- This task involves two changes:
- in MediaWiki core we now use a multiselect widget to enter the user name or IP on Special:Block (limited to 1).
- in CheckUser, we add the IP addresses when a temporary user is selected
- The CheckUser patch won't work without the core patch - something to be mindful of if testing locally
- Some limitations are known and are being discussed with design. See T324602#8673842
- Further testing notes are in T324602#8687683