Last modified: 2012-07-24 18:10:05 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 T35088, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33088 - VisualEditor: Editing a part of text of a link doesn't work (or this shouldn't be allowed)
VisualEditor: Editing a part of text of a link doesn't work (or this shouldn'...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Rob Moen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-14 11:17 UTC by Liangent
Modified: 2012-07-24 18:10 UTC (History)
4 users (show)

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


Attachments

Description Liangent 2011-12-14 11:17:43 UTC

    
Comment 1 Liangent 2011-12-14 11:21:46 UTC
If I do this, it seems the whole link is treated as a single link pointing to the target of the first part of the link.

In the given sample text, I can select "science" in the first link and edit its target to "dummy" but in generated source, it still says "In [[Computer_science|computer science]]...". If I try to edit link of "science" again, I can still see "dummy".
Comment 2 James Forrester 2012-06-22 22:05:31 UTC
Mass-moving items into VisualEditor product
Comment 3 James Forrester 2012-06-23 01:37:34 UTC
Mass-move out of "General" to "User Interface".
Comment 4 Rob Moen 2012-07-03 21:01:37 UTC
Partly fixed in https://gerrit.wikimedia.org/r/#/c/14108/
Now selects entire annotated range when inspecting existing link.
TODO: need to properly clear link annotations when modifying.
Comment 5 Rob Moen 2012-07-24 18:10:05 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/16529/
Only adjusting selection if a user selects a single link.  If multiple links are selected, we assume that the user's intention is to replace with a single new link.  If that happens, all previous links are cleared and the new link is applied to selected range.

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


Navigation
Links