Why YSK: right now, Lemmy’s autocomplete for the !community syntax isn’t working correctly.

It will appear to work, like so:

But the link produced will redirect you away from your home instance and leave you unable to vote/subscribe…


To fix this issue, you’ll need to manually edit the autocompleted link like so:

BAD LINK: [!youshouldknow@lemmy.world](https://lemmy.world/c/youshouldknow)

⬇️⬇️⬇️ Remove the domain (i.e.: https://lemmy.world) & append the @ identifier (i.e.: @lemmy.world)

GOOD LINK: [!youshouldknow@lemmy.world](/c/youshouldknow@lemmy.world)


Removing the domain like this transforms it into a local link which prevents the instance redirection. Doing this will make it easier for newcomers to join your community and participate in discussions!

Those interested can monitor Github issues #369 & #1048 for when this UI bug is fixed!

6 points

YSK that a URL without a protocol or domain is a relative URL.

It’s “relative” to the page that it’s displayed on.

Your browser fills in the protocol and domain from the URL of the page you’re on when you click on it. That’s how it stays local to the instance that you’re viewing it on.

permalink
report
reply
5 points

If you are using the mlem app to browse, the good link will crash your app so don’t click it for now. They are aware and it is raised as an issue in their github.

permalink
report
reply
4 points

Same for Jeroba.

permalink
report
parent
reply
5 points

Thanks for providing the Github links!

permalink
report
reply
4 points

Of course! Perhaps one of the greatest public goods to come out of FOSS is the public bug tracker. Not a “known issue” list, not a “ticket system”, but rather a place where you can see work happening on your issue in realtime.

permalink
report
parent
reply
3 points
*

Hmm this still doesn’t quite work for those of us visiting from kbin because from kbin we access this community as: https://kbin.social/m/youshouldknow@lemmy.world/ so even the /c/ doesn’t match up.

We probably will need some special markup that each instance converts to their own local community / magazine format.

permalink
report
reply

Wow, this is really useful, thank you!

permalink
report
reply

You Should Know

!youshouldknow@lemmy.world

Create post

YSK - for all the things that can make your life easier!

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with YSK.

All posts must begin with YSK. If you’re a Mastodon user, then include YSK after @youshouldknow. This is a community to share tips and tricks that will help you improve your life.



Rule 2- Your post body text must include the reason "Why" YSK:

**In your post’s text body, you must include the reason “Why” YSK: It’s helpful for readability, and informs readers about the importance of the content. **



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That’s it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-YSK posts.

Provided it is about the community itself, you may post non-YSK posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you harass or discriminate against any individual member, you will be removed.

If you are a member, sympathizer or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.

Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- The majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities:

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

Credits

Our icon(masterpiece) was made by @clen15!

Community stats

  • 4.8K

    Monthly active users

  • 390

    Posts

  • 16K

    Comments