plugin:glossary
Table of Contents
Glossary Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" yes
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)
plugin/glossary.txt · Last modified: by 80.67.176.91