https://bugzilla.wikimedia.org/show_bug.cgi?id=49985
Web browser: ---
Bug ID: 49985
Summary: Changing capitalization of a link results in mangled
wikitext
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: ---
Steps to reproduce:
1. Insert the cursor immediately after the first letter of a link
2. Hit delete/backspace
3. Type a new character
4. The new character isn't part of the link, so select the entire word and
click the link button
5. Re-enter the link article
6. Save your changes
Expected result:
If you started with "[[Porcupine]]", you should end up with "[[porcupine]]".
Actual result:
If you started with "[[Porcupine]]", you end up with
"[[porcupine|p]][[Porcupine|orcupine]]".
This is just a common use case demonstrating a more general bug. Namely, if you
create a new link that subsumes an existing link, the existing link is
preserved within the new link instead of being replaced.
--
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