devel:event:io_wikipage_write
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
devel:event:io_wikipage_write [2010-09-19 22:07] – [Passed Data] 151.57.14.118 | devel:event:io_wikipage_write [2014-12-02 15:37] – [Passed Data] Klap-in | ||
---|---|---|---|
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. | ||
+ | |||
+ | In the BEFORE event handler the '' | ||
+ | |||
+ | In the AFTER event handler the '' | ||
===== Plugins handling this event ===== | ===== Plugins handling this event ===== | ||
Line 28: | Line 35: | ||
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself. | The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself. | ||
- | * [[plugin: | + | * [[plugin: |
===== See also ===== | ===== See also ===== |
devel/event/io_wikipage_write.txt · Last modified: 2018-12-08 15:46 by torpedo