Efforts to use dependency injection and reduce reliance on the global state.
See https://www.mediawiki.org/wiki/Dependency_Injection
There is a potential overlap with the Technical-Debt project, so when in doubt assign both tags.
For MediaWiki core's service locator and related work, see MediaWiki-libs-Services