DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:glossary

glossary Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" unknown
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown

plugin manage glossary for translation

Last updated on
2017-09-17
Provides
Syntax

Tagged with boxes, style, translation

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: 2018-05-28 21:11 by Klap-in