]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/write.mdwn
Pass src, srcfile, dest and destfile to the canrename hook.
[git.ikiwiki.info.git] / doc / plugins / write.mdwn
index a1e14cb948989fe82f14eb54b8267aeec7975d23..92e372cfab11b86d613e6ae15816c66774e2513e 100644 (file)
@@ -335,7 +335,11 @@ bypass it). It works exactly like the `canedit` hook.
 
 This hook can be used to implement arbitrary access methods to control when
 a page can be renamed using the web interface (commits from revision control
-bypass it). It works exactly like the `canedit` hook.
+bypass it). It works exactly like the `canedit` and `canremove` hook,
+but is passed:
+* a CGI object
+* a session object
+* the named parameters `src`, `srcfile`, `dest` and `destfile`.
 
 ### editcontent