Last modified: 2013-07-24 15:23:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53531, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51531 - Visual Editor: Adding text after a link includes that text in the link
Visual Editor: Adding text after a link includes that text in the link
Status: RESOLVED DUPLICATE of bug 51463
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Inez Korczyński
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-17 12:44 UTC by Chris McKenna
Modified: 2013-07-24 15:23 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McKenna 2013-07-17 12:44:47 UTC
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.
Comment 1 JohnCD67 2013-07-24 15:11:08 UTC
This is quite a serious problem because a user who tries to set up a link at the right hand end of a line, i.e. without having first typed at least one space beyond it, becomes trapped in a mode where all further typing goes inside the link, and there is no easy way out. I think this is what is causing peculiar links, e.g. a link to "Chendo" piped to "Chendo, " and one to "Manolo Sanchís" piped to "Manolo Sanchís and ". See report at

[[:en:WP:VisualEditor/Feedback#You have to type something after a word before attempting to wikilink it]]
Comment 2 James Forrester 2013-07-24 15:23:17 UTC
This is actually the same as bug 51463 which we just fixed and are deploying now. Sorry for the inconvenience.

*** This bug has been marked as a duplicate of bug 51463 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links