HomePhabricator

Remove hardcoded $wgCanonicalServer from $wgResourceBasePath

Authored by Krinkle.

Description

Remove hardcoded $wgCanonicalServer from $wgResourceBasePath

  • Simplifies configuration.
  • Fixes bug where mobile page views connect to load.php from the canonical domain because the MobileContext is only triggered when generating HTML, not when generating the startup module – which is what orchestrates all dynamic load.php requests.

BUg: T106966
Bug: T112646
Change-Id: Ib57d5d614baba7a6a437bfbfc87281f753c8afc1