https://bugzilla.wikimedia.org/show_bug.cgi?id=50967
Web browser: ---
Bug ID: 50967
Summary: MobileContext::getDesktopUrl() desn't really work for
hosts like www.mediawiki.org <-> m.mediawiki.org
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: MobileFrontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
If you pass it a real mobile URL, it will not know where to take the www part
from as $wgMobileUrlTemplate doesn't provide this information. At most, one can
hack it up to output something like "mediawiki.org". Note that because in WMF
$wgServer is always the same, we're not affected, only third parties with two
real domains (are there any?)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l