Page MenuHomePhabricator

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

Description

At the moment the Special:UserRights is instanced outside of the SpecialPageFactory to call some of the function for code sharing between special page, api and linking in skin and some other special pages

It seems there are mostly calling userCanChangeRights or fetchUser

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