Page MenuHomePhabricator

Add "I" as equivalent of "l"
Open, Needs TriagePublic

Description

I have a global TitleBlacklist entry for my username as .*marcoaurelio.* <newaccountonly|antispoof>. Still today someone managed to create a troll account MarcoAureIio. Testing with https://meta.wikimedia.org/wiki/Special:AbuseFilter/tools resulted as follows:

  • norm('MarcoAureIio') == MARCOAUREIO
  • ccnorm('MarcoAureIio') == MARCOAUREIIO

It looks like I should be added as equivalent of l.

Event Timeline

Restricted Application added a project: User-MarcoAurelio. · View Herald TranscriptMay 14 2018, 4:35 PM
MarcoAurelio triaged this task as Medium priority.May 14 2018, 4:36 PM
MarcoAurelio moved this task from unsorted/backlog to working on on the User-MarcoAurelio board.

Change 433006 had a related patch set uploaded (by MarcoAurelio; owner: MarcoAurelio):
[mediawiki/libs/Equivset@master] [WIP] equivset: equal vertical (|) bar to lowercase el (l)

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

MarcoAurelio updated the task description. (Show Details)May 14 2018, 4:48 PM
This comment was removed by MarcoAurelio.

Change 433006 abandoned by MarcoAurelio:
equivset: add some more confusable characters

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

I have abandoned the patch above because it gives weird results. If I add that l be equivalent to I:

equivset.in
diff --git a/data/equivset.in b/data/equivset.in
index 85e3260..cf4a7c3 100644
--- a/data/equivset.in
+++ b/data/equivset.in
@@ -49,6 +49,7 @@
 6A j => 4A J
 6B k => 4B K
 6C l => 4C L
+6C l => 49 I
 6D m => 4D M
 6E n => 4E N
 6F o => 4F O

the result is:

equivset.json (generated by bin/console generate-equivset)
diff --git a/dist/equivset.json b/dist/equivset.json
index bbe9915..47fb039 100644
--- a/dist/equivset.json
+++ b/dist/equivset.json
@@ -25,7 +25,7 @@
     "i": "I",
     "j": "J",
     "k": "K",
-    "l": "L",
+    "l": "I",
     "m": "M",
     "n": "N",
     "o": "O",
@@ -184,11 +184,11 @@
     "Ƒ": "F",
     "ƒ": "F",
     "Ɠ": "G",
-    "Ɩ": "L",
-    "Ɨ": "L",
+    "Ɩ": "I",
+    "Ɨ": "I",
     "Ƙ": "K",
     "ƙ": "K",
-    "ƚ": "L",
+    "ƚ": "I",
     "Ɲ": "N",
     "ơ": "Ơ",
     "Ƥ": "P",
@@ -932,7 +932,7 @@
     "₩": "W",
     "₷": "S",
     "₸": "T",
-    "ℓ": "L",
+    "ℓ": "I",
     "℧": "U",
     "ⅆ": "D",
     "ⅼ": "L",
@@ -5449,7 +5449,7 @@
     "i": "I",
     "j": "J",
     "k": "K",
-    "l": "L",
+    "l": "I",
     "m": "M",
     "n": "N",
     "o": "O",

which means that confusable l characters will now stop being treated as l to be treated as I and we don't want that.

MarcoAurelio removed MarcoAurelio as the assignee of this task.Jun 27 2018, 11:38 AM
MarcoAurelio raised the priority of this task from Medium to Needs Triage.
MarcoAurelio added a comment.EditedJun 29 2018, 12:44 PM

Further:

I -> lL
! -> iI

if you please, thanks.

nb.- lL and iI means here l and L and I and i.

Vvjjkkii renamed this task from Add "I" as equivalent of "l" to t9caaaaaaa.Jul 1 2018, 1:10 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: gerritbot, MarcoAurelio.
CommunityTechBot renamed this task from t9caaaaaaa to Add "I" as equivalent of "l".Jul 1 2018, 8:06 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
Nirmos added a subscriber: Nirmos.Jan 9 2020, 6:26 AM