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
7 lines
167 B
Perl
7 lines
167 B
Perl
test_array := [ [1, 2], [3, 4] ];
|
|
|
|
test_array[1] := 42;
|
|
test_array[] := 17;
|
|
|
|
test_array[0][0] == 1 & test_array[0][1] == 2 & test_array[1] == 42 & test_array[2] == 17
|