HomePhabricator

Use absolute URLs to construct load.php requests

Authored by ori.

Description

Use absolute URLs to construct load.php requests

Follow-up to I6665bf317f7f3. If a relative URL is specified, MediaWiki uses
$wgServer to construct the full URL, which is the canonical domain even on
mobile (i.e.: en.wikipedia.org, not en.m.wikipedia.org). Fix by re-introducing
$wmgAssetsHost.

Bug: T106966
Change-Id: I6db1771bf4367ad19d7787b8c577668db4f8c2bd

Details

Committed
oriJul 30 2015, 6:46 PM
Parents
rOMWCae8512898422: Use relative URLs to construct load.php requests
Branches
Unknown
Tags
Unknown
References
refs/changes/44/228044/1
ChangeId
I6db1771bf4367ad19d7787b8c577668db4f8c2bd