aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-23 16:56:40 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-23 16:56:40 -0400
commitad9e443f22a139c71f0cd05885cda3e418f27567 (patch)
tree52d257f9f524fcfe35c819cf67b89171deebb653 /doc
parent4669eab596c8d90de0cf9f9d359ad8dd8f48edb5 (diff)
downloadikiwiki-ad9e443f22a139c71f0cd05885cda3e418f27567.tar
ikiwiki-ad9e443f22a139c71f0cd05885cda3e418f27567.tar.gz
check_canattach hooked up
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/write.mdwn5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 9f096e4f7..7fbe4bd57 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -829,13 +829,16 @@ sense to implement for all RCSs.
It should examine the incoming changes, and do any sanity
checks that are appropriate for the RCS to limit changes to safe file adds,
-removes, and renames. If something bad is found, it should exit
+removes, and changes. If something bad is found, it should exit
nonzero, to abort the push. Otherwise, it should return a list of
files that were changed, in the form:
{
file => # name of file that was changed
action => # either "add", "change", or "remove"
+ path => # temp file containing the new file content, only
+ # needed for "add", and only if the file is an
+ # attachment, not a page
}
The list will then be checked to make sure that each change is one that