Page MenuHomePhabricator

Internal links containing umlauts only partly coloured (if created like "[[Maß]]krüge")
Closed, DeclinedPublic

Description

Author: tim.ivorson

Description:
To reproduce
Create a link by double square bracketing part of a word, such that there is an umlaut outside the brackets (eg, [[Maß]]krüge).

Actual result
Although the page text and link destination are as expected, the word containing the link only becomes a link up to (and not including) the umlaut.

Expected result
The whole word should become a link.

Other info
The bug can currently be seen in the image caption in https://en.wikipedia.org/wiki/Litre#Definition


Version: 1.23.0
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:56 AM
bzimport set Reference to bz62998.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for taking the time to report this!

This is a duplicate; I just cannot find the original report...

This is controlled by the regex in $linkTrail in the language files and for english there are only the letters a-z. You can change it to [[Maß|Maßkrüge]] to fix this on a english wiki.
Works as expected.

Change 195439 had a related patch set uploaded (by Rits):
T64998 Internal links containing umlauts working now

https://gerrit.wikimedia.org/r/195439

Change 195439 had a related patch set uploaded (by Rits):
Internal links containing umlauts working now

https://gerrit.wikimedia.org/r/195439

kaldari claimed this task.
kaldari subscribed.

Marking as "Declined" per discussion on Gerrit.

Change 195439 abandoned by Amire80:
Umlauts are displayed fully colored within a internal link.

Reason:
Shouldn't be done for English.

https://gerrit.wikimedia.org/r/195439