Page MenuHomePhabricator

Instead '\.', '.' is replace by danda
Closed, ResolvedPublic

Description

On mr.wikipedia.org and mr.wikisource.org, when user types '.' it is replaced by danda. According to code in file ext.narayam.rules.mr.js

<snip>
['\\.', '', '।'], // Danda
</snip>

'\.' should be replaced by danda and not '.'.


Version: unspecified
Severity: normal

Details

Reference
bz34596

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:18 AM
bzimport set Reference to bz34596.

If the user type \ followed by ., then it should be replace by danda.

Probable solution:

<code>
['\\\\.', '', '।'], // Danda
</code>

Till the correct regex starts working properly, disable the danda character. '.' is more frequently used than danda.

Fixed in r112186. Please verify and confirm by testing using translatewiki.net

(In reply to comment #3)

Fixed in r112186. Please verify and confirm by testing using translatewiki.net

Verified. Working for dot and danda on translatewiki.net.