The UserRightsProxy was used to get/set groups for the users in foreign wikis. We need to remove all usages of this class, since now the correct way of accessing groups for users in the foreign wikis is to use UserGroupManagerFactory to create a manager pointing to the correct domain.
|Open||None||T277511 Drop hard-deprecated User methods|
|Open||Vlad.shapik||T274211 Hard-deprecate soft-deprecated User methods|
|Open||Pchelolo||T234921 Factor group membership management out of User class|
|Open||None||T275148 Prepare User group methods for hard deprecation|
|Open||None||T255309 Remove UserRightsProxy and replace it's usages with UserGroupManager|
The crazy part there is that the only place it's returned from is UserrightPage::fetchUser which is overridden by SpecialGlobalGroupMembership from CentralAuth, that can return CentralAuthGroupMembershipProxy. So it's a bit trickier then it sounds..
It may be useful to make UserRIghtsProxy implement UserIdentity. This way, we can just start passing $user to UserGroupManager without worrying about whether it's a User or a UserRightsProxy. Then we can make the constructor of UserrightsProxy emit deprecation warnings.