Page MenuHomePhabricator

Extension of internal links to the rest of a word does not work after the occurence of a non-ASCII character
Closed, ResolvedPublic

Description

Author: brandizzi

Description:
When I create a link with letters attached to its end (for example [[cinema]]s), the final letters also become links. However, if one of these letters is not ASCII, the link is interrupted. In other words, the "[[cinema]]s" link would become [[cinema|cinemas]] but a "[[cinema]]tográfico" link become [[cinema|cinematogr]] with a non-link "áfico" at end. The bug URL has an example I created at Portuguese wikipedia.


Version: unspecified
Severity: normal
URL: http://pt.wikipedia.org/wiki/Usu%C3%A1rio:Brandizzi/Bug_with_plurals_et_al.

Details

Reference
bz21168

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:46 PM
bzimport set Reference to bz21168.

Adding of a linktrail for 'pt' needed.

Curently portuguese doens't have a link trail configured (the characters which should become part of the link when placed beside it).
Adam, can you provide the list of characters that should have such behavior?
Other than [a-z], is it áâãàéêíóôõúç ?

brandizzi wrote:

(In reply to comment #2)

Curently portuguese doens't have a link trail configured (the characters which
should become part of the link when placed beside it).
Adam, can you provide the list of characters that should have such behavior?
Other than [a-z], is it áâãàéêíóôõúç ?

Exatly! Plus, I would recommend ü: this character was revoked by the [[Portuguese Language Orthographic Agreement of 1990]], but the agreement is not in effect in all lusophone countries.

Linktrail added with r57882.