mediawiki-extensions-AbuseF.../tests/parserTests/wptest1.t
Marius Hoch 35747761fb Allow running the AbuseFilter parser tests via phpunit
I've also added myself to the credits file as I'm the only
maintainer of this extension for a while now.

Change-Id: Id998172ea2abd70b8243de9db1a96cc2cfa47a64
2013-07-08 19:22:43 +02:00

10 lines
380 B
Raku

/* Filter 30 from English Wikipedia (large deletion from article by new editors) */
user_groups_test := ["*"];
new_size_test := 100;
article_namespace_test := 0;
edit_delta_test := -5000;
added_lines_test := '';
!("autoconfirmed" in user_groups_test) & (new_size_test > 50) & (article_namespace_test == 0) &
(edit_delta_test < -2000) & !("#redirect" in lcase(added_lines_test))