Background
As part of making it easier to see connected temporary accounts who are sharing the same IP address, we would like to show contributions and logs for multiple temporary accounts.
This will require being able to look up which temporary accounts are related to a given temporary account.
What to do
We already have the ability via CheckUserTemporaryAccountsByIPLookup to find a count of all related temporary accounts which takes a temporary account, finds all the IPs it has used, and finds all the temporary accounts that have used any of those IPs. We should build on this to return the actual names of the temporary accounts.
Acceptance criteria
- There is a public method for looking up names of related temp accounts
- It is only usable by users who have IP reveal rights
- It hides hidden user names if the performer does not have the right to see them