site-specific variants are common for this framework is a normal way for implementing scripts for different projects. We have a lot of them and use differen ways to catch them, e.g. via wikidata, dictionaries in scripts or in family files and unfortunately some templates via twn which indeed is problematic.
I can appreciate that opinion. However when global templates T6547: Support crosswiki template inclusion (transclusion => interwiki templates, etc.) lands in Wikimedia, they wont be site-specific here. They are already able to be loaded dynamically by other wikis. T14306: Implement MediaWiki Help Repository (fetching Help: pages from MediaWiki.org or Meta, similar to file description pages from Commons) will make that a commonly used feature.
As a path forward, how about we deprecate getFileVersionHistoryTable, and the new wiki-table is generated in imagetransfer, which is the only place it is used in core and compat.