Document gist comment moderation (#53772)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
This commit is contained in:
@@ -14,5 +14,6 @@ children:
|
|||||||
- /creating-gists
|
- /creating-gists
|
||||||
- /forking-and-cloning-gists
|
- /forking-and-cloning-gists
|
||||||
- /saving-gists-with-stars
|
- /saving-gists-with-stars
|
||||||
|
- /moderating-gist-comments
|
||||||
shortTitle: Share content with gists
|
shortTitle: Share content with gists
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
title: Moderating gist comments
|
||||||
|
intro: 'You can moderate comments on gists by turning them off or deleting unwanted entries.'
|
||||||
|
versions:
|
||||||
|
fpt: '*'
|
||||||
|
ghes: '>=3.17'
|
||||||
|
ghec: '*'
|
||||||
|
---
|
||||||
|
## Disabling comments
|
||||||
|
|
||||||
|
You can hide existing comments and prevent new comments from being added to a gist by disabling comments for the gist. You can re-enable comments at any time. This will make existing comments visible.
|
||||||
|
|
||||||
|
1. Navigate to {% data variables.gists.gist_user %} and select the gist you want to moderate.
|
||||||
|
1. In the top right corner, select **{% octicon "pencil" aria-hidden="true" %} Edit**.
|
||||||
|
1. In the top right corner, select **{% octicon "comment" aria-hidden="true" %} Disable comments**.
|
||||||
|
|
||||||
|
## Deleting comments
|
||||||
|
|
||||||
|
You can delete a comment on a gist if you are the author of the gist or the author of the comment.
|
||||||
|
|
||||||
|
1. Navigate to {% data variables.gists.gist_user %} and select the gist you want to moderate.
|
||||||
|
1. On the upper-right corner of the comment box, select **{% octicon "kebab-horizontal" aria-label="Open dropdown menu" %}**.
|
||||||
|
1. From the dropdown menu select **Delete**.
|
||||||
|
1. Select **OK** to confirm.
|
||||||
@@ -12,3 +12,6 @@ gist_starred: >-
|
|||||||
|
|
||||||
gist_user_starred: >-
|
gist_user_starred: >-
|
||||||
{% ifversion fpt or ghec %}`https://gist.github.com/YOUR_USERNAME/starred`{% else %}`http(s)://[hostname]/gist/YOUR_USERNAME/starred` or `http(s)://gist.[hostname]/YOUR_USERNAME/starred` if subdomains are enabled{% endif %}
|
{% ifversion fpt or ghec %}`https://gist.github.com/YOUR_USERNAME/starred`{% else %}`http(s)://[hostname]/gist/YOUR_USERNAME/starred` or `http(s)://gist.[hostname]/YOUR_USERNAME/starred` if subdomains are enabled{% endif %}
|
||||||
|
|
||||||
|
gist_user: >-
|
||||||
|
{% ifversion fpt or ghec %}`https://gist.github.com/YOUR_USERNAME`{% else %}`http(s)://[hostname]/gist/YOUR_USERNAME` or `http(s)://gist.[hostname]/YOUR_USERNAME` if subdomains are enabled{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user