Item14103: INCLUDEs is (not) a Wiki Word
Priority: Low
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
I was surprised to note that FW auto-linked
INCLUDEs as if it's a
WikiWord.
According to
System.WikiWord:
A WikiWord consists of two or more words with initial capitals, run together.
...
Note that
acronyms are also auto-linked, but
only if the topic already exists.
...
Syntax of a WikiWord
- Uppercase letter(s)
- Lowercase letter(s) or numbers(s)
- Uppercase letter(s)
- Optional lowercase or uppercase letter(s) or number(s)
The string INCLUDEs does not
consist of two or more words with initial capitals, run together. It does not meet the Syntax of a WikiWord. It is not an acronym. It is not the name of an existing topic in the Tasks web.
--
VickiBrown - 29 Jun 2016
Seems to be a breakage in the handling of "plural" linking. Plurals of wikiwords are automatically linked to the singular if it exists. However ACRONYM notes:
Unlike WikiWords, plural Acronyms are not automatically linked to the singular topic.
--
GeorgeClark - 30 Jun 2016
Tracking the regular expression backwards,
$regex{abbrevRegex} = qr/[$regex{upperAlpha}]{$abbrevLength,}s?\b/;
matches plural Acronyms (core calls them abbreviations), going all the way back to the initial import from TWiki in 2008.
I think that this is probably more likely a very old documentation bug (Acronyms can be plural) than a core rendering bug.
--
GeorgeClark - 30 Jun 2016
Interesting! (and unexpected, especially given that
INCLUDE is not an acronym and one rarely runs across plural acronyms). But I'll take it.
--
VickiBrown - 30 Jun 2016