Users of the Wiki Replicas will want to know if a given user account is temporary. The way this information is accessed will dictate the solution. The minimal change will be to surface the user_is_temp field in the replica views. Beyond that, we will probably need to wait and see what the access patterns are. If the vast majority of use cases just look up user information in the user view, then this change will be sufficient. If, on the other hand, there's a need to know whether a user is temporary in queries over large number of revisions, we should think carefully about the specifics of those access patterns.
Customize query in gerrit
|operations/puppet||production||+2 -1||wikireplicas: add user_is_temp column to user view|
|Open||None||T333223 Adding user_is_temp to the user table|
|Open||Ladsgroup||T336886 Add user_is_temp field to the user table in MediaWiki core|
|Open||Ladsgroup||T346679 Surface Temporary user information to Cloud Wiki Replicas|