Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [12-2007 Date Index] [Date Next] || [Thread Prev] [12-2007 Thread Index] [Thread Next]

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




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.