Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Delete pages without needing to open them first. #208

Open
virtadpt opened this issue Aug 14, 2020 · 1 comment
Open

Feature request: Delete pages without needing to open them first. #208

virtadpt opened this issue Aug 14, 2020 · 1 comment
Milestone

Comments

@virtadpt
Copy link

Situation: For some reason I had a new page that would cause Pepperminty Wiki to return zero length responses and left HTTP 500 errors in the server logs. I was able to delete the page manually (by removing the Markdown files in the datastore) but unfortunately this had a few side effects:

  • The manually removed page is still in the index, even though I rebuilt it from the admin page.
  • The manually removed page is still visible on the list of all pages in the wiki.

There does not seem to be a direct way of deleting the page without being able to load the page, click on the "More..." menu, and select the Delete option therein. Looking at the global page list and Recent Pages admin pages, however, offer little pencil emoji that, when hovering the cursor of them denotes the last user that edited the page.

It would be very handy for there to be a "delete this page" icon next to each link, perhaps a red trashcan emoji, maybe something else, that would make it possible to cleanly delete dodgy pages in the wiki.

@sbrl
Copy link
Owner

sbrl commented Aug 16, 2020

Hrm, interesting idea. Since we have a thing where if you don't append &delete=yes to an action=delete URL it shows you an "are you sure?", then this should be safe enough to add.

Adding it to the page list will also result in it appearing in all page lists across the wiki too - e.g. in lists of pages with ha particular tag for example.

I've slated this for implementation in v0.23.

@sbrl sbrl added this to the v0.23 milestone Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants