Dokuwiki: Entering acronym with parentheses changes acronym replacement to substring replacement

Created on 22 Jul 2016  路  4Comments  路  Source: splitbrain/dokuwiki

Found in "Detritus"
When entering an acronym into the acronyms.local.conf that has parentheses in it, e.g. the following nonsense line
G(4) Test
this leads to the acronym matching in pages to turn from full word to substring matching.

That means that for example every word containing the substring spec gets the "specification" tool tip: respectively, especially, special, ...

For "Elenor of Tsort" I found this partially fixed, here the substring matching happens only at the beginning of the string (i.e. only the word special from the previous list gets the tool tip)

Besides the acronym with parentheses does not get a tool tip.
Probably easiest would be to mention in the documentation that parentheses should not be used in the acronyms.

Bug Needs Research

All 4 comments

by definition an acronym is a word, it would never contain punctuation

Parentheses might not work as punctuation in an acronym, see for example the acronym for "International Information Systems Security Certification Consortium" as stated in https://en.wikipedia.org/wiki/Acronym

@swiehr that construct does not conform to the definition of a word (https://en.wikipedia.org/wiki/Word)

Let's not get hung up on definitions. The current behaviour seems wrong to be and should probably be fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michitux picture michitux  路  5Comments

schplurtz picture schplurtz  路  6Comments

BenoitPoulet picture BenoitPoulet  路  3Comments

rojenzaman picture rojenzaman  路  4Comments

splitbrain picture splitbrain  路  4Comments