Suppress glossary highlighting

Hello.

We use the glossary extension, which is great! But: is there a possibility that entries from the glossary are NOT displayed as glossary entries (but neutral)?

The reason for the question is that it is a great feature to highlight glossary entries in the body text, but it looks mega stupid in headings or tables.

I’m wondering if this can be achieved by using invisible control characters or something like that. Do you have any ideas or experience?

Many Thanks
Roland

Hello Roland,

Maybe existent opened improvement in Jira project GLOSSARY-3 which have a different goal may meet your question. If not, feel free to report a new imprv in that project.

Seems like using “white-space” characters (https://blanktext.net/) does the trick.

Copying the following char in a word within the text, supresses the glossary-link. Zero Width Space (U+200B) Character copy and paste

Does anyone know, if there is good practice to use that char in XWiki (using the editor)? I don´t want to copy it in every word, that shouldn’t be linked to the glossary.

Thx in advance.
Roland

Not sure why it looks “stupid” there. Could you elaborate? It just means a link and links are ok in tables. Ok maybe you don’t want them in table header for some L&F styling rules you have.

So IMO we need a way to mark a word (or set of words) to be excluded from being linked.

Something like:

`(% data-xwiki-rendering-protected=‘true’ %)Glossary word here(%)``

Note that we already use data-xwiki-rendering-protected in some places (like the LaTeX Extension or the Numbering Extension), so we could have it supported by the Glossary Extension too.

I’ve created Loading... to track it

Salut Vincent,

I would be happy to elaborate on my understanding of “stupid”:

We really do have a lot of glossary entries. To distinguish them from “regular” links, we have attached a book symbol to the entries.

Not only I but also colleagues have stumbled across the glossary entries in the headings and tables when reading the texts in the wiki. The question therefore arose as to whether/how these could be hidden.

Stupid is not a general statement about the glossary function or its presentation, but a subjective aesthetic feeling.

XWiki and the developers work is adoreble. Thank you all!

Regards

Roland

Thx for the explanation.

You may also be interested by Loading...

I wonder if Loading... is good enough or if we should automatically not create glossary links in some places like:

  • Headings
  • Table headers

I don’t see the issue with glossary entries in table cells but I can see why you wouldn’t want them in Headings or Table headers.

I’ve created Loading...

Feel free to watch these issues if you want to get notified of changes (but don’t hold your breath, as I don’t know anyone active on the glossary app ATM - but that might come if we decide to use it on xwiki.org ;)).

Thx