10 comments

  • porphyra73 days 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.
    • wolrah73 days ago
      I have always hated &quot;m.&quot; 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.<p>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 &quot;mobile first&quot; web platforms that either treat desktop as second-class users or actively don&#x27;t want desktop users.
      • theshrike7973 days ago
        The m. was still better than the (thankfully short-lived) fad of everyone buying a .mobi or similar domain for their mobile site.<p>Like the subdomain was RIGHT THERE.
        • wolrah68 days ago
          Same problem though. The domain itself isn&#x27;t the issue, it&#x27;s that the redirect was only one way so mobile users always shared the mobile URL and desktop users who received that shared URL got the janky half-featured mobile site instead of the proper desktop one.
    • sfRattan73 days 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 &quot;.m&quot; linking to Wikipedia articles in comments threads. This also seemed to happen in reddit threads during that decade.<p>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.
      • porphyra73 days ago
        Yeah, in the olden days, there was no max-width for desktop wikipedia, so the readability was not good.
        • internetter73 days ago
          I still use the old site and personally prefer it
    • Wowfunhappy73 days ago
      &gt; But I guess it makes sense since desktop developers need to be able to see the mobile site sometimes.<p>IMO this isn&#x27;t a good reason. Developers can change the user agent.<p>(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.)
      • booi73 days ago
        You would just change the dimensions using the browser devtools no user agent faking needed
        • eru73 days ago
          I&#x27;m not sure dimensions are all that&#x27;s different?<p>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.
        • Wowfunhappy73 days ago
          I think Wikipedia redirected based on user agent, but yes, whatever, point is if you&#x27;re a developer you can use the browser devtools to simulate whatever you need.
    • ncruces73 days ago
      Tapping the share button (on mobile) instead of copying the link always used the non-mobile address, AFAICT.
    • phkx73 days ago
      I use the mobile page on desktop. Less clutter is always welcome.
    • andrepd73 days ago
      &gt; But I guess it makes sense since desktop developers need to be able to see the mobile site sometimes.<p>That is not at all the reason; did you read the article?.<p>Also web developers can just use devtools to simulate a mobile browser.
  • sedatk73 days ago
    That&#x27;s a welcome development albeit late, but more importantly, they should address the &quot;can&#x27;t link to a highlight&quot; problem on mobile. When all sections are collapsed by default, browser won&#x27;t scroll to the relevant section.<p>A random &quot;link to highlight&quot; example: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Henry_I_of_Cyprus#:~:text=On%2010%20June%20Henry%20rewarded%20the%20Genoese%20with%20momentous%20concessions" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Henry_I_of_Cyprus#:~:text=On%2...</a><p>Such a link doesn&#x27;t work on mobile if it points inside a collapsed section.<p>That makes directing people to relevant content on mobile really hard, and I end up sending screenshots instead.<p>EDIT: &quot;Link to fragment&quot;s had the same problem, but apparently, they fixed it. Thanks for that too!
    • kevin_thibedeau73 days ago
      You also can&#x27;t search for text in collapsed sections.
    • flexagoon73 days ago
      The link in your comment works perfectly fine for me in Chrome Android, and highlights the part
      • sedatk71 days ago
        Ah okay, it&#x27;s an iOS-specific problem then.
        • batisteo71 days ago
          For some reason I&#x27;ve got the android app and it won&#x27;t show the selection. Does the fragment is part of the deep link anyway?
  • SchemaLoad73 days ago
    About 10 years late, I can&#x27;t think of any websites other than Wikipedia still doing the mobile domain.
    • layer873 days ago
      YouTube? Twitch? FaceBook? GSMArena? There are lots.
      • sedatk73 days ago
        m.youtube.com and m.facebook.com redirect you to main &quot;m-less&quot; 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.
        • SoKamil73 days 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.
        • huflungdung73 days ago
          [dead]
    • eru73 days ago
      <a href="https:&#x2F;&#x2F;m.xkcd.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;m.xkcd.com&#x2F;</a> is one example that I actually find useful.<p>(Well, the mobile view is useful. Not sure whether splitting it off into its own domain is useful.)
      • Insanity73 days ago
        Very touching current XKCD. <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;3172" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;3172</a>.<p>Guess this also means I’m getting old as I remember the earlier comics about his partner going through this. I think this is the first one I read after I became a “weekly reader”: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;1141" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1141</a>.
      • encrypted_bird73 days ago
        I agree. AFAICT there is no way to view a comic&#x27;s alt-text on mobile on the desktop site. (Also, the desktop site is way too zoomed out.)
        • RealStickman_73 days ago
          Long press on the image to get the alt-text on desktop xkcd
          • encrypted_bird73 days ago
            I&#x27;ve been following that webcomic for 15 years. How the crap have I never noticed that before??
    • micromacrofoot73 days ago
      late for what?
      • NooneAtAll373 days ago
        pc website redirected mobile users from the very beginning<p>mobile website did not redirect pc users<p>10 years late at fixing this very basic problem
        • micromacrofoot73 days ago
          again though... late for what? it&#x27;s not like someone else came along, did it better, and now wikipedia is some dwindling anachronism<p>they didn&#x27;t jump on the shifting trends immediately, got to it eventually when it was the clear path, and implemented it in a completely reasonable way... they may have actually benefited quite a bit for directions to settle
          • NooneAtAll372 days ago
            &gt; implemented it in a completely reasonable way...<p>...no? A LOT no?<p>one-way pc&#x2F;mobile redirect is not reasonable, whatsoever
      • sedatk73 days ago
        Late for fixing design and UX bifurcation.
  • fowl273 days ago
    Incredible that no one from Google noticed this as a regression from their side and either put a workaround in or contacted Wikimedia.
  • janpio73 days ago
    Great job.<p>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.
    • bawolff73 days ago
      The mobile site is relatively unpopular among editors, i think there would be a riot if they did that.<p>That said, there is a &quot;desktop&quot; version of the mobile skin, you can get it by appending ?useskin=minerva to a wikipedia url.
      • Akronymus73 days ago
        I use that trick to still get the vector layout. No version past that is to my personal liking.
        • bawolff73 days ago
          If you log in, you can set it in your preferences so its sticky.
    • NooneAtAll373 days ago
      wdym?<p>isn&#x27;t &quot;new&quot; pc design that&#x27;s been around for last couple years pretty much mobile one already? (and thus ugly af)
      • bawolff73 days 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.
  • bhouston73 days ago
    Nice engineering work and very clear write-up. I love these types of optimizations.<p>BTW found this writeup on the Wikipedia CDN: <a href="https:&#x2F;&#x2F;wikitech.wikimedia.org&#x2F;wiki&#x2F;CDN" rel="nofollow">https:&#x2F;&#x2F;wikitech.wikimedia.org&#x2F;wiki&#x2F;CDN</a>
  • lxgr73 days ago
    Finally! But…<p>&gt; Wikipedia’s use of it is surprising to our present day audience, and it may decrease the perceived strength of domain branding<p>Really? <i>That’s</i> the reasoning, and not the fact that <i>mobile links forwarded to desktop browsers would render the mobile view</i>?!
    • LeoPanthera73 days ago
      It&#x27;s surely much less of a problem than most non-technical users wondering why Wikipedia URLs start with &quot;en&quot; instead of &quot;www&quot;.
      • autoexec73 days ago
        I&#x27;d be surprised if anyone but the oldest non-technical users had any idea what the &quot;www&quot; was or why it would or wouldn&#x27;t be at the front of a URL. It takes zero technical knowledge to understand &quot;en&quot; indicates the language and probably rarely comes up since you can use www or omit the en and links mostly just work.
      • lxgr73 days ago
        They might wonder (although I doubt it), but it’s nothing actionable.<p>With m., they used to see a mobile layout that’s a really poor fit for a desktop screen and that they would have manually switch out of via some relatively obscure button.
        • account4273 days ago
          &gt; but it’s nothing actionable<p>Of course it is, they just need to drop the pretense that English is not the default.
          • loeg72 days ago
            English is the default.
    • loeg73 days ago
      Hey, when you spend over $100 million a year to run your website, that&#x27;s the kind of thoughtful analysis one might expect.
    • pr337h4m73 days ago
      The mobile view is a really pleasant reading experience on desktop.
      • lxgr73 days ago
        Admittedly, it does make for some good impromptu neck exercises on any typical screen.
    • bawolff73 days ago
      &gt; Really? That’s the reasoning, and not the fact that mobile links forwarded to desktop browsers would render the mobile view?!<p>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<p><a href="https:&#x2F;&#x2F;www.mediawiki.org&#x2F;wiki&#x2F;Requests_for_comment&#x2F;Mobile_domain_sunsetting" rel="nofollow">https:&#x2F;&#x2F;www.mediawiki.org&#x2F;wiki&#x2F;Requests_for_comment&#x2F;Mobile_d...</a>
  • xnx72 days ago
    Subdomains for mobile sites were almost as dumb as www2 www3 for load balancing.
  • westurner73 days ago
    BUG: show the Table of Contents (TOC) in mobile mode<p>Users probably especially want to deep link to #headings on mobile devices
  • jonny_eh73 days ago
    Now it&#x27;s your turn YouTube…