The method uses global state (bad) and with ActorStore introduction we can use UserIdentityLookup to fetch UserIdentity by user ID and get it's name. This will benefit from charing the in-process cache with everything else.
Deployed extensions:
- FlaggedRevs https://gerrit.wikimedia.org/r/c/mediawiki/extensions/FlaggedRevs/+/683709
- Jade T281418
- GlobalBlocking
Third-party extensions:
- UsersWatchlist - non-gerrit extension
- ArticleFeedbackv5
- BatchUserRights
- ConfirmAccount
- NewUserNotif