Now that T222388: Create a mechanism for SpecialPages and API modules to have dependencies injected into them has been resolved, the services required by special pages can be injected into the special pages.
Some pitfalls
Some special pages extended by extensions. These need to be updated to pass the services to the parent constructor and update their declaration to include the required services.
- Special pages constructors call SpecialPage::__construct directly, bypassing the parent constructor and thus the injected dependency.