This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Deferred
FS#1059 Add trigger for deleting wikipage (or new event)
Syntax
2007-01-28netsurfer
At the moment there is an event called "IO_WIKIPAGE_WRITE", which only is triggered by the function io_writeWikiPage() in inc/io.php.
But if a wikipage is edited to empty, so that it will be deleted, the job is done by another function. It's done by the function saveWikiText() in inc/common.php.
This function does not send (trigger) any events at the moment.
In my opinion it's probably the best place, for triggering the deletion of a wikipage.
And another case could be included as well, namely the case when there have been no changes to a page and due to this it won't be resaved.
Gunther
2007-04-22andi
To avoid overloading DokuWiki with a bunch of unused event triggers we only add triggers when needed. If you want to develop a plugin with the a need for new triggers, please join the mailinglist to discuss them, we then will probably agree to add them when you send a patch.
2007-04-22andi
will be added when a patch and plugin is suggested