Steps to replicate the issue (include links if applicable):
Load https://www.wikidata.org/w/index.php?title=Q328&oldid=1641316510&uselang=en
What happens?:
The alias line looks like
ENWP | English-language Wikipedia | Wikipedia in English | Wikipedia (en) | enwiki | en.wikipedia.org | en.wp | en.Wikipedia | enwp | en wiki | English wikipedia | enwikipedia
Line wraps are only at the spaces inside of the aliases like
ENWP | English-language Wikipedia | Wikipedia in English | Wikipedia
(en) | enwiki | en.wikipedia.org | en.wp | en.Wikipedia | enwp | en wiki | English wikipedia | enwikipedia
and never at the separation bars (|).
On a select with a double click (word select) neighbor aliases are also selected. The selection contains the aliases without any separators.
On a select with a triple click (line select) all aliases get selected. The selection contains the aliases without any separators like:
ENWPEnglish-language WikipediaWikipedia in EnglishWikipedia (en)enwikien.wikipedia.orgen.wpen.Wikipediaenwpen wikiEnglish wikipediaenwikipedia
What should have happened instead?:
Wrapping should happen on separation bars (|).
A double click (word select) should select a word inside of an alias.
A triple click (line select) should select whole single alias.