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.

Post History

33%
+0 −2
Q&A Can I use @Username to notify users from within my question or answer?

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 @...

posted 1y ago by zetyty‭  ·  edited 1y ago by zetyty‭

Answer
#4: Post edited by user avatar zetyty‭ · 2023-07-02T05:13:29Z (over 1 year ago)
change the "escape" character by `\@`
  • 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).
  • 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).
#3: Post edited by user avatar zetyty‭ · 2023-06-29T07:57:49Z (over 1 year ago)
replace escape caracter in front of @ by § instead of \
  • 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).
  • 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).
#2: Post edited by user avatar zetyty‭ · 2023-06-28T06:14:34Z (over 1 year ago)
added exemple of warning when an image with no alt text is given
  • 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 (somewhere on the page, but please no pop-up ;) 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).
  • 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).
#1: Initial revision by user avatar zetyty‭ · 2023-06-28T04:41:02Z (over 1 year ago)
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 (somewhere on the page, but please no pop-up ;) 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).