Background
- In 2012 we add $wgCentralHost as a way to output <link rel="dns-prefetch" href="//meta.wikimedia.org" /> on pageviews, to improve performance of loading banners. T42969: Add a non-blocking DNS lookup for meta.wm.o to the head
- In 2014 we add $wgCentralSelectedBannerDispatcher for the URL to Special:BannerLoader on Meta-Wiki. It supersedes $wgCentralBannerDispatcher which was a URL to Special:BannerRandom on Meta-Wiki. The banner selection logic was replaced with a ResourceLoader module loaded from the local wiki. https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralNotice/+/173220
Problem
It is unclear why $wgCentralHost exists. It appears exclusive used for DNS preloading for the request to $wgCentralSelectedBannerDispatcher, and thus there is only ever one correct value: The hostname in that URL.
Any other value is incorrect. We can remove this extra configuration management, and extra thing to learn (or do wrong) by deriving it from $wgCentralSelectedBannerDispatcher instead.