While testing T168736 at /examine I noticed that
'x' in added_lines & length( added_lines ) === 1 & added_lines rlike '^x$'
matches this test edit (where I replaced a line having a 'c' by a line having an 'x'). However,
added_lines == 'x'
does not match the edit. As far as I can see, it should match.
Also, when I type wgAbuseFilterVariables.added_lines in the JavaScript console I get:
Array [ "x" ]
So, I assume it is an array, but when I try (in /examine, not in the console)
added_lines == ['x']
it does not match, even though
added_lines in ['x'] & ['x'] in added_lines
matches.
I would really like to know (and document) what exactly is added_lines triple-equals to