Wikibase sports a dedicated CI to, post-merge in gerrit, test wikibase against more languages and database than is the case in "official" CI.
These tests, of course, also integrate wikibase with MediaWiki. Currently this integration indiscriminately happens against MediaWiki master branch.
Instead, wikibase should be integrated with the respective MediaWiki branch.