Page MenuHomePhabricator

Make class SpecialEmailUser a real special page and move all helper function to own service
Open, Needs TriagePublic

Description

The class SpecialEmailUser provide static functions to share code with api modules

This makes service injection hard

Functions seems to be SpecialEmailUser::getTarget, SpecialEmailUser::validateTarget and SpecialEmailUser::getPermissionsError

https://codesearch.wmcloud.org/search/?q=SpecialEmailUser&i=nope&files=&repos=

Event Timeline

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

[mediawiki/core@master] Add basic EmailUserUtils service

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

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

[mediawiki/core@master] Clean up and simplify SpecialEmailUser::submit

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

Change 675876 merged by jenkins-bot:

[mediawiki/core@master] Clean up and simplify SpecialEmailUser::submit

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