devel:event:io_wikipage_write
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:event:io_wikipage_write [2010-09-19 22:07] – [Passed Data] 151.57.14.118 | devel:event:io_wikipage_write [2018-12-08 15:46] (current) – doc updated according to issue #2615 torpedo | ||
---|---|---|---|
Line 16: | Line 16: | ||
Page deletion may be detected by checking for empty page content. | Page deletion may be detected by checking for empty page content. | ||
===== Passed Data ===== | ===== Passed Data ===== | ||
+ | The passed [[xref> | ||
- | | + | The '' |
+ | | ||
* $data[0][0] -- the file path. | * $data[0][0] -- the file path. | ||
* $data[0][1] -- the content to be saved, and may be modified. | * $data[0][1] -- the content to be saved, and may be modified. | ||
+ | * $data[0][2] -- whether given content will be appended, default false. | ||
* $data[1] -- ns: The colon separated namespace path minus the trailing page name. (false if root ns) | * $data[1] -- ns: The colon separated namespace path minus the trailing page name. (false if root ns) | ||
* $data[2] -- | * $data[2] -- | ||
* $data[3] -- rev: The page revision, false for current wiki pages. | * $data[3] -- rev: The page revision, false for current wiki pages. | ||
- | ===== Plugins handling this event ===== | + | In the BEFORE |
- | The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler | + | In the AFTER event handler |
- | * [[plugin: | ||
===== See also ===== | ===== See also ===== | ||
+ | * [[codesearch> | ||
* [[devel: | * [[devel: | ||
* [[devel: | * [[devel: | ||
* [[IO_WIKIPAGE_READ]] | * [[IO_WIKIPAGE_READ]] |
devel/event/io_wikipage_write.txt · Last modified: 2018-12-08 15:46 by torpedo