Last modified: 2014-02-12 23:52:44 UTC
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?)
Change 72612 had a related patch set uploaded by MaxSem: An incomplete attempt to fix MobileContext::getDesktopUrl() https://gerrit.wikimedia.org/r/72612
Change 72612 merged by jenkins-bot: Fix MobileContext::getDesktopUrl() https://gerrit.wikimedia.org/r/72612