]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/skeleton.pm
inline: The optimisation in 2.41 broke nested inlines. Detect those and avoid overopt...
[ikiwiki.git] / IkiWiki / Plugin / skeleton.pm
index d1a50c03bd14fefe093e5064ec9f51848fb7bd04..17a2162ffc240728f17ec44f149e79c65597705d 100644 (file)
@@ -14,6 +14,8 @@ sub import { #{{{
        hook(type => "needsbuild", id => "skeleton", call => \&needsbuild);
        hook(type => "preprocess", id => "skeleton", call => \&preprocess);
        hook(type => "filter", id => "skeleton", call => \&filter);
+       hook(type => "linkify", id => "skeleton", call => \&linkify);
+       hook(type => "scan", id => "skeleton", call => \&scan);
        hook(type => "htmlize", id => "skeleton", call => \&htmlize);
        hook(type => "sanitize", id => "skeleton", call => \&sanitize);
        hook(type => "format", id => "skeleton", call => \&format);
@@ -23,10 +25,12 @@ sub import { #{{{
        hook(type => "change", id => "skeleton", call => \&change);
        hook(type => "cgi", id => "skeleton", call => \&cgi);
        hook(type => "auth", id => "skeleton", call => \&auth);
+       hook(type => "sessioncgi", id => "skeleton", call => \&sessioncgi);
        hook(type => "canedit", id => "skeleton", call => \&canedit);
+       hook(type => "editcontent", id => "skeleton", call => \&editcontent);
        hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup);
        hook(type => "formbuilder", id => "skeleton", call => \&formbuilder);
-       hook(type => "savestate", id => "savestate", call => \&savestate);
+       hook(type => "savestate", id => "skeleton", call => \&savestate);
 } # }}}
 
 sub getopt () { #{{{
@@ -55,6 +59,20 @@ sub filter (@) { #{{{
        return $params{content};
 } # }}}
 
+sub linkify (@) { #{{{
+       my %params=@_;
+       
+       debug("skeleton plugin running as linkify");
+
+       return $params{content};
+} # }}}
+
+sub scan (@) { #{{{a
+       my %params=@_;
+
+       debug("skeleton plugin running as scan");
+} # }}}
+
 sub htmlize (@) { #{{{
        my %params=@_;
 
@@ -119,6 +137,13 @@ sub auth ($$) { #{{{
        debug("skeleton plugin running in auth");
 } #}}}
 
+sub sessionncgi ($$) { #{{{
+       my $cgi=shift;
+       my $session=shift;
+
+       debug("skeleton plugin running in sessioncgi");
+} #}}}
+
 sub canedit ($$$) { #{{{
        my $page=shift;
        my $cgi=shift;
@@ -127,6 +152,14 @@ sub canedit ($$$) { #{{{
        debug("skeleton plugin running in canedit");
 } #}}}
 
+sub editcontent ($$$) { #{{{
+       my %params=@_;
+
+       debug("skeleton plugin running in editcontent");
+
+       return $params{content};
+} #}}}
+
 sub formbuilder_setup (@) { #{{{
        my %params=@_;