Parsoid: Links created with VE are piped links even when linktrail could be used
Open, LowPublic

Description

Currently the VisualEditor linkes like this: [[Glas|Glases]]
The German-language Wikipedia prefers this though: [[Glas]]es


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51438
https://bugzilla.wikimedia.org/show_bug.cgi?id=49940
https://bugzilla.wikimedia.org/show_bug.cgi?id=52240

Details

Security
None
Reference
bz48463
bzimport set Reference to bz48463.

Parsoid issue, moving to Parsoid.

Would like some input from James as to what he believes the behavior should be (piped links always? linktrails where possible? configurable either way?).

(In reply to comment #1)

Parsoid issue, moving to Parsoid.

Would like some input from James as to what he believes the behavior should
be (piped links always? linktrails where possible? configurable either way?).

Canonically, linktrails should be preferred where possible (so, whenever a case-sensitive substring; except when on a $wgCapitalLinks=true, where it's a tad more complicated). I believe that linkheads should also be preferred where possible for the languages for which that applies.

[Parsoid component reorg by merging JS/General and General. See bug 50685 for more information. Filter bugmail on this comment. parsoidreorg20130704]

See also Change-Id: I78c8fc87be1777f63c84f8945ead1cc54161fb76

Arlolra removed GWicke as the assignee of this task.Nov 25 2014, 8:10 PM
Arlolra set Security to None.
Elitre added a subscriber: Elitre.Mar 21 2016, 3:46 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 21 2016, 3:46 PM

Add Comment