This is an old revision of the document!
Table of Contents
glossary Plugin
Compatible with DokuWiki
Greebo, Frusterick Manners
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Examples/Usage
See the plugin in action here.
In this case, French “Newspeak” expression are translate in the real world.
{{glossary list}}
You have to manage the proposition in back-office (page under access control).
{{glossary admin-proposal}} {{glossary admin-definition}}
Syntax
{{glossary>namespace [help] (sample|list|proposal|admin-proposal|admin-definition|admin-glossaries)}}
- namespace – name of the glossary to manage multiple glossary in a site and referred the appropriate one when management
(by default the namespace of the page where the syntax appears) - help – give a help
- sample – select randomly a new to be showe (for instance by showSamples)
- list – list of all definitions
- proposal – proposition form
- admin-proposal – list the proposition and remove when taken in account
- admin-definition – add or remove definitions (can be replace “proposal” if you trust on users)
- admin-glossaries – manage (include removal) all glossaries in the site
You can include the icons used by this plugin with :
<glossary (help|clock|face-smile|face-sad|stop|one-way|search) />
Use one of parameters name according the icon you want to show
To highlight words according the input language, use :
<glossary word> some input word </glossary>
To highlight words according the output language, use :
<glossary translate> some output word </glossary>
Configuration and Settings
- dataDir – for xml file database directory. More precisely, place where you can find one directory per namespace (md5 of namespace)
- recentDays – number of days to show a clock beside a new definition
- maxIP – maximun of proposition for the same IP (proposition are remove by administrator)
- adminGroup – group of administrator
- propGroup – group wihtout limitation of proposition
- transSep – separator for multi definition (can't be used in input or output word)
- propositionPage – page where a proposition form can be found
- sampleDelai – delay before change the sample
- listDelai – delay of cache (depending of proposition frequencies)