Page MenuHomePhabricator

Research to create service for SessionManager::singleton()/getGlobalSession()
Open, Needs TriagePublic


SessionManager::singleton() instance the object with global state, but the constructor allows injection with options

Event Timeline

Direct construction with args is only used in tests, should be fine to be converted to service for T306707.

Change 790665 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] Create SessionManager service