]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/skeleton.pm
bugnum
[ikiwiki.git] / IkiWiki / Plugin / skeleton.pm
index acbc88994048e31e6020f8f11bf8cba98711a000..1201d055c46cff36a6004bc9f6f115b3994c3a58 100644 (file)
@@ -9,6 +9,8 @@ use strict;
 use IkiWiki;
 
 sub import { #{{{
+       IkiWiki::hook(type => "getopt", id => "skeleton", 
+               call => \&getopt);
        IkiWiki::hook(type => "checkconfig", id => "skeleton", 
                call => \&checkconfig);
        IkiWiki::hook(type => "preprocess", id => "skeleton", 
@@ -27,8 +29,14 @@ sub import { #{{{
                call => \&change);
        IkiWiki::hook(type => "cgi", id => "skeleton", 
                call => \&cgi);
+       IkiWiki::hook(type => "savestate", id => "savestate", 
+               call => \&savestate);
 } # }}}
 
+sub getopt () { #{{{
+       IkiWiki::debug("skeleton plugin getopt");
+} #}}}
+
 sub checkconfig () { #{{{
        IkiWiki::debug("skeleton plugin checkconfig");
 } #}}}
@@ -89,4 +97,8 @@ sub cgi ($) { #{{{
        IkiWiki::debug("skeleton plugin running in cgi");
 } #}}}
 
+sub savestate () { #{{{
+       IkiWiki::debug("skeleton plugin running in savestate");
+} #}}}
+
 1