https://bugzilla.wikimedia.org/show_bug.cgi?id=54332
Web browser: ---
Bug ID: 54332
Summary: VisualEditor: Inserting any text before a link-final
non-alphanumeric character splits link
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ContentEditable
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Following on from the reports at bug 51142 comments 5-9
In every case where the last character of a link is non-alphanumeric and any
text is inserted before that character. It seems that the underscore behaves as
an alphanumeric character, and that script is irrelevant. It doesn't matter if
the link was added in the current editing session or not.
e.g. [[Link|Link.]] → [[Link]]<nowiki />s[[Link|.]]
but [[Links]] → [[Linkers]] (this is the expected behaviour for all situations)
See
https://en.wikipedia.org/w/index.php?title=User%3AThryduulf%2Fsandbox3&diff=573654600&oldid=573653290
If due to this a non-alphanumeric character that was previously mid-link but
now becomes the last character of the link, adding any character before it
triggers the bug again.
See
https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox3&diff=573655981&oldid=573654600
In VE it is easy to include trailing punctuation (particularly commas and full
stops) in a link without realising it (this is a side-effect of the WYSIWYG),
meaning this occurs more often than might be expected (see comments at bug
51142).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l