Unifying our mobile and desktop domains

(techblog.wikimedia.org)

120 points | by todsacerdoti 11 hours ago

6 comments

  • porphyra 4 hours ago
    It was mildly annoying how en.wikipedia.org would redirect to en.m.wikipedia.org on mobile, but en.m.wikipedia.org wouldn't redirect to en.wikipedia.org on desktop. So when a mobile user sent me a link, I had to go and manually delete the '.m' in order to view it nicely. But I guess it makes sense since desktop developers need to be able to see the mobile site sometimes.
    • wolrah 2 hours ago
      I have always hated "m." domains for exactly this reason. They almost exclusively go one-way, mobile users get redirected to the mobile domain but desktop users never get redirected back, and all too often not only was the mobile version of the site objectively worse from the perspective of a desktop user but even the link to go back manually was either hard to find or nonexistent.

      Wikipedia was one of the worst offenders, but lots of sites screwed this up in exactly the same way, and I feel it was a predecessor to modern "mobile first" web platforms that either treat desktop as second-class users or actively don't want desktop users.

    • sfRattan 4 hours ago
      There was a period I can recall, maybe 2010 to 2020 most prominently, when a subset of HN readers strongly preferred the mobile Wikipedia site, even on desktop, and would always use ".m" linking to Wikipedia articles in comments threads. This also seemed to happen in reddit threads during that decade.

      I sort of remember some of the older MediaWiki desktop themes looking worse than the mobile theme, but it was never enough for me personally to try always using the mobile site at the time. I do still strongly prefer old.reddit.com... For as long as that portal continues to exist.

      • porphyra 3 hours ago
        Yeah, in the olden days, there was no max-width for desktop wikipedia, so the readability was not good.
        • internetter 20 minutes ago
          I still use the old site and personally prefer it
    • Wowfunhappy 3 hours ago
      > But I guess it makes sense since desktop developers need to be able to see the mobile site sometimes.

      IMO this isn't a good reason. Developers can change the user agent.

      (I also imagine there could be a no-redirect preference for logged in users. Or even just a special query string you could add to the end of a url.)

      • booi 2 hours ago
        You would just change the dimensions using the browser devtools no user agent faking needed
        • Wowfunhappy 2 hours ago
          I think Wikipedia redirected based on user agent, but yes, whatever, point is if you're a developer you can use the browser devtools to simulate whatever you need.
        • eru 2 hours ago
          I'm not sure dimensions are all that's different?

          Your website might want to present a different interface for people using mouse and keyboard than for people using tiny touch screens? Even if the number of pixels in the browser window is otherwise the same.

    • andrepd 2 hours ago
      > But I guess it makes sense since desktop developers need to be able to see the mobile site sometimes.

      That is not at all the reason; did you read the article?.

      Also web developers can just use devtools to simulate a mobile browser.

  • sedatk 6 hours ago
    That's a welcome development albeit late, but more importantly, they should address the "can't link to a highlight" problem on mobile. When all sections are collapsed by default, browser won't scroll to the relevant section.

    A random "link to highlight" example: https://en.wikipedia.org/wiki/Henry_I_of_Cyprus#:~:text=On%2...

    Such a link doesn't work on mobile if it points inside a collapsed section.

    That makes directing people to relevant content on mobile really hard, and I end up sending screenshots instead.

    EDIT: "Link to fragment"s had the same problem, but apparently, they fixed it. Thanks for that too!

    • kevin_thibedeau 1 hour ago
      You also can't search for text in collapsed sections.
  • SchemaLoad 6 hours ago
    About 10 years late, I can't think of any websites other than Wikipedia still doing the mobile domain.
    • layer8 6 hours ago
      YouTube? Twitch? FaceBook? GSMArena? There are lots.
      • sedatk 5 hours ago
        m.youtube.com and m.facebook.com redirect you to main "m-less" domain when on desktop. That was the greatest problem with Wikipedia. You had to experience that mobile layout on desktop unless you edited the address line and reloaded the page.
        • SoKamil 4 hours ago
          m.wikipedia.org was a feature, not a bug. The interface is good on desktop. For some time, before Wikipedia did a desktop site rework, this was my go-to frontend.
        • huflungdung 4 hours ago
          [dead]
    • eru 2 hours ago
      https://m.xkcd.com/ is one example that I actually find useful.

      (Well, the mobile view is useful. Not sure whether splitting it off into its own domain is useful.)

      • encrypted_bird 1 hour ago
        I agree. AFAICT there is no way to view a comic's alt-text on mobile on the desktop site. (Also, the desktop site is way too zoomed out.)
    • micromacrofoot 6 hours ago
      late for what?
      • NooneAtAll3 4 hours ago
        pc website redirected mobile users from the very beginning

        mobile website did not redirect pc users

        10 years late at fixing this very basic problem

      • sedatk 6 hours ago
        Late for fixing design and UX bifurcation.
  • janpio 9 hours ago
    Great job.

    I was hoping this was a unification of the both layouts as well, that would have been really impressive. The mobile version of the article pages is great, but getting both versions from the same frontend would be an amazing case study.

    • bawolff 6 hours ago
      The mobile site is relatively unpopular among editors, i think there would be a riot if they did that.

      That said, there is a "desktop" version of the mobile skin, you can get it by appending ?useskin=minerva to a wikipedia url.

    • NooneAtAll3 4 hours ago
      wdym?

      isn't "new" pc design that's been around for last couple years pretty much mobile one already? (and thus ugly af)

      • bawolff 2 hours ago
        The new one (called vector-2022) is much closer to mobile stylings, but not the same. The mobile skin is called minerva. On top of that the mobile site makes some changes to the content to simplify it, and replaces some elements.
  • lxgr 7 hours ago
    Finally! But…

    > Wikipedia’s use of it is surprising to our present day audience, and it may decrease the perceived strength of domain branding

    Really? That’s the reasoning, and not the fact that mobile links forwarded to desktop browsers would render the mobile view?!

    • LeoPanthera 5 hours ago
      It's surely much less of a problem than most non-technical users wondering why Wikipedia URLs start with "en" instead of "www".
      • autoexec 2 hours ago
        I'd be surprised if anyone but the oldest non-technical users had any idea what the "www" was or why it would or wouldn't be at the front of a URL. It takes zero technical knowledge to understand "en" indicates the language and probably rarely comes up since you can use www or omit the en and links mostly just work.
    • pr337h4m 6 hours ago
      The mobile view is a really pleasant reading experience on desktop.
    • bawolff 5 hours ago
      > Really? That’s the reasoning, and not the fact that mobile links forwarded to desktop browsers would render the mobile view?!

      If you read the more technical internal rationals instead of just the press release, what you said is mentioned as one of the reasons for the change

      https://www.mediawiki.org/wiki/Requests_for_comment/Mobile_d...

  • jonny_eh 6 hours ago
    Now it's your turn YouTube…