projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846026b
)
use links dependency
author
Joey Hess
<joey@gnu.kitenet.net>
Mon, 5 Oct 2009 19:09:09 +0000
(15:09 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Mon, 5 Oct 2009 19:09:09 +0000
(15:09 -0400)
IkiWiki/Plugin/brokenlinks.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/brokenlinks.pm
b/IkiWiki/Plugin/brokenlinks.pm
index b8ed2b8de58e05d985a7e45985cbf2e628714b3a..9e65f52c656f55dd201c6b2abba6fd5f9419e3a8 100644
(file)
--- a/
IkiWiki/Plugin/brokenlinks.pm
+++ b/
IkiWiki/Plugin/brokenlinks.pm
@@
-23,9
+23,8
@@
sub preprocess (@) {
my %params=@_;
$params{pages}="*" unless defined $params{pages};
- # Needs to update whenever a page is changed,
- # added or removed, in order to see the link changes.
- add_depends($params{page}, $params{pages});
+ # Needs to update whenever the links on a page change.
+ add_depends($params{page}, $params{pages}, links => 1);
my @broken;
foreach my $link (keys %IkiWiki::brokenlinks) {