]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/camelcase.pm
anonok is safe
[ikiwiki.git] / IkiWiki / Plugin / camelcase.pm
index 0739bb01ae3c2d0498c58fa428451afb208fcfdf..3f17df4a3bb9a07a4e936f5a58c88b74841875ea 100644 (file)
@@ -23,10 +23,19 @@ my $link_regexp=qr{
 }x;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "camelcase", call => \&getsetup);
        hook(type => "linkify", id => "camelcase", call => \&linkify);
        hook(type => "scan", id => "camelcase", call => \&scan);
 } # }}}
 
+sub getsetup () { #{{{
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               };
+} #}}}
+
 sub linkify (@) { #{{{
        my %params=@_;
        my $page=$params{page};