Page MenuHomePhabricator

UserDef DI
Closed, ResolvedPublic

Description

Inject services like UserFactory into UserDef instead of using static User methods.
This will enable easier testing of REST Endpoints that use UserDef in their param settings definition (called from Handler::getParamSettings()).

Details

ProjectBranchLines +/-Subject
mediawiki/coremaster+74 -15
Customize query in gerrit

Event Timeline

Change 616908 had a related patch set uploaded (by Nikki Nikkhoui; owner: Nikki Nikkhoui):
[mediawiki/core@master] UserDef DI

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

Change 616908 had a related patch set uploaded (by Nikki Nikkhoui; owner: Nikki Nikkhoui):
[mediawiki/core@master] UserDef DI

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

Change 616908 merged by jenkins-bot:
[mediawiki/core@master] UserDef DI

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