In the context of T324991: Make Wikibase not rely on the ResourceLoader target system, we added new services WikibaseClient.MobileSite/WikibaseRepo.MobileSite and used them statically throughout Wikibase. This was done for the sake of a fast feedback cycle on this. We should revisit these places and properly inject them, as well as covering them by tests where applicable.
Also, the tests for these services should exercise them properly.
Acceptance criteria:
- The services are injected with Dependency Injection as usual everywhere
- The services are unit-tested with all code paths/branches exercised and asserted