Once T214557 is finished (functionality is written and complete) and useEntitySourceBasedFederation is true everywhere in production and by default in Wikibase we can remove the old code that it is switching away from.
[x] {T245547}
[] Remove all conditional code paths in Repo and Client that were differing depending on the value of `useEntitySourceBasedFederation` setting
[] {T245817}
[] {T245830}
[] Update `DataAccessSnakFormatterOutputFormatTest`: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/569331
...
[] Repo: Rename `Wikibase::getEntityTypeToRepositoryMapping` - given "repository" concept will be gone
[] Remove the service containers (`PerRepositoryServiceContainer` and `MultipleRepositoryAwareWikibaseServices`) & wiring
[] Remove `RepositoryDefinitions`
[] Remove the logic setting up "entity source" config from "legacy" setting options (`repositories`, `foreignRepositories`, `conceptBaseUri`, `entityNamespaces`, ...)
[] Update services documentation
[] (possibly optional) Remove `EntityId::getRepositoryName` and "repository prefix" related code in Wikibase Data Model library