Page MenuHomePhabricator

Hard-deprecate User::whoIs
Open, LowPublic

Description

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:

Third-party extensions:

  • UsersWatchlist
  • ArticleFeedbackv5
  • BatchUserRights
  • ConfirmAccount
  • NewUserNotif

Event Timeline

Change 683709 had a related patch set uploaded (by Ppchelko; author: Ppchelko):

[mediawiki/extensions/FlaggedRevs@master] Remove usages of User::whoIs - getting deprecated.

https://gerrit.wikimedia.org/r/683709

Change 683020 had a related patch set uploaded (by Ppchelko; author: Ppchelko):

[mediawiki/core@master] Hard-deprecate UserCache and User::whoIs methods.

https://gerrit.wikimedia.org/r/683020

Change 683709 merged by jenkins-bot:

[mediawiki/extensions/FlaggedRevs@master] Remove usages of User::whoIs - getting deprecated.

https://gerrit.wikimedia.org/r/683709

Removing inactive assignee (Platform Engineering: Please unassign tasks of previous team members.)