Last modified: 2014-02-12 23:52:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52967, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50967 - MobileContext::getDesktopUrl() desn't really work for hosts like www.mediawiki.org <-> m.mediawiki.org
MobileContext::getDesktopUrl() desn't really work for hosts like www.mediawik...
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized minor
: ---
Assigned To: Arthur Richards
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-08 19:13 UTC by Max Semenik
Modified: 2014-02-12 23:52 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Max Semenik 2013-07-08 19:13:06 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?)
Comment 1 Gerrit Notification Bot 2013-07-08 19:14:05 UTC
Change 72612 had a related patch set uploaded by MaxSem:
An incomplete attempt to fix MobileContext::getDesktopUrl()

https://gerrit.wikimedia.org/r/72612
Comment 2 Gerrit Notification Bot 2013-08-22 15:05:20 UTC
Change 72612 merged by jenkins-bot:
Fix MobileContext::getDesktopUrl()

https://gerrit.wikimedia.org/r/72612

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links