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: Ben Coburn <btcoburn@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 6 Sep 2007 14:09:57 -0700

On Sep 6, 2007, at 13:39, 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.



The idea originally was to make the even flexible by being inclusive. Whether this has been useful is still an open question.

To tell the difference between page saves and attic saves, check the revision value supplied with the event. $data[3]===false means that it is a page save, otherwise it is an attic save.

This is documented in the code in 'inc/io.php';


Regards, Ben Coburn


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




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