The links like !NoStupidQuestions@lemmy.world.
I have had a pretty bad time making those work. I have tried searching for them at the communities page, and removing the exclamation mark and pasting them on my instance (lemmy.world/c/NoStupidQuestions@lemmy.world).
Some times one of those works, other times my instance finds nothing. And if I go directly to the home instance of the community, it doesn’t bring my login.
What is the recommended way to use those?
Canonical names (the ones starting with !) are broken prior to the 0.18.0 release of Lemmy (check bottom of page to see what version your instance is on). Names seem to be working well in 0.18.1 release candidate 4. In a post they’re relative links and don’t direct away from your login instance. On the sidebar they are absolute links and direct to the home instance of the community.
Community searches are pretty broken on 0.18.0. I’m seeing it fixed on the rc.4 release candidate and canonical names are properly recognized in searches.
Same question here. Github says it should work but it don’t
Does this work? (if yes, I used the link markdown thingy).
Yes, but links on lemmy.world will work for me. (Your link doesn’t exactly work, but that’s only because the lemmy.world is duplicated.)
Is that the expected way to use the names? Should I expect communities from other instances to work the same way?
I edited the link I posted myself as code because when posting an FQDN (fully qualified domain name) Lemmy may do a relative transform, at least that’s what rc.4 is doing. Names starting with a ! are internal Lemmy shortcuts to save users the trouble of typing out the FQDN and dealing with relative versus absolute. They’re not working right everywhere yet, but they should be on the next official version release.
They are only really useful for getting an instance to federate an off instance community- you paste that form in the search box, and usually a few minutes later you can access the community.
If you want to have a link to a community, use just ‘/c/community@instance.tld’ - even if the instance is the one you are on. That way it will work wherever you are logged in. example is a link to ‘/c/nostupidquestions@lemmy.world’
I haven’t found a way to link posts or comments that are instance portable- if anyone knows of a way, I’d love to hear it.
Unfortunately that link doesn’t work on kbin, which uses /m/ instead of /c/
Hopefully we’ll get patches in the future that will link the ! format correctly no matter what software or instance we’re using.
Yep this is the right way. This is how we link communities as well.