summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-24 01:11:35 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-24 01:11:35 +0000
commitb2cf231a4308ace4dafe77ee25cf21688821d993 (patch)
tree4501837145d640612a8002e03c9c08def14b4cd1 /doc
parente490e06841014073be068380df8169f3c02f3234 (diff)
web commit by JonasSmedegaard: Fix for htmllink brokenness since ikiwiki 1.44.
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/contrib/linguas.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/plugins/contrib/linguas.mdwn b/doc/plugins/contrib/linguas.mdwn
index 9648748d6..0d05c0864 100644
--- a/doc/plugins/contrib/linguas.mdwn
+++ b/doc/plugins/contrib/linguas.mdwn
@@ -85,6 +85,22 @@ it... any hints?)
> > I'll take a look when I have the time. Thanks for your comments.
> > --Jordà
+* The changes to htmllink in ikiwiki 1.44 broke this plugin.
+The following fixes it:
+
+ --- linguas.pm.orig 2006-08-23 19:07:04.000000000 +0200
+ +++ linguas.pm 2007-03-24 01:53:18.000000000 +0100
+ @@ -100,7 +100,7 @@
+ if (exists $linguas{$2} && defined $linguas{$2}) {
+ $link = $linguas{$2}{'name'};
+ }
+ - push @links, IkiWiki::htmllink($page, $destpage, $trans, 0, 0, $link);
+ + push @links, IkiWiki::htmllink($page, $destpage, $trans, noimageinline => 0, forcesubpage => 0, linktext => $link);
+ }
+
+ my $otherlinguas = 'Translations:';
+
+
Examples
--------