User:Superwatery/Sandbox

Successfully tested Abuse Filters that can be freely exported. Give attribution from the import to prevent copyright wiki closure:

General Vandalism

(action == "edit" | action == "submit") & ( (article_namespace == 0 &( (new_size < 50 & old_size > 500) & !(rmwhitespace(removed_lines) rlike ".*==.span.+.Welcome(tothewiki|)(!|)..span.==.*") & (!("sysop" in user_groups) & !("rollback" in user_groups))
 * article_namespace == 1
 * article_namespace == 2
 * article_namespace == 3
 * article_namespace == 4
 * article_namespace == 5
 * article_namespace == 6
 * article_namespace == 7
 * article_namespace == 8
 * article_namespace == 9
 * article_namespace == 10
 * article_namespace == 11
 * article_namespace == 12
 * article_namespace == 13
 * article_namespace == 14
 * article_namespace == 15
 * article_namespace == 111
 * article_namespace == 113))
 * edit_delta <= -500)

Spamming about company

old_size==0 & user_age==0 & article_namespace rlike "^(0|2)$" & contains_any(lcase(added_lines), "your bankruptcy filing", "bad credit car", "secure your rights", "planning your retirement", "your company provides", "receive even more information", "check out our web-page", "check out our webpage", "in making your web", "raise your positioning", "your main keywords", "your household", "your financial", "your client")

Preventing editing in someone else's userpage !("sysop" in user_groups | "content-moderators" in user_groups | "bureaucrat" in user_groups ) & article_namespace == 2 & action="edit" & article_text != user_name & strpos(article_text, user_name + "/") != 0