summaryrefslogtreecommitdiff
path: root/doc/plugins/contrib/linguas.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-21 11:33:43 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-21 11:34:49 -0400
commitd5e65e582a34ae2494fee493ddcb2b959e4a4bce (patch)
tree14bf1f7a604406ecb98523eda42c2e864321e1d0 /doc/plugins/contrib/linguas.mdwn
parentd13200f92b74aa3d4e315809c78f1c2ec6c925a7 (diff)
parente3a84952715cdd625258e1695cb74898006c31f3 (diff)
Merge commit 'smcv/prefix'
Conflicts: doc/news/version_2.49.mdwn Also fixed the newest news file (and my wikiannounce script).
Diffstat (limited to 'doc/plugins/contrib/linguas.mdwn')
-rw-r--r--doc/plugins/contrib/linguas.mdwn8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/plugins/contrib/linguas.mdwn b/doc/plugins/contrib/linguas.mdwn
index 204910290..0c3366846 100644
--- a/doc/plugins/contrib/linguas.mdwn
+++ b/doc/plugins/contrib/linguas.mdwn
@@ -1,4 +1,4 @@
-[[template id=plugin name=linguas author="Jordà Polo"]]
+[[!template id=plugin name=linguas author="Jordà Polo"]]
Linguas
=======
@@ -20,14 +20,14 @@ Translatable pages and translations must have the following format:
`pagename.$LANG`, where `$LANG` is a ISO639-1 (two-letter) language code.
To enable linguas, add the following line in the source code of the page:
- \[[linguas ]]
+ \[[!linguas ]]
Note that linguas is only required in one of the pages (the original,
for instance); the rest of translations will be automatically
updated. Additionally, it is also possible to specify the title of
the translation:
- \[[linguas title="Translated title"]]
+ \[[!linguas title="Translated title"]]
Template
@@ -103,4 +103,4 @@ The following fixes it:
+ push @links, IkiWiki::htmllink($page, $destpage, $trans, noimageinline => 0, forcesubpage => 0, linktext => $link);
}
- my $otherlinguas = 'Translations:'; \ No newline at end of file
+ my $otherlinguas = 'Translations:';