Maybe this post would be more at home on a lemmy.ml community, or on github, but this place is my home and I feel like I’d like to get opinions here first :o)

Right now, there is no way to make an instance agnostic link for a post or comment, like you can do with users or communities. Each instance assigns its own number to posts and comments, and there isn’t really an easy way to find a post or comment on one instance when starting from another.

For example, if I get a lemmy.world link to a post in a lemmy.world community, in order for me to comment from lemm.ee I would first have to go to lemm.ee/c/community@lemmy.world, then find the post in there manually. If I want to reply to a specific comment, I would have to find the post on lemm.ee in this way, then also search that thread for the comment. If you’re looking for an old post with a lot of comments, this can be quite challenging.

Instead, I think lemmy needs to revise how it numbers comments and posts, using the same system used for users and communities. Rather than every instance using a different number, they should use the federated host’s number followed by @hostinstance. The local user would still see the original federated link, but users from other instances would see it in their own instance with a tag for the federated host instance. This way, anyone could easily edit any link to make it work in their own instance (provided that link has already been federated in their own instance).


Here is a specific example I wrote in a comment elsewhere:

For a specific example, to me, this post is https://lemm.ee/post/1726780. In the original, federated instance, the post is https://lemmy.ml/post/2308622. Instead, it should appear to me as https://lemm.ee/post/2308622@lemmy.ml.

Your comment, to me, is https://lemm.ee/comment/1409174. The federated link is https://lemmy.one/comment/1393053. This is the link you see, and should continue to see, but I should see https://lemm.ee/comment/1393053@lemmy.one.

Using the instance in the numbering scheme means each federated host instance manages its own numbering while ensuring there will never be a clash between instances. https://lemm.ee/comment/1393053@lemmy.one and https://lemm.ee/comment/1393053 would refer to two completely different comments. This information is already being transmitted in the process of federation, so it’s just a matter of tagging the data when it’s received.

8 points
*

honestly i think it should be more like this (or this)

i know people don’t like to talk about reddit, but the URLs were perfect. i could see whether a post was the one i wanted just from the url, and if i wanted a shorter link i could just omit the title and it would soft redirect

i would much prefer https://lemm.ee/post/2308622/reddit-has-started-assigning-power-mods@lemmy.ml [1] so i know the topic of a post before even loading the page and wasting my time and data

but yes, i agree this is an issue that should have been solved already


  1. or even https://lemm.ee/c/snoopocalypse/post/2308622/reddit-has-started-assigning-power-mods@lemmy.ml actually. i know minimalism is trendy these days, but seeing as much info at a glance is really useful in my opinion ↩︎

permalink
report
reply
3 points
*

I agree with that, however I think that’s a separate issue to federation and instance agnostic links. Fixing both at the same time sure would be efficient, though.

Edit: Also, what’s with the #fnref1 tag at the end of your URL and the symbol at the end? How did [^1] do that??

Edit2: Ohhhh I think I see now, citations, with a link back to the position the citation was in. That looks really good for long comments.

permalink
report
parent
reply
2 points
*

I agree with that, however I think that’s a separate issue to federation and instance agnostic links. Fixing both at the same time sure would be efficient, though.

that’s a fair point, i guess i just saw that and my mind jumped to other url related points

it would be nice to have them both solved together though

Edit2: Ohhhh I think I see now, citations, with a link back to the position the citation was in. That looks really good for long comments.

yeah they’re not in the lemmy markdown cheat sheet, but they’re supported by markdown-it, the library that lemmy uses[1]


  1. there’s actually two different formats available as well ↩︎

permalink
report
parent
reply
2 points

One other thing that just occurred to me, putting the title in the link might not work so well with lemmy, because post titles can be edited.

permalink
report
parent
reply

Meta (lemm.ee)

!meta@lemm.ee

Create post

lemm.ee Meta

This is a community for discussion about this particular Lemmy instance.

News and updates about lemm.ee will be posted here, so if that’s something that interests you, make sure to subscribe!


Rules:

  • Support requests belong in !support
  • Only posts about topics directly related to lemm.ee are allowed
  • If you don’t have anything constructive to add, then do not post/comment here. Low effort memes, trolling, etc is not allowed.
  • If you are from another instance, you may participate in discussions, but remain respectful. Realize that your comments will inevitably be associated with your instance by many lemm.ee users.

If you’re a Discord user, you can also join our Discord server: https://discord.gg/XM9nZwUn9K

Discord is only a back-up channel, !meta@lemm.ee will always be the main place for lemm.ee communications.


If you need help with anything, please post in !support instead.

Community stats

  • 822

    Monthly active users

  • 261

    Posts

  • 7.4K

    Comments

Community moderators