On Reddit, it’s possible to tag a user bij adding a u/ before the username of some account.

Is that possible on Lemmy?

Edit: thanks everybody! These worked.

    • SamsonSeinfelder@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      I also found this early discussion helpfull

      Solution

      Introduce a special format for instance agnostic links (called Lemmy links) that will be opened in the current instance:

      for posts: #1@lemmy.world
      for users: @ruud@lemmy.world
      for communities: !asklemmy@lemmy.ml
      

      for comments: ~1@lemmy.world

      This will open page at https://<instance>/post/1, https://lemmy.world/u/ruud, https://lemmy.world/c/asklemmy@lemmy.ml, https://lemmy.world/comment/1 respectively. It will not break existing links functionality as direct HTTP links are still supported.

      Bookmark the resource link (or mark this comment as saved on lemmy) for future reference

    • TWeaK@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You didn’t type @Magrid@lemm.ee though, you started typing and selected the dropdown box link. This creates a direct link to the user’s instance, which isn’t great.

      If you type /u/username@instance then you will get an instance agnostic link, which will be in the viewer’s instance. Eg /u/UnanimousStargazer@feddit.nl - if you click View Source then you will see I did not type a link, yet when you hover over it the URL (for you) is https://lemm.ee/u/UnanimousStargazer@feddit.nl. With an instance agnostic link you stay in your instance and see a federated version of the user’s page, which allows you to do things like message them.

        • TWeaK@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Edit: I don’t see a link when using Yoyager. Perhaps some clients don’t support this?

          Could be. It’s all new here innit.

          I’m also not sure that the /u/ link generates a mention. Or if Lemmy even has mentions that alert the user, rather than just replies.

          • Kabe@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            I think the @user@instance tag does. If you check your inbox under mentions, you should see a notification for that but not for /u/user@instance.

            • TWeaK@lemm.ee
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Yeah, really they should all function the same way. /u/ should give a mention, and typing @user@instance should automatically create a link - without the dropdown box or full link code.

  • TWeaK@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    I know I’ve comment-vomited all over this thread, but I just want to comment once more so that OP gets it:

    The best form is /u/user@their_instance. This creates an instance agnostic link of the form https://your_instance/u/user@their_instance, eg /u/tweak@lemm.ee, which you will see as https://feddit.nl/u/tweak@lemm.ee. This keeps the viewer in the instance they’re logged into, so they can actually interact eg send a message.

    Typing @user@their_instance on its own doesn’t create a link. If you start typing @user then you’ll get a dropdown box, however when you select that it creates a direct link in the form https://their_instance/u/user, which takes you to their instance, which you might not be logged into.

    • UnanimousStargazer@feddit.nlOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      OK, interesting. There are multiple ways apparently.

      If you start typing @user then you’ll get a dropdown box,

      If one uses the web-interface. But who uses the web-interface. It’s slow and clunky. A client is much faster.

      • TWeaK@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Depends on your instance. Over at lemm.ee, the web version is arguably better than Jerboa, for example. However our lead admin sets things up just so, and includes various mods he made and pushes into the main code stack.

        Also, I’m not sure if the instance agnostic links give you a mention. The devs really need to tie all this together, with mentions for the agnostic links, and auto-generated links with @user@instance so you don’t have to type out the full link code.

      • LoafyLemon@kbin.social
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        Plot twist: Both your client and the website use web interfaces. The difference is the client uses Electron Chrome instead of Firefox/chrome browser.

    • TWeaK@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Even in the pre-0.18 versions of lemmy, you could use [link text](/u/user@instance) for an instance agnostic link. Now, you can just type /u/user@instance and the instance will automatically create a link.

      eg /u/UnanimousStargazer@feddit.nl (click view source to see the source does not have any link structure)

      Your version will take people out of their instance and to feddit.nl.

      Incidentally, if you select the username from the dropdown box that pops up when you type, then you get a direct link like yours, which is kind of crap.

        • TWeaK@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Yeah they need to tie it all together. Dropdown box links should be instance agnostic, typing @user@instance should create a link, and all user links should ping.

    • TWeaK@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      It’s not @, you want to use /u/, eg /u/user@their_instance. This creates an instance agnostic link where the viewer sees the user in their own instance, where they’re logged in, so they can message you. When you hover over it says https://your_instance/u/user@their_instance. The source of the comment has no link structure, the viewer’s instance creates the link, so long as it’s on version 0.18 or newer.

      The confusion is that when you start typing you get a popup window where you can select the username. However this creates a direct link with text @user@their_instance but the link is https://their_instance/u/user. When you view source you see a full link created as [@user@their_instance](https://their_instance/u/user).

      Hopefully in a future version they’ll fix the drop down box to create agnostic links. It seems like they overlooked that in the 0.18 update.

        • TWeaK@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          The OP just asked about how to tag a user, and using the @ symbol worked, the OP got their mention notification.

          Yeah I kind of realised after my 4th or 5th comment what OP was actually talking about lol. In any case, the link functions are still in need of some development - I’m not sure that the agnostic links give mentions, meanwhile the @ link should also be agnostic. Hopefully they’ll also make the @ link auto-generate, without having to fully type out a manual link code.

    • UnanimousStargazer@feddit.nlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Could be, but I can’t check because you’re also commenting on my OP. Could you retry commenting on another comment not written by me?

      Never mind: the mention worked.