Page MenuHomePhabricator

The abuse filter editor on Commons doesn't handle Thai language strings correctly
Closed, DuplicatePublicBUG REPORT

Description

When entering words like
ความดันสถานะเสื่อมของอิเล็กตรอน (random word)
it is displayed correctly, buf if one moves the cursor through the line it doesn't move char by char but limps. At the end some blanks (or invisible chars, idk) appear, which cannot be removed directly. Perhaps it might be caused by an implementation problem of the vowel handling.

The recently created https://commons.wikimedia.org/wiki/Special:AbuseFilter/315 shows that problem.

Event Timeline

I just found out: Affected is only the syntax-highlighted editor. The simple one works fine.

This isn't really a bug in AbuseFilter, but in the Ace editor that AbuseFilter uses. It's the same editor used for say JavaScript pages, so you could reproduce the same bug there. Unfortunately, the upstream bug report was opened in 2011 and I'm not hopeful that we'll ever see it fixed.