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.

    • @[email protected]
      link
      fedilink
      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: #[email protected]
      for users: @[email protected]
      for communities: [email protected]
      

      for comments: [email protected]

      This will open page at https://<instance>/post/1, https://lemmy.world/u/ruud, https://lemmy.world/c/[email protected], 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

      • CommunityLinkFixerBotB
        link
        fedilink
        English
        21 year ago

        Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn’t work well for people on different instances. Try fixing it like this: [email protected],

    • TWeaK
      link
      fedilink
      11 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/[email protected] - 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/[email protected]. 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.

      • Kabe
        link
        2
        edit-2
        1 year ago

        Thanks, /u/[email protected]

        Edit: I don’t see a link when using this method on Voyager or Jerboa, whereas @[email protected] does work. It seems Lemmy apps don’t support your way of doing it yet.

        • TWeaK
          link
          fedilink
          11 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
            link
            21 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
              link
              fedilink
              11 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
    link
    fedilink
    61 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/[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.

      • TWeaK
        link
        fedilink
        11 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
        link
        fedilink
        01 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.

  • @Crul
    link
    4
    edit-2
    1 year 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
      link
      fedilink
      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/[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.

      • @Crul
        link
        11 year ago

        Thanks for the info!

      • BrikoX
        link
        fedilink
        21 year ago

        As far as I know using /u/username@instance.tld doesn’t ping.

        • TWeaK
          link
          fedilink
          11 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
      link
      fedilink
      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
          link
          fedilink
          21 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.