~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnDictionaries/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mfrom: (0.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080622211713-fpo2zrq3s5dfecxg
Tags: 1.7.0-3
Simplify /etc/moin/wikilist format: "USER URL" (drop unneeded middle
CONFIG_DIR that was wrongly advertised as DATA_DIR).  Make
moin-mass-migrate handle both formats and warn about deprecation of
the old one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Please edit system and help pages ONLY in the master wiki!
 
2
## For more information, please see MoinMoin:MoinDev/Translation.
 
3
##master-page:Unknown-Page
 
4
##master-date:Unknown-Date
 
5
#acl -All:write Default
 
6
#format wiki
 
7
#language en
 
8
The dictionary markup can be used to store key-value pairs like in a dictionary or glossary. It uses definition lists (see HelpOnLists). A dictionary page used by the system has to have a name ending with `Dict` (see `page_dict_regex` on the page HelpOnConfiguration).
 
9
 
 
10
Dictionaries can be either shared or private (only you have read access to them under your homepage).
 
11
 
 
12
== How does it look? ==
 
13
This is an example:
 
14
 var1:: value1
 
15
 var2:: value2
 
16
 var3:: value3
 
17
 
 
18
And it looks like this in the page source:
 
19
{{{
 
20
 var1:: value1
 
21
 var2:: value2
 
22
 var3:: value3
 
23
}}}
 
24
 /!\ The leading space and the space after '::' are important.
 
25
 
 
26
See also HelpOnVariables
 
27
 
 
28
== Dictionaries for translations ==
 
29
Dictionaries can be used to translate user-specified words with auto-substitution<<FootNote(this is an alternative for the distributed PO-Files, which are used instead in MoinMaster wiki)>>. If you want to use that a dictionary has to be named in the form ''Language''Dict (examples: !GermanDict, !FrenchDict, !SpanishDict, etc.).
 
30
----