wiki icon indicating copy to clipboard operation
wiki copied to clipboard

How to delete an article?

Open HuMonkey opened this issue 9 years ago • 3 comments

Actual behavior

Expected behavior

Steps to reproduce the behavior

HuMonkey avatar May 16 '17 11:05 HuMonkey

You can't from the UI right now, which is by design. Deleting content is dangerous unless there's a feature to revert and strict permissions as to how this is handled, which is not the case right now.

This feature will be added in the future, but in the meantime, you must delete the files manually in the /repo folder.

NGPixel avatar May 16 '17 13:05 NGPixel

I have a follow up to this question as I am trying to delete some test content I added to our wiki. I have deleted the relevant file from the repo however the deleted page is still listed in the navigation pane for All Pages. Is there something I need to do in addition to deleting the page from the repo?

Darv72 avatar Jun 13 '17 16:06 Darv72

  1. Delete the file in the repo
  2. Restart Wiki.js (node wiki restart)

NGPixel avatar Jun 13 '17 18:06 NGPixel