Page MenuHomePhabricator

$linkTrail for Bengali
Closed, ResolvedPublic

Description

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

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

Event Timeline

NahidSultan updated the task description. (Show Details)
NahidSultan subscribed.
MarcoAurelio subscribed.

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

@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