2006-11-22 03:28:42 +01:00
|
|
|
#!/usr/bin/perl
|
2006-11-22 07:15:32 +01:00
|
|
|
# Bundle of good stuff.
|
|
|
|
package IkiWiki::Plugin::goodstuff;
|
2006-11-22 03:28:42 +01:00
|
|
|
|
|
|
|
use warnings;
|
|
|
|
use strict;
|
2007-04-27 04:55:52 +02:00
|
|
|
use IkiWiki 2.00;
|
2006-11-22 03:28:42 +01:00
|
|
|
|
|
|
|
my @bundle=qw{
|
|
|
|
brokenlinks
|
|
|
|
img
|
|
|
|
map
|
|
|
|
meta
|
2008-09-09 22:11:16 +02:00
|
|
|
more
|
2006-11-22 03:28:42 +01:00
|
|
|
orphans
|
|
|
|
pagecount
|
|
|
|
pagestats
|
2008-09-09 22:11:16 +02:00
|
|
|
progress
|
2006-11-22 03:28:42 +01:00
|
|
|
shortcut
|
|
|
|
smiley
|
|
|
|
tag
|
2008-09-09 22:11:16 +02:00
|
|
|
table
|
2006-11-22 03:28:42 +01:00
|
|
|
template
|
|
|
|
toc
|
|
|
|
toggle
|
|
|
|
};
|
|
|
|
|
|
|
|
sub import { #{{{
|
2008-08-03 22:40:12 +02:00
|
|
|
hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
|
2008-10-06 22:19:54 +02:00
|
|
|
foreach my $plugin (@bundle) {
|
|
|
|
IkiWiki::loadplugin($plugin);
|
|
|
|
}
|
2006-11-22 03:28:42 +01:00
|
|
|
} # }}}
|
|
|
|
|
2008-08-03 22:40:12 +02:00
|
|
|
sub getsetup { #{{{
|
|
|
|
return
|
|
|
|
plugin => {
|
|
|
|
safe => 1,
|
|
|
|
rebuild => undef,
|
|
|
|
},
|
|
|
|
} #}}}
|
|
|
|
|
2006-11-22 03:28:42 +01:00
|
|
|
1
|