Page MenuHomePhabricator

$linkTrail for Bengali
Closed, ResolvedPublic

Description

Please add following Regular expression $linkTrail for Bengali: (MessagesBn.php)

$linkTrail = '/^([অআইঈউঊঋএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহড়ঢ়য়ৎংঃঁািীুূৃেৈোৌৰৱ]+)(.*)$/sD';

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 19 2016, 3:16 PM
NahidSultan triaged this task as Normal priority.Nov 19 2016, 3:20 PM
NahidSultan updated the task description. (Show Details)
NahidSultan added a subscriber: NahidSultan.
Aftabuzzaman updated the task description. (Show Details)Nov 19 2016, 4:29 PM
Aftabuzzaman updated the task description. (Show Details)Nov 19 2016, 4:32 PM
MarcoAurelio added a subscriber: MarcoAurelio.

I'll work on a patch for this one.

Change 323687 had a related patch set uploaded (by MarcoAurelio):
$linktrail for Bengali (bn)

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

This comment was removed by Aftabuzzaman.

@MarcoAurelio please replace previous code with this:

$linkTrail = "/^([\x{0980}-\x{09FF}]+)(.*)$/sDu";

This includes, all the characters listed in Unicode version 9.0 except Generic punctuation (dahri
and double dahri in Bangla which are 09E4 and 09E5 (both are reserved see: http://www.unicode.org/charts/PDF/U0980.pdf).

see also: T38966#410610

Change 323687 merged by jenkins-bot:
Add $linkTrail for Bengali (bn)

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

MarcoAurelio closed this task as Resolved.Nov 28 2016, 12:06 PM