X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/12eb056b33e1f01a63c4fcee408c9ac0d96c6b5e..f02672c113813c37a659991ae984a2368e15b8db:/doc/plugins/write.mdwn diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 05dfc5d09..b60dc66f2 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -336,10 +336,8 @@ 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` and `canremove` hook, -but is passed: -* a CGI object -* a session object -* the named parameters `src`, `srcfile`, `dest` and `destfile`. +but is passed the named parameters `cgi` (a CGI object), `session` (a +session object), `src`, `srcfile`, `dest` and `destfile`. ### checkcontent @@ -561,10 +559,6 @@ the id can be controled by the user. Logs a debugging message. These are supressed unless verbose mode is turned on. -#### `warning($)` - -Logs a warning message. - #### `error($;$)` Aborts with an error message. If the second parameter is passed, it is a