this post was submitted on 26 Jul 2023
1229 points (89.9% liked)

Technology

59581 readers
4387 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 year ago (3 children)

If you type it like this you'll get an instance agnostic link (at least on instances v0.18 and above, not necessarily in apps): /u/[email protected].

You can also select from a dropdown box on the website to send a mention, however this link goes to their instance rather than your own: @[email protected]. The code for this is [@[email protected]](https://lemmy.world/u/ChamrsDeluxe), you can type this manually and replace any link text in between the square brackets, so generally [link text](https://userinstance/u/user).

The old pre-0.17 instance agnostic links were [link text](/c/community@instance) or [link text](/u/user@instance), but the new versions will automatically generate without link code:

  • /c/community@instance
  • !community@instance
  • /u/user@instance (does not send a mention)

Also, kbin doesn't federate properly. You might not even see this comment over there...

[–] neutron 2 points 1 year ago (1 children)

If I'm reading this right there are two ways to indicate a user including its instance:

Which one is the recommended one?

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

The first one will generate a link automatically with no code (on lemmy v0.18 and above, not necessarily in apps - it doesn't seem to work in Jerboa currently). This link is instance agnostic, meaning the viewer sees a link in their own instance, rather than the example.com instance. This means you can send them a DM, or open their comments and reply to them.

The second one isn't enough on its own, it needs to be in the form [link text](https://example.com/u/user). However, if you start typing @[email protected] on the website, a pop up box will allow you to select the user and generate the link code for you - it will give you [@[email protected]](https://example.com/u/user). This version is not agnostic, it takes you to the user's instance, however it does send a mention to the user's inbox.

Hopefully in a future update they will combine these two, so that an agnostic link will also send a mention, and so the mention link will auto-generate and be agnostic. Right now, one is for linking to a profile you want to interact with, the other is for calling that person into the thread with a mention.

Edit: Just for a little more fun variation, it looks like Jerboa handles the @user@instance link as if it were instance agnostic. On the website it opens the user's instance.

[–] [email protected] 1 points 1 year ago

Yes, but this doesn't have anything to do with mastodon which was my point. You need to include the instance in your mastodon handle. Which I see you've gone back and edited now, but that was my whole point. I didn't need a lesson on something I literally just demonstrated I know about.

[–] [email protected] 1 points 1 year ago (1 children)

That's all well and good, but I was telling them to include the instance for their mastodon handle, which they've gone back and edited to include it now.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Yeah I know. But we're on lemmy here, so it's good to know.

Mastodon might not do that sort of thing, and kbin is different again. Tbh I'm surprised you even got my last comment (although it seems like you got it late) as most of the time kbin and lemmy don't federate properly through threads. For example, I was unable to reply to you on my phone in Jerboa, and on the website it doesn't work unless I specifically select English as the language.