Go to the FreeLists Home Page Home Signup Help Login
 



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

[dokuwiki] Re: [Patch] fix for FS#1237

  • From: Michael Klier <chi@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 6 Sep 2007 23:08:49 +0200
Michael Klier wrote:
> Hi everyone,
> 
> the attached patch fixes FS#1237 to trigger IO_WIKIPAGE_WRITE only when
> saving wiki pages and not when saving revisions as well.
> 
> May someone who ran in this issue lately could test it also.

Please ignore this patch. After a little discussion on IRC it turned out
that action plugins should check wether they get triggered if a revision
is saved on their own by checking $data[3] which is set to true if a
revsion is about to be saved.

Best Regards,
    chi

-- 
Michael Klier

mail:   chi@xxxxxxxxxxx
www:    http://www.chimeric.de
icq:    206179334
jabber: chi@xxxxxxxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551




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