X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/b973ed82699903c23b3feeb5e73e1ebd6f587f43..c36b2627e2bf2ecda3783a3e19cec8cbd81bb89d:/doc/plugins/contrib/linguas.mdwn diff --git a/doc/plugins/contrib/linguas.mdwn b/doc/plugins/contrib/linguas.mdwn index c90e11a54..0d05c0864 100644 --- a/doc/plugins/contrib/linguas.mdwn +++ b/doc/plugins/contrib/linguas.mdwn @@ -1,10 +1,9 @@ [[template id=plugin name=linguas author="Jordà Polo"]] -[[meta title"linguas (third-party plugin)"]] Linguas ======= -Linguas is a plugin for [ikiwiki](http://ikiwiki.kitenet.net/) that +Linguas is a plugin for [ikiwiki](http://ikiwiki.info/) that allows translations of wiki pages. Download: [linguas.pm](http://wiki.ettin.org/files/linguas.pm) (2006-08-21). @@ -86,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 --------