summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-01-01 16:48:43 +0100
committerintrigeri <intrigeri@boum.org>2009-01-01 16:52:34 +0100
commit3316f9cc737c091ff79270f75fc30dd349616b12 (patch)
tree3def77919357d58567afa2750a9c45cae5611582 /doc/plugins
parent741b26aa176b34d0359a2b89dd6d8293fcdf2b3d (diff)
rename: implemented new canrename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/write.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index e20cce763..a927b1629 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -329,6 +329,14 @@ This hook can be used to implement arbitrary access methods to control when
a page can be removed using the web interface (commits from revision control
bypass it). It works exactly like the `canedit` hook.
+### canrename
+
+ hook(type => "canrename", id => "foo", call => \&canrename);
+
+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.
+
### editcontent
hook(type => "editcontent", id => "foo", call => \&editcontent);