They asked for the mobile version - but they're on desktop.
Do you serve what the asked for? Or what you think they should want?
What if they actually want the mobile version - if you always send desktop to desktop, then they can't get mobile...
They asked for the mobile version - but they're on desktop.
Do you serve what the asked for? Or what you think they should want?
What if they actually want the mobile version - if you always send desktop to desktop, then they can't get mobile...
m.wikipedia isn’t the default, so it’s different from regular wikipedia.com redirecting a mobile user to the mobile version.
It’s easier for them to go to m.wikipedia.com than to change their user agent, especially if they aren’t that technical.
Note also that WP isn't alone in their choice. Facebook, another website with a large non-Western user base, also maintains the same behavior. Go to https://m.facebook.com, you won't be redirected to https://facebook.com .
There are tradeoffs either way, and no matter what WP does, they'll be making some users unhappy. Not all of these users fit the same profile, either. Wikipedia has a global user base, so what's best for most American sites isn't necessarily what's best for Wikipedia. Ultimately, it's not the case that one option is right, and the other is wrong.
- Desktop: 388kB (https://en.wikipedia.org/wiki/Rickrolling)
- Mobile: 221kB (https://en.m.wikipedia.org/wiki/Rickrolling)
I love user customization but this is extremely niche.
You rely on saving the user display preference as a cookie that persists across sessions.
They declare their preference on a device a single time on the site and that's remembered. None of this has anything to do with which URL is being used.
(Not to mention that following a link on a page like "en.m.wikipedia.org" isn't even user intent, it's author intent at most. But usually not even that, because the author just copied the link without even thinking whether it had an "m." in it or not.)
The simple answer is that you don't encode device specific intent in the URI, you put in in style sheets where it belongs.