From b8af4e74f73eaa8dc89c42731b801318df6709c9 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 14 Mar 2006 06:40:58 +0000 Subject: add a special case for discussion pages when determining the links from a page, since all pages implicitly link to their disussion page --- ikiwiki | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ikiwiki') diff --git a/ikiwiki b/ikiwiki index 1c16b6725..ad3e06b3f 100755 --- a/ikiwiki +++ b/ikiwiki @@ -165,14 +165,17 @@ sub writefile ($$) { #{{{ close OUT; } #}}} -sub findlinks ($) { #{{{ +sub findlinks ($$) { #{{{ my $content=shift; + my $page=shift; my @links; while ($content =~ /(?