Learn about DokuWiki
Learn about DokuWiki
Compatible with DokuWiki
Angua, 2012-01-25; 2011-05-25 "Rincewind"
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin.
In case you need to install this plugin manually, be aware that you have to deactivate it and activate it again after uploading it in order for the plugin to work 100% correctly. Refer to Plugins on how to install plugins manually.
This plugin is compatible with Rincewind (2011-05-25), but it could very well be compatible with older versions. You'll just have to try it.
~~DRAFT~~anywhere in the text.
If you are an unregistered user, the page will not show up. If you are registered, you can see the page, as well as a red warning on the top of the page, which reminds you that the following page is a draft; hidden from the view of unregistered users.
Technically, the plugin adds two ACL-entries that sets @ALL to have the permission AUTH_NONE, and @user to have the permission AUTH_EDIT. When the code is removed from the page's text, the ACL-entries are also removed.
This plugin is built upon the Underconstruction plugin, however I was very dissatisfied with how that plugin worked, and so I had to create a new one. The Underconstruction plugin was flawed in that the draft-system would break whenever any ACL was deleted from the ACL management plugin that comes with DokuWiki Rincewind. This plugin does not suffer from that flaw. Several other improvements makes this a much easier code to work with, in case I find out that I want to add more functionality to the plugin.
I was also inspired by the Publish plugin, but found that it didn't work how I expected. I wanted to hide pages completely from unregistered users so they didn't even know that the pages existed, but the Publish plugin couldn't do that.
~~ENTWURF~~and your language isn't German, that text will become visible, and the page will have its ACL-settings removed by the plugin1). FIRST select the language of your DokuWiki, then stick with that choice.