Jump to content

User:1AmNobody24/Projectspace Redirect blanking

From Wikipedia, the free encyclopedia
redirect := "^#\s*redirect\s*\[\[|\{\{soft}|\{\{softs*r|\{\{softr";
break := "wikitable";
rcat := "\{\{r\s*";

equals_to_any(page_namespace, 4, 5, 12, 13) &
!("confirmed" in user_groups) &
(
    (
        removed_lines irlike redirect |
        (
            old_wikitext irlike "^#\s*redirect\s*\[\[|\{\{soft}|\{\{softs*r|\{\{softr" &
            (
                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") &
old_size <=400 &
!(user_name in removed_lines) &
!(summary irlike "^(?:undid|rv[vt]?|revert)") &
page_first_contributor != user_name