- Create a page with "{{this is}}"
- Edit the page and replace its content by "*THIS IS A BUG ON ABUSE FILTER!":
https://pt.wikibooks.org/wiki/Project:Caixa_de_areia?diff=258499
- Open [[Special:AbuseFilter/test]], which in my case was
https://pt.wikibooks.org/wiki/Special:AbuseFilter/test?uselang=en
- Type ------------------------------------------------------------------------
length(added_lines) <= 2 & contains_any( added_lines, "THIS IS A BUG" )
- Click "Test" and bang! The edit is detected! If it is of any help, here is the link provided to "examine" the edit:
The filter shouldn't detect it, because "added_lines" obviously has a lot more than 2 characters. Nonetheless, if I replace "<= 2" by "== 1" it is still detected.
How can a string of 31 characters have length 1? This is plain wrong...
Version: unspecified
Severity: major
URL: https://pt.wikibooks.org/w/index.php?title=Especial:Filtro_de_abusos/examine/262161&testfilter=length%28added_lines%29+%3C%3D+15+%26+summary+%3D%3D+%22%2ATHIS+IS+A+BUG+ON+ABUSE+FILTER%21%22
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=40478