Last modified: 2013-07-26 00:03:50 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 T54044, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52044 - VisualEditor: only a part of word is linked and <nowiki/> is added
VisualEditor: only a part of word is linked and <nowiki/> is added
Status: RESOLVED WONTFIX
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-25 18:58 UTC by Amir E. Aharoni
Modified: 2013-07-26 00:03 UTC (History)
2 users (show)

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


Attachments

Description Amir E. Aharoni 2013-07-25 18:58:33 UTC
When I select text that ends in the middle of the word and add a link, only the selected part is linked. Also, <nowiki/> is added after the link.

For example, in https://en.wikipedia.org/w/index.php?title=Ramat_Yohanan&diff=565789129&oldid=553919950 I selected "South Africa" and added the link. I saw an AbuseFilter warning when I was saving, but saved anyway to report the bug :)

Being a seasoned Wikipedian, I expect the whole word to be linked, although now that I think of it, I can imagine that linking a part of the word can be useful, too. So I'm not completely sure whether it's a bug or a feature.

This may be related to Bug 50127, though the description is not the same.
Comment 1 James Forrester 2013-07-26 00:03:50 UTC
This is not a 'bug', but intentional behaviour.

If you actually want to produce [[Foo]]ian as opposed to [[Foo|Fooian]], VisualEditor/Parsoid doesn't have a way to guarantee that (right now Parsoid creates piped links even when it could do link trails/heads, but this could change in the future), because it's irrelevant to the reader and to editors.

Consequently I'm marking this as "WONTFIX", but see bug 37939 for a wider discussion of the usability issue.

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


Navigation
Links