aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorwww-data <www-data@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-03 20:46:14 +0000
committerwww-data <www-data@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-03 20:46:14 +0000
commit92ffe3446ff78cf7892d0900e6cfd4646655c9e1 (patch)
tree0ab8df58eeff1a2905f495a6897b4c95c2095d92 /doc/plugins
parent5d887948f9e6715bec1645bbea3f58e49dfc7ebe (diff)
downloadikiwiki-92ffe3446ff78cf7892d0900e6cfd4646655c9e1.tar
ikiwiki-92ffe3446ff78cf7892d0900e6cfd4646655c9e1.tar.gz
web commit by joey
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/write.mdwn5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 04803f777..2a43ad249 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -53,10 +53,9 @@ Beyond PreProcessorDirectives, Other types of hooks that can be used by plugins
### checkconfig
- IkiWiki::hook(type => "delete", id => "foo", call => \&checkconfig);
+ IkiWiki::hook(type => "checkconfig", id => "foo", call => \&checkconfig);
-This is useful if the plugin needs to check for, or modify ikiwiki's configuration. It's called early in the ikiwiki startup process. It's ok for
-the function to call IkiWiki::error if something isn't configured right.
+This is useful if the plugin needs to check for, or modify ikiwiki's configuration. It's called early in the ikiwiki startup process. The function is passed no values. It's ok for the function to call IkiWiki::error if something isn't configured right.
### delete