]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/goodstuff.pm
avoid link fixup if page name stayed the same
[ikiwiki.git] / IkiWiki / Plugin / goodstuff.pm
index 384123f601b380597bb4dba3c912ecebef6f103f..df928f2226d485aba2a582363e59da44db9d229c 100644 (file)
@@ -4,7 +4,7 @@ package IkiWiki::Plugin::goodstuff;
 
 use warnings;
 use strict;
-use IkiWiki;
+use IkiWiki 2.00;
 
 my @bundle=qw{
        brokenlinks
@@ -24,7 +24,16 @@ my @bundle=qw{
 };
 
 sub import { #{{{
+       hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
        IkiWiki::loadplugin($_) foreach @bundle;
 } # }}}
 
+sub getsetup { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+               },
+} #}}}
+
 1