SessionManager::singleton() instance the object with global state, but the constructor allows injection with options
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +171 -243 | Create SessionManager service |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T259960 Inject services into API modules and special pages | |||
Open | None | T306707 Container disabled! (JobQueue/MessageUpdateJob/PageUpdater/WikitextContentHandler/Parser/MWTimestamp/Message) | |||
Open | None | T265400 Research to create service for SessionManager::singleton()/getGlobalSession() |
Event Timeline
Comment Actions
Direct construction with args is only used in tests, should be fine to be converted to service for T306707.
https://codesearch.wmcloud.org/search/?q=new%20SessionManager%5C(
Comment Actions
Change 790665 had a related patch set uploaded (by Func; author: Func):
[mediawiki/core@master] Create SessionManager service