Page MenuHomePhabricator

link dialog doesn't truncate a redundant space
Closed, ResolvedPublic

Description

In Monobook if the user selects some text in the end of which there is whitespace and presses the link button, the final ]] go before the space, which makes sense. The space can be selected, because many browsers selecting not just by letter, but by word, and it often includes the space after the word.

In Vector, this space is by default included in the link, which is probably not needed.

A simple example:

Monobook: select "Barack Obama "; press the link button; result: "[[Barack Obama]] ".

Vector: select "Barack Obama "; press the link button; press "Insert link" without changing anything else; result: "[[Barack Obama ]]".


Version: unspecified
Severity: enhancement

Details

Reference
bz23224

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:07 PM
bzimport set Reference to bz23224.

I don't know when was it fixed, but it doesn't seem to happen any more. Thanks to whoever did it. Marking FIXED.