Page MenuHomePhabricator

UserDef parameter should return UserIdentityValue instead of User
Closed, ResolvedPublic

Description

Documented to only be a UserIdentity object, currently its a full User though (when PARAM_RETURN_OBJECT is enabled)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 703416 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/core@master] UserDef: no need to return full User objects

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

Change 708223 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/core@master] UserDef: creating from id 0 should be unknown user, not context ip

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

Change 710386 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/extensions/GrowthExperiments@master] UserDef only returns UserIdentity

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

Change 710388 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/core@master] ApiUserrights: remove use of UserDef::PARAM_RETURN_OBJECT

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

Change 710386 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] UserDef only returns UserIdentity

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

Change 710388 merged by jenkins-bot:

[mediawiki/core@master] ApiUserrights: remove use of UserDef::PARAM_RETURN_OBJECT

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

Change 703416 merged by jenkins-bot:

[mediawiki/core@master] UserDef: no need to return full User objects

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

Change 708223 merged by jenkins-bot:

[mediawiki/core@master] UserDef: creating from id 0 should be unknown user, not context ip

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