[dokuwiki] Patch: Trigger IO_WIKIPAGE_WRITE on page delete

  • From: "Gabriel Birke" <Gabriel.Birke@xxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Wed, 19 Dec 2007 13:23:24 +0100

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).

Other related posts: