Background
Temporary users have global accounts, the same as fully registered users. Once T17294: Allow globally blocking of accounts is complete, we should be able to globally block temporary accounts. However there is nothing stopping the user from creating a new temporary account on their next edit after they end their session (such as via clearing cookies or using a different browser).
Possible approach
This could involve solving T17294: Allow globally blocking of accounts and allowing autoblocks - so a temporary account could be globally blocked with an autoblocking block. (See also T340275, but it will likely be merged into T17294 as they can be solved together.)
Additional questions about the block itself:
- How long for?
- Account creation only? (would allow already-created temp users to keep editing)