repo.or.cz
/
ikiwiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git]
/
IkiWiki
/
Plugin
/
goodstuff.pm
blob
451cd6f84fce568167c1d8ef045baba3513dcb80
1
#!/usr/bin/perl
2
# Bundle of good stuff.
3
package
IkiWiki
::
Plugin
::
goodstuff
;
4
5
use
warnings
;
6
use
strict
;
7
use
IkiWiki
3.00
;
8
9
my
@bundle
=
qw{
10
brokenlinks
11
img
12
map
13
more
14
orphans
15
pagecount
16
pagestats
17
progress
18
shortcut
19
smiley
20
tag
21
table
22
template
23
toc
24
toggle
25
repolist
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