After applying this patch, DokuWiki will fire two IO_WIKIPAGE_WRITE events instead of one when a page is deleted. The first event has no revision and empty text in the data. Now the code conforms with the documentation at http://wiki.splitbrain.org/wiki:events_list#io_wikipage_write Now action plugins can act on page delete (for example the tag plugin can remove the page from its index).