X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/03ab2623194009bf3cb82747c59dbf565b89e7bf..aaaef740107aacd8f6987711da6895c02e4473ad:/IkiWiki/Plugin/skeleton.pm.example diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example index 5fb391b0d..ddf2996d6 100644 --- a/IkiWiki/Plugin/skeleton.pm.example +++ b/IkiWiki/Plugin/skeleton.pm.example @@ -37,8 +37,9 @@ sub import { hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup); hook(type => "formbuilder", id => "skeleton", call => \&formbuilder); hook(type => "renamepage", id => "skeleton", call => \&renamepage); - hook(type => "rename", id => "skeleton", call => \&renamepages); + hook(type => "rename", id => "skeleton", call => \&rename); hook(type => "savestate", id => "skeleton", call => \&savestate); + hook(type => "genwrapper", id => "skeleton", call => \&genwrapper); } sub getopt () { @@ -229,8 +230,8 @@ sub renamepage (@) { debug("skeleton plugin running in renamepage"); } -sub renamepages ($$$) { - my ($torename, $cgi, $session) = (shift, shift, shift); +sub rename (@) { + my %params=@_; debug("skeleton plugin running in rename"); } @@ -239,4 +240,8 @@ sub savestate () { debug("skeleton plugin running in savestate"); } +sub genwrapper () { + debug("skeleton plugin running in genwrapper"); +} + 1