Page MenuHomePhabricator

linktrail for ltwiki does not include ąčęėįšųūž
Closed, ResolvedPublic

Description

There is a problem with wiki syntax rendering in Lithuanian Wikipedia.

For example, the source code [[Charizma]]tiškas žmogus (=charismatic person; no space after square brackets) renders as Charizmatiškas žmogus. The text in bold is a internal link to the article "Charizma" but the rest of word "Charizmatiškas", starting with Lithuanian letter "š", is a regular text.

Here is a link to a sandbox where more examples with comments are shown: https://test2.wikipedia.org/w/index.php?title=User:Durininkas/sandbox&oldid=288444
As the examples show, on different wikis foreign language's letters are treated as other (=non-native-lowercase-letter && non-Latin-lowercase-letter) characters, which are never attached to wikilinks after square brackets, so Lithuanian letters (see below) are needed to be "added" to the alphabet (locally).

How should it be? [[Article in Lithuanian Wikipedia]]ąčęėįšųūžArticle in Lithuanian Wikipediaąčęėįšųūž (whole text in bold is an internal link directing to the article named "Article in Lithuanian Wikipedia");
[[Charizma]]tiškas žmogusCharizmatiškas žmogus; etc.

Why is this feature needed? It makes source code readable more easily.

Lithuanian lowercase letters:
ą, č, ę, ė, į, š, ų, ū, ž.

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 21 2016, 1:20 PM
Bawolff renamed this task from Lithuanian letters are treated as special (other) symbols right after internal wikilink's double square brackets in lt.wiki to linktrail for ltwiki does not include ąčęėįšųūž.Jun 21 2016, 1:25 PM
Bawolff added a subscriber: Bawolff.

Anyone know if $linkTrail can be changed at translatewiki, or does this need a commit to MW?

Looks like you can't do it at translatewiki.

Change 295342 had a related patch set uploaded (by Brian Wolff):
Add ą, č, ę, ė, į, š, ų, ū, ž to linkTrail for lt language

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

Change 295342 merged by jenkins-bot:
Add ą, č, ę, ė, į, š, ų, ū, ž to linkTrail for lt language

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

Bawolff closed this task as Resolved.Jun 23 2016, 4:00 AM
Bawolff claimed this task.

This should go live next week. (May take up to 30 days for change to apply to old pages, but should start applying to new edits next thursday)