diff options
Diffstat (limited to 'doc/user/project/wiki/index.md')
-rw-r--r-- | doc/user/project/wiki/index.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/user/project/wiki/index.md b/doc/user/project/wiki/index.md index 3255e3a5477..88b729272ec 100644 --- a/doc/user/project/wiki/index.md +++ b/doc/user/project/wiki/index.md @@ -140,6 +140,43 @@ number. ![Wiki page history](img/wiki_page_history.png) +## Wiki activity records + +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/14902) in GitLab 12.10. +> - It's deployed behind a feature flag, disabled by default. +> - It's enabled on GitLab.com. +> - To use it in GitLab self-managed instances, ask a GitLab administrator to [enable it](#enable-or-disable-wiki-events-core-only). **(CORE ONLY)** + +Wiki events (creation, deletion, and updates) are tracked by GitLab and +displayed on the [user profile](../../profile/index.md#user-profile), +[group](../../group/index.md#view-group-activity), +and [project](../index.md#project-activity) activity pages. + +### Limitations + +Only edits made in the browser or through the API have their activity recorded. +Edits made and pushed through Git are not currently listed in the activity list. + +### Enable or disable Wiki Events **(CORE ONLY)** + +Wiki event activity is under development and not ready for production use. It is +deployed behind a feature flag that is **disabled by default**. +[GitLab administrators with access to the GitLab Rails console](../../../administration/troubleshooting/navigating_gitlab_via_rails_console.md#starting-a-rails-console-session) +can enable it for your instance. You're welcome to test it, but use it at your +own risk. + +To enable it: + +```ruby +Feature.enable(:wiki_events) +``` + +To disable it: + +```ruby +Feature.disable(:wiki_events) +``` + ## Adding and editing wiki pages locally Since wikis are based on Git repositories, you can clone them locally and edit |