https://bugzilla.wikimedia.org/show_bug.cgi?id=51531

       Web browser: ---
            Bug ID: 51531
           Summary: Adding text after a link includes that text in the
                    link
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: i...@wikia-inc.com
          Reporter: cmcke...@sucs.org
                CC: i...@wikia-inc.com, jforres...@wikimedia.org,
                    krinklem...@gmail.com, or...@framezero.com
    Classification: Unclassified
   Mobile Platform: ---

If you place the cursor after the last character of a link and start typing
then your text becomes part of the displayed text for that link: [[Fish]] →
[[Fish|Fish and chips]] rather than the inte.nded [[Fish]] and chips or [[Fish
and chips]] which would be expected from a WYSIWYG editor (even if it isn't
what is wanted).

There is no way to edit part of a link at all, the only way around it is to
unlink the whole phrase and relink the part you want linked.

This is not usually a problem, as you can work around by starting from after
the space after the link.

However, this is counter intuitive if you want to add punctuation after the
link (add it after the space, delete the space, add space after the
punctuation). It also means it is impossible to add unlinked text when the link
ends the line, as happens often on disambiguation pages. For example try adding
context to the links at Mandi#People. Apparently a workaround is to insert a
line break, add the text and then delete the line break. I've not tested this
myself though

It is possible this is the same as bug 50945 but I don't think it is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to