Please add following Regular expression $linkTrail for Bengali: (MessagesBn.php)
$linkTrail = '/^([অআইঈউঊঋএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহড়ঢ়য়ৎংঃঁািীুূৃেৈোৌৰৱ]+)(.*)$/sD';
Please add following Regular expression $linkTrail for Bengali: (MessagesBn.php)
$linkTrail = '/^([অআইঈউঊঋএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহড়ঢ়য়ৎংঃঁািীুূৃেৈোৌৰৱ]+)(.*)$/sD';
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add $linkTrail for Bengali (bn) | mediawiki/core | master | +2 -0 |
Change 323687 had a related patch set uploaded (by MarcoAurelio):
$linktrail for Bengali (bn)
@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
I tested here: http://wiki.rcbarta.com/index.php?title=ব্যবহারকারী:আফতাবুজ্জামান/খেলাঘর&action=edit (custom wiki).