Author: snottywong.wiki
Description:
When viewing a wikipedia article from the http://en.m.wikipedia.org/ server, the magic words {{SERVER}} and {{SERVERNAME}} both resolve to "http://en.wikipedia.org". The impact is that we have no way of testing whether the user is on the mobile site, and therefore no way of hiding/showing elements which don't display correctly on mobile phones, or which aren't appropriate for mobile users. We also have no way of creating elements which display differently on the mobile site than they do on the regular site.
Expected behavior: {{SERVER}} and {{SERVERNAME}} should resolve to "http://en.m.wikipedia.org/" when a page is being viewed via the mobile server.
Version: .5
Severity: normal