Split off from my comment on T405373:
- Replace Handler module calls with injected deprecation settings form the module's info
- Replace router calls with the new injected RouteLocator object and RestbaseCompat::isRestbaseCompatEnabled helper method
- Update Handler initialization calls in Module and Router with the new injectable args
- Start the deprecation process for $this->module, $this->getModule, $this->getRouter from Handler Base class.
The last 2 items are subject to the Stable interface policy . Expected to take atleast 6 months with 3 months of them($this->module, $this->getModule, $this->getRouter) being hard deprecated in master and atleast one major release.
- Ensure all builds are tests not broken
- Update all documentations/wikis with this new Base Handler changes