Edit filter configuration

Jump to navigation Jump to search

Differences between versions

ItemVersion from 12:48, 31 October 2012 by Peter HarrisonVersion from 07:40, 18 June 2019 by Peter Harrison
Basic information
Notes:
The removal of all categories in an article often implies vandalism.
The removal of all categories in an article often implies vandalism.
18/6 Reformat conditions
Filter conditions
Conditions:
(documentation)
article_namespace == 0 &
!"confirmed" in user_groups &
!"autoconfirmed" in user_groups &
(
edit_delta > -2000 &
  article_namespace == 0 &  
lcase(removed_lines) rlike "\[\[\w?category" &
  (
!lcase(new_wikitext) rlike "\[\[\w?category|#\w?redirect|stub\w?}}|{{\w?uncat|{{\w?db-attack|{{\w?db-g10|{{\w?disamb|{{\w?dab|{{\w?wi"
    edit_delta > -2000 &
    (
      removed_lines irlike "\[\[\w?category" &
      ! new_wikitext irlike "\[\[\w?category|#\w?redirect|stub\w?}}|{{\w?uncat|{{\w?db-attack|{{\w?db-g10|{{\w?disamb|{{\w?dab|{{\w?wi"
    )
  )
)