]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/contrib/linguas.mdwn
reset SIGPIPE before returning
[ikiwiki.git] / doc / plugins / contrib / linguas.mdwn
index cf7a458c72a46e5e291bbba65e3cfd9219262d39..204910290e6a818f549cae35c42e1752204192c3 100644 (file)
@@ -3,10 +3,15 @@
 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).
+Download: [linguas.pm](http://ettin.org/pub/ikiwiki/linguas.pm) (2006-08-21).
+
+Note that even though it is still available for download, this plugin is no
+longer actively maintained. If you are interested in multilingual wiki pages, you
+can also take a look at other approaches such as [[todo/l10n]] or Lars Wirzenius's
+[Static website, with translations, using IkiWiki](http://liw.iki.fi/liw/log/2007-05.html#20070528b).
 
 Usage
 -----
@@ -56,7 +61,7 @@ fine, but it fails from ikiwiki.setup.)
   > but not hashes or more complex data structures. --[[Joey]]
 
   >  > Right. With this simple
-  >  > [patch](http://wiki.ettin.org/files/hash_setup.patch) it seems to
+  >  > [patch](http://ettin.org/pub/ikiwiki/hash_setup.patch) it seems to
   >  > work. However, note that 1) it only allows simple hashes, hashes of
   >  > hashes will not work (I don't think getops can handle complex hashes
   >  > anyway); 2) I don't really know when/why you call
@@ -85,13 +90,17 @@ it... any hints?)
   >  > I'll take a look when I have the time. Thanks for your comments.
   >  > --Jordà
 
-Examples
---------
-
-* [Linguas](http://wiki.ettin.org/linguas.en.html). A page with the same
-content than this one.
-
-* [Hello in some languages](http://wiki.ettin.org/hello/hello.en.html). The
-translations were taken from [Hello in many
-languages](http://www.omniglot.com/language/phrases/hello.htm) and from
-the [Debian](http://www.debian.org/) website.
+* 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:';
\ No newline at end of file