The Nuke extension needs to be able to delete all pages created by an IP address after temporary accounts are enabled.
How it will work
- The user will input an IP address into a form (see parent task)
- Nuke will query CheckUser for all the temporary accounts associated with that IP address
- Nuke will find pages created by those temporary accounts
- Nuke will delete pages created from any IP addresses used by any temporary accounts that have used the inputted IP address
What's needed from CheckUser
- A new REST API endpoint: /checkuser/v0/temporaryaccount/{ip}
- This takes an IP address, and returns the temporary accounts that have used it
- It uses the same permissions checks as AbstractTemporaryAccountHandler:
- requires checkuser-temporary-account right
- requires checkuser-temporary-account-enable preference
- requires the performer not to be blocked
Note that this work was approved by Legal: T342785#9178645