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.

  • TWeaK@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    3 years 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/[email protected], which you will see as https://feddit.nl/u/[email protected]. 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
      ·
      3 years 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
        ·
        3 years 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
        ·
        3 years 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.

  • Crul@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    I’m on lemmy.world and the autosuggestion offers me this code:

    [@UnanimousStargazer@feddit.nl](https://feddit.nl/u/UnanimousStargazer)

    Which results in this link: @[email protected]

    • TWeaK@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      3 years 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/[email protected] (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
      ·
      3 years 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
          2
          ·
          3 years 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
      ·
      3 years 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.