As part of the overall effort for preparing tooling for Temporary accounts rollout, it would be nice to have the language agnostic revert risk model and the multilingual revert risk models take into account whether the user account is a temporary account, or a full account.
We have two ways of doing this:
- the user_is_temp flag in the user table
- checking if the username matches a reserved pattern for temporary account usernames
For the multilingual revert risk model, I'd imagine we'd want to update code that checks if the user is an IP editing user, and include an OR conditional that also includes temporary accounts.
I am unsure of what if anything would need to be done to the language agnostic revert risk model.
The user_is_temp flag is available today, even if it is not actually populated for any accounts in production yet.
Ideally, the revert risk models could support temporary accounts in time for our rollout to testwiki and pilot wikis in March/April 2024.