]> sipb.mit.edu Git - ikiwiki.git/commitdiff
document longname parameter
authorJon Dowland <jon@alcopop.org>
Sat, 16 May 2009 13:01:12 +0000 (14:01 +0100)
committerJon Dowland <jon@alcopop.org>
Sat, 16 May 2009 13:01:12 +0000 (14:01 +0100)
doc/plugins/write.mdwn

index 28da243d5072fdfa6bd3e87d49b33473fd7f6b4c..d0f6a09e1ac9127efed521713c5b1be7182ba4d2 100644 (file)
@@ -198,6 +198,9 @@ value, then the id parameter specifies not a filename extension, but
 a whole filename that can be htmlized. This is useful for files
 like `Makefile` that have no extension.
 
 a whole filename that can be htmlized. This is useful for files
 like `Makefile` that have no extension.
 
+If `hook` is passed an optional "longname" parameter, this value is used
+when prompting a user to choose a page type on the edit page form.
+
 ### pagetemplate
 
        hook(type => "pagetemplate", id => "foo", call => \&pagetemplate);
 ### pagetemplate
 
        hook(type => "pagetemplate", id => "foo", call => \&pagetemplate);