GOODBYE RELATIVE LINKS!!!

Why YSK: Sometimes, on Lemmy, links will take you off-instance, and show you content without displaying it through your instance. This prevents you from easily interacting with the content, voting or commenting or even just subscribing.

Going forward, to link communities it is now enough to simply write the name of a community/magazine in the !name@instan.ce format, and lemmy will convert that into a clickable local link for each users instance, so they never get taken off-instance in a manner especially confusing to new users.

Examples:

[email protected]

[email protected]

[email protected]

[email protected]

If you are on an instance now running 0.18.0, you’ll see four clickable links. These are not relative markdown links, I simply wrote the name of the communities in plain-text.

  • @fubo
    link
    English
    122 years ago

    Woo hoo! Will this also help between Kbin and Lemmy?

    • MentalEdge
      link
      English
      112 years ago

      Yes, it works with kbin mags too, from lemmy.

      Kbin would have to be updated, too, to be able to do the same thing.

  • @ritswd
    link
    English
    92 years ago

    If you want to see it in action before your instance is on 0.18.0, here’s a hardcoded link to view this post on an instance that’s already on 0.18.0 right now: https://sh.itjust.works/post/374636

  • @stylishboar
    link
    English
    72 years ago

    This is awesome. It’s going to help adoption so much.

    • MentalEdge
      link
      English
      12 years ago

      It’s so good we god it before the second wave that will inevitably come with the reddit apps actually breaking, as well as the new apps coming out for Lemmy.

  • @WhoRoger
    link
    English
    52 years ago

    Lol shit, today I spent an hour converting a list of links.

    But won’t this cause issues if the community you’re linking to isn’t synced to my instance yet? So far, that would just get you a 404. Or has this changed too?

    • MentalEdge
      link
      English
      22 years ago

      AFAIK, it hasn’t, but the 404 page now has actual info on it that’ll point you to who ask about what went wrong.

  • @[email protected]
    link
    fedilink
    English
    22 years ago

    Bit buggy for me, some of em show content thats from before i clicked this post and i gotta drag to refresh it and then it shows the correct content

  • @_MoveSwiftlyM
    link
    English
    12 years ago

    Could you please add a “Why YSK:”? It’s rule #2. :)