Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

nukewarrior/dokuwiki-plugin-deletepagebutton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delete Page Button Plugin for DokuWiki

Copyright (c) 2020 Damien Regad dregad@mantisbt.org

The plugin adds a Delete page button to DokuWiki's PageMenu.

This provides a simpler, quicker and more intuitive way for users to delete wiki pages, compared to the documented page deletion method.

Screenshot

If JavaScript is enabled and the current Template is supported by the plugin, a confirmation dialog will be displayed prior to deleting the page.

Confirmation

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 or later.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Installation and Configuration

Please refer to the plugin's wiki page for information on how to install and configure this plugin in DokuWiki.

If you install this plugin manually, make sure it is installed in lib/plugins/deletepagebutton/ - if the folder is called differently, it will not work!

Compatibility

This plugin has been tested with the following DokuWiki releases, and should work with later versions as well.

  • 2018-04-22b "Greebo"
  • 2020-07-29 "Hogfather"

Earlier releases are not supported.

The plugin has been tested with the default DokuWiki and the Bootstrap3 Templates. Other Templates should work as well, as long as they use the same markup for Page Tools; otherwise, the page will be deleted without confirmation.

Support

Source code and support for this plugin can be found at https://github.com/dregad/dokuwiki-plugin-deletepagebutton

Credits

Icon: https://materialdesignicons.com/icon/trash-can-outline

I first thought I could adapt this old plugin but I ended up restarting from scratch.

About

DokuWiki plugin to add a PageMenu button to delete the current page.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 68.8%
  • JavaScript 31.2%