diff options
Diffstat (limited to 'IkiWiki/Plugin/skeleton.pm.example')
-rw-r--r-- | IkiWiki/Plugin/skeleton.pm.example | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example index 0bd5edeef..30c8dbd5c 100644 --- a/IkiWiki/Plugin/skeleton.pm.example +++ b/IkiWiki/Plugin/skeleton.pm.example @@ -31,6 +31,7 @@ sub import { hook(type => "sessioncgi", id => "skeleton", call => \&sessioncgi); hook(type => "canedit", id => "skeleton", call => \&canedit); hook(type => "cansave", id => "skeleton", call => \&cansave); + hook(type => "checkcontent", id => "skeleton", call => \&checkcontent); hook(type => "editcontent", id => "skeleton", call => \&editcontent); hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup); hook(type => "formbuilder", id => "skeleton", call => \&formbuilder); @@ -181,6 +182,7 @@ sub canedit ($$$) { debug("skeleton plugin running in canedit"); } +<<<<<<< HEAD:IkiWiki/Plugin/skeleton.pm.example sub cansave ($$$$) { my $page=shift; my $content=shift; @@ -204,6 +206,12 @@ sub canrename ($$$) { my $session=shift; debug("skeleton plugin running in canrename"); +======= +sub checkcontent (@) { + my %params=@_; + + debug("skeleton plugin running in checkcontent"); +>>>>>>> upstream/master:IkiWiki/Plugin/skeleton.pm.example } sub editcontent ($$$) { |