User:1AmNobody24/Projectspace Redirect blanking

redirect := "^#\s*redirect\s*\[\[|\{\{soft}|\{\{softs*r|\{\{softr";
break := "wikitable";
rcat := "\{\{r\s*";

equals_to_any(page_namespace, 4, 5, 6, 10, 12, 13, 126) &
!("confirmed" in user_groups) &
old_size <= 400 &
(
    removed_lines irlike redirect |
    (
        old_wikitext irlike redirect &
        (
            added_lines irlike break |
            (
                new_size > old_size &
                !added_lines irlike rcat
            )
        )
    )
) &
!contains_any(lcase(added_lines), "{{subst:rfd", "{{subst:db-", "{{db-", "mfd", "{{historical") &
!(page_title irlike "sandbox") &
!(user_name in removed_lines) &
!(summary irlike "^(?:revert|rv|undid)") &
page_first_contributor != user_name