You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Managing disruptive comments
3
-
intro: 'You can {% ifversion fpt or ghec %}hide, edit,{% else %}edit{% endif %} or delete comments on issues, discussions, pull requests, and commits.'
3
+
intro: 'You can hide, edit, or delete comments on issues, discussions, pull requests, and commits.'
4
4
redirect_from:
5
5
- /articles/editing-a-comment
6
6
- /articles/deleting-a-comment
@@ -17,7 +17,7 @@ category:
17
17
18
18
## Hiding a comment
19
19
20
-
{% ifversion fpt or ghec %}Organization moderators, and anyone{% else %}Anyone{% endif %} with write access to a repository, can hide comments on issues, discussions, pull requests, and commits.
20
+
Organization moderators and anyone with write access to a repository, can hide comments on issues, discussions, pull requests, and commits.
21
21
22
22
If a comment is off-topic, outdated, or resolved, you may want to hide a comment to keep a discussion focused or make a pull request easier to navigate and review. Hidden comments are minimized but people with read access to the repository can expand them.
23
23
@@ -32,7 +32,7 @@ If a comment is off-topic, outdated, or resolved, you may want to hide a comment
32
32
33
33
## Unhiding a comment
34
34
35
-
{% ifversion fpt or ghec %}Organization moderators, and anyone{% else %}Anyone{% endif %} with write access to a repository, can unhide comments on issues, discussions, pull requests, and commits.
35
+
Organization moderators and anyone with write access to a repository, can unhide comments on issues, discussions, pull requests, and commits.
36
36
37
37
1. Navigate to the comment you'd like to unhide.
38
38
1. On the right side of the comment, click **{% octicon "fold" aria-hidden="true" aria-label="fold" %} Show comment**.
@@ -44,7 +44,7 @@ If a comment is off-topic, outdated, or resolved, you may want to hide a comment
44
44
45
45
Anyone with write access to a repository can edit comments on issues, discussions, pull requests, and commits.
46
46
47
-
It's appropriate to edit a comment and remove content that doesn't contribute to the conversation and violates your community's code of conduct{% ifversion fpt or ghec %} or {% data variables.product.github %}'s [Community Guidelines](/free-pro-team@latest/site-policy/github-terms/github-community-guidelines){% endif %}.
47
+
It's appropriate to edit a comment and remove content that doesn't contribute to the conversation and violates your community's code of conductor {% data variables.product.github %}'s [Community Guidelines](/free-pro-team@latest/site-policy/github-terms/github-community-guidelines).
48
48
49
49
Sometimes it may make sense to clearly indicate edits and their justification.
50
50
@@ -71,7 +71,7 @@ Anyone with write access to a repository can delete comments on issues, discussi
71
71
72
72
If a comment contains some constructive content that adds to the conversation in the issue or pull request, you can edit the comment instead.
73
73
74
-
Deleting a comment is your last resort as a moderator. It's appropriate to delete a comment if the entire comment adds no constructive content to a conversation and violates your community's code of conduct{% ifversion fpt or ghec %} or GitHub's [Community Guidelines](/free-pro-team@latest/site-policy/github-terms/github-community-guidelines){% endif %}.
74
+
Deleting a comment is your last resort as a moderator. It's appropriate to delete a comment if the entire comment adds no constructive content to a conversation and violates your community's code of conductor GitHub's [Community Guidelines](/free-pro-team@latest/site-policy/github-terms/github-community-guidelines).
75
75
76
76
Deleting a comment creates a timeline event that is visible to anyone with read access to the repository. However, the username of the person who deleted the comment is only visible to people with write access to the repository. For anyone without write access, the timeline event is anonymized.
0 commit comments