The [[RecentChanges]] page is broken (doesn't show any history at all) when used with an empty svnpath in the ikiwiki.setup file. Say you have the following configuration: rcs => "svn", svnrepo => "ssh+svn://foo.bar.com/wiki", svnpath => "", In the above, $svnpath need to be either empty or "/" - both trigger the 'next unless' check in IkiWiki/Rcs/svn.pm:rcs_recentchanges() as shown in the patch below, thus causing all files to be ignored for [[RecentChanges]]. I can not see why this check is needed in the first place, so here's a patch for removing it :) diff -upr ikiwiki-1.49.orig/IkiWiki/Rcs/svn.pm ikiwiki-1.49/IkiWiki/Rcs/svn.pm --- ikiwiki-1.49.orig/IkiWiki/Rcs/svn.pm Mon Apr 16 15:15:09 2007 +++ ikiwiki-1.49/IkiWiki/Rcs/svn.pm Mon Apr 16 15:15:47 2007 @@ -176,7 +176,6 @@ sub rcs_recentchanges ($) { #{{{ } foreach (keys %{$logentry->{paths}}) { - next unless /^\/\Q$config{svnpath}\E\/([^ ]+)(?:$|\s)/; my $file=$1; my $diffurl=$config{diffurl}; $diffurl=~s/\[\[file\]\]/$file/g; > It's necessary for wikis, such as this one, that keep other things in the > same svn repository. Bug [[fixed|done]]. --[[Joey]] '>summaryrefslogtreecommitdiff
path: root/tags/5c/38/20170705020220.E3AE21C08A@jawa.homebase.dk/unread
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/5c/38/20170705020220.E3AE21C08A@jawa.homebase.dk/unread
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
master
Diffstat (limited to 'tags/5c/38/20170705020220.E3AE21C08A@jawa.homebase.dk/unread')
-rw-r--r--tags/5c/38/20170705020220.E3AE21C08A@jawa.homebase.dk/unread0
1 files changed, 0 insertions, 0 deletions