X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/be55f6fd7cf1a251c3977f857a44ee2769e39d8b..ad2c77dd3076568024a28b485afbf82c3508d448:/doc/plugins/write.mdwn?ds=inline diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 18aa34dca..8492b1756 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -77,7 +77,7 @@ the preprocessor directive. Each time the directive is processed, the referenced function (`preprocess` in the example above) is called, and is passed named parameters. A "page" parameter gives the name of the page that embedded the preprocessor -directive, while a "destpage" parameter gices the name of the page the +directive, while a "destpage" parameter gives the name of the page the content is going to (different for inlined pages). All parameters included in the directive are included as named parameters as well. Whatever the function returns goes onto the page in place of the directive. @@ -210,6 +210,11 @@ ikiwiki program. Hook into ikiwiki's processing. See the discussion of hooks above. +Note that in addition to the named parameters described above, a parameter +named no_override is supported, If it's set to a true value, then this hook +will not override any existing hook with the same id. This is useful if +the id can be controled by the user. + #### `debug($)` Logs a debugging message. These are supressed unless verbose mode is turned