HomePhabricator

Remove hardcoded $wgCanonicalServer from $wgResourceBasePath

Authored by Krinkle.

Description

Remove hardcoded $wgCanonicalServer from $wgResourceBasePath

  • 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.

This is a re-commit of f41d6b0f65c40e.
Depends on Ie25d3a8f6956 in MediaWiki.

Bug: T106966
Bug: T112646
Change-Id: Ia199ce3f650531e84d4264d0ab5a16852c907011