diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-21 12:46:35 +0100 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-21 12:46:35 +0100 |
commit | 953a959be72c021121d8d3c4a737f48bf52149fe (patch) | |
tree | c949e0224a557e48b3db0b91ab81623961ba7a20 /doc/plugins/contrib/linguas.mdwn | |
parent | 1ca63edde0a1f09e58c9c1da1cf9ac7a6805750b (diff) | |
download | ikiwiki-953a959be72c021121d8d3c4a737f48bf52149fe.tar ikiwiki-953a959be72c021121d8d3c4a737f48bf52149fe.tar.gz |
Migrate escaped directives (\[[) in doc/plugins to have \[[! prefix
Diffstat (limited to 'doc/plugins/contrib/linguas.mdwn')
-rw-r--r-- | doc/plugins/contrib/linguas.mdwn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/plugins/contrib/linguas.mdwn b/doc/plugins/contrib/linguas.mdwn index 5879acc73..0c3366846 100644 --- a/doc/plugins/contrib/linguas.mdwn +++ b/doc/plugins/contrib/linguas.mdwn @@ -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:'; |