Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Can I use @Username to notify users from within my question or answer?

Parent

Can I use @Username to notify users from within my question or answer?

+6
−6

If I write a question or an answer, sometimes I want to notify specific users because of the context of my question or answer (for example if I post a follow-up question to an answer from another question).

Can I use the comment function @Username to notify users from within my question or answer?

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+0
−2

If this feature (i.e. notifying user in Q&A body content by "@Username") is NOT implemented, then (IMHO) it should not be allowed at all to write @Username because:

  • If the user pointed to by @Username changes their username or deletes their account, then the @Username will not be relevant (because it is not dynamically linked to the real username).
  • In the event of account deletion, this could lead to breaches of confidentiality.

Proposal

When clicking the blue "Save post to Q&A" button, if a "@Username" is detected in the text body of the Q&A post, then the post is not allowed to be published and a warning is displayed (like when an image with no alt text is given) stating that notifying a user by @Username is not allowed in Q&A posts (only in comments).

Publication of the post could still be allowed if the @Username is not a valid username existing in the user database. But in this case, a warning message could still be displayed explaining that it is not recommended to use @Username in the body of questions and answers (see the Bonus section below).

Bonus

This solution also provides a way to create a kind of "general recommendation" about how to quote the author of a comment or Q&A, as some explanations can be added to the warning message, for e.g.:

Please use links to quote a comment or post without explicitly writing the name of the author. See this post [link to post] for more details.

Possible issues

A possible issue is the fact that sometimes one will want to use the @Username syntax intentionally, for example. to explain something on Meta. Then it might be nice to be able to "escape" the automatic @Username detection. For e.g. by inserting a character before like \@ or something.

But, if the @Username doesn't point to an existing username, then we can still use @Username so it's kind of an escape (if a non-existing username is find).

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

Not being able to use `@username` at all will make it very unnecessarily complicate to comply with th... (1 comment)
Not being able to use `@username` at all will make it very unnecessarily complicate to comply with th...
samcarter‭ wrote 2 months ago

Not being able to use @username at all will make it very unnecessarily complicate to comply with the CC-by license of man code examples all around the internet.