Page MenuHomePhabricator

Remove $wgCentralHost in favor of $wgCentralSelectedBannerDispatcher
Open, Needs TriagePublic

Description

Background

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.

Event Timeline

Change #1250116 had a related patch set uploaded (by Krinkle; author: Krinkle):

[mediawiki/extensions/CentralNotice@master] Remove need for manual $wgCentralHost configuration

https://gerrit.wikimedia.org/r/1250116

Change #1250116 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@master] Remove need for manual $wgCentralHost configuration

https://gerrit.wikimedia.org/r/1250116

Change #1261897 had a related patch set uploaded (by Krinkle; author: Krinkle):

[mediawiki/extensions/CentralNotice@REL1_45] Remove need for manual $wgCentralHost configuration

https://gerrit.wikimedia.org/r/1261897

Change #1261897 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@REL1_45] Remove need for manual $wgCentralHost configuration

https://gerrit.wikimedia.org/r/1261897