mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-19 00:51:02 +00:00
c75bc35f7d
Arrays were introduced with the name "lists". While it **may** look user-friendlier and so on, it actually uses a wrong name: lists are different from arrays. I ran a grep and I should've replaced every occurrence, plus everything seems to work, however a double check wouldn't be bad. Change-Id: I6a858f02f5dd9250ba7e1abf9c6422fd98758c9e
15 lines
337 B
Raku
15 lines
337 B
Raku
a := [1, 2, 3];
|
|
b := [1, 2, 3];
|
|
c := [2, 3, 4];
|
|
d := [1, 2, 3, 4];
|
|
e := ['1', '2', '3'];
|
|
f := [[['1']]];
|
|
g := [[[1]]];
|
|
h := [[1, 2], 3];
|
|
i := [['1', 2], '3'];
|
|
j := [1];
|
|
k := ['1'];
|
|
l := [];
|
|
|
|
a == b & a === b & a != c & b != d & a == e & a !== e & f == g & f !== g & h == i & h !== i & e != i & j != 1 & k != '1' & l == false & l == null
|