Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
untrusted committers code seems to be fully working
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
goodstuff.pm
1
#!/usr/bin/perl
2
# Bundle of good stuff.
3
package IkiWiki::Plugin::goodstuff;
4
5
use warnings;
6
use strict;
7
use IkiWiki 2.00;
8
9
my @bundle=qw{
10
brokenlinks
11
img
12
map
13
meta
14
more
15
orphans
16
pagecount
17
pagestats
18
progress
19
shortcut
20
smiley
21
tag
22
table
23
template
24
toc
25
toggle
26
};
27
28
sub import { #{{{
29
hook(type => "getsetup", id => "goodstuff", call => \&getsetup);
30
foreach my $plugin (@bundle) {
31
IkiWiki::loadplugin($plugin);
32
}
33
} # }}}
34
35
sub getsetup { #{{{
36
return
37
plugin => {
38
safe => 1,
39
rebuild => undef,
40
},
41
} #}}}
42
43
1