X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/741b26aa176b34d0359a2b89dd6d8293fcdf2b3d..b24f236dfa2903805bc233a7fc97101d912ae3ee:/doc/plugins/write.mdwn?ds=sidebyside 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);