Glossary Application

Version 31.5 by Admin on 2021/11/05 01:01

cogGlossary feature for XWiki
TypeXAR
CategoryApplication
Developed by

Sarthak Gupta, Vincent Massol, slauriere

Active Installs56
Rating
2 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

The Glossary application has the following features:

  • Add a new Glossary entry (Currently supports only single word entries emoticon_smile, except when using the glossaryReference macro)
  • View and filter all existing Glossary entries
  • Search for Glossary entries
  • Glossary Transformation for the ability to create links if a glossary entry appears on a wiki page.

Since version 1.1, it is possible to create glossary entries and then translate these entries in the different languages configured on the wiki. When using the glossary transformation, only glossary entries that exist with the locale of the page will be transformed.

Main view:
Glossary.png

Adding a new Glossary entry

Enter the glossary entry, that you want to add in the text box and click the "Add Glossary Item" button

addglossary1.png

On the next page add a description to the glossary entry. After that Save the page.

addglossary2.png

Viewing existing Glossary entries

Existing glossary entries are shown in the live table as shown below:

viewglossary1.png

On clicking a glossary entry, you will be directed to the page associated with it.

viewglossary2.png

Searching Glossary entries

Enter the entry you want to search in the search box as shown and click the "Search" button.

searchglossary1.png

You will be directed to the search page where you will see the matching entry resuts.

searchglossary2.png

Update documents to add glossary entries automatically

Since 1.1, it is possible to enable the application to automatically update documents at save time to look for glossary entries. With this strategy, if a word corresponds to a glossary entry when saving a document, it will be replaced by a glossaryReference macro with the adequate parameters.

Similarly, if a glossaryReference macro exists in a document being saved, and if the corresponding glossary entry does not exist anymore, the macro will be removed.

In order to enable this feature, check the option Update documents on save in the wiki administration, in the section "Content" > "Glossary".

Glossary Reference Macro

The Glossary Reference macro makes it possible to link explicitely a label to a glossary entry in a given glossary, using the following syntax:

{{glossaryReference glossaryId="MyGlossary" entryId="lorem"}}lorem{{/glossaryReference}}

The glossaryId parameter is optional, defaulting to "Glossary", while the entryId one is mandatory.

Glossary Transformation in action

As we have the word "LOL" as a glossary entry, it will appear as a link on any page in which it appears as shown below:

glossarytransformation1.png

On clicking that link, you will be directed to that glossary page.

Release Notes

All release notes

1.4.7

The following translations have been updated with this release:

1.4.6

1.4.5

1.4.4

The following translations have been updated with this release:

1.4.3

1.4.2

1.4.1

1.4

1.3

1.2.1

1.2

This version requires XWiki 13.10+.

1.1.5

1.1.4

1.1.3

1.1.2

1.1.1

1.1

1.0.4

1.0.3

1.0.2

1.0.1

1.0

0.3

0.2

No issue.

0.1

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

This transformation is disabled by default for improved performances. It causes performances issues for pages with large content.

To activate it, edit WEB-INF/xwiki.properties, look for a property named rendering.transformations and make sure it's uncommented and contains the value glossary.

For example:

rendering.transformations = macro, icon, glossary

Make sure you restart your XWiki instance for the change to take effect.

Release Notes

v1.1

v1.0.4

v1.0.3

Dependencies

Dependencies for this extension (org.xwiki.contrib.glossary:application-glossary-ui 1.1.1):

Tags:
    

Get Connected