Edit filter configuration

Differences between versions

ItemVersion from 18:36, 31 October 2009 by Ruslik0Version from 18:53, 21 February 2010 by Ruslik0
Basic information
Notes:
Per request at [[WP:RAF]], the removal of all categories in an article often implies vandalism.
Per request at [[WP:RAF]], the removal of all categories in an article often implies vandalism.


Fix redirect catcher and exclude large deletions targeted elsewhere. -DF
Fix redirect catcher and exclude large deletions targeted elsewhere. -DF


Setting to warn. Not a single false-positive in the last 100 hits. --Conti
Setting to warn. Not a single false-positive in the last 100 hits. --Conti


Using message MediaWiki:Abusefilter-all-categories-removed - Cenarium
Using message MediaWiki:Abusefilter-all-categories-removed - Cenarium


add tag "categories removed" - Cen
add tag "categories removed" - Cen


I added "stub}}" to the exceptions. - Ruslik
I added "stub}}" to the exceptions. - Ruslik


I added the "{{uncat" - usually if a new user adds this, (s)he is familiar enough to know what (s)he's doing.
I added the "{{uncat" - usually if a new user adds this, (s)he is familiar enough to know what (s)he's doing.


I added lcase to old_wikitext. - Ruslik
I added lcase to old_wikitext. - Ruslik
I changed old_wikitext to removed_lines. This is less resource consuming - Ruslik
I changed old_wikitext to removed_lines. This is less resource consuming - Ruslik


Added the {{db-g10}} template and its commonly used redirect {{db-attack}} to the list of safe strings - in case of severe attacks, the content of the page (including the categories) will be replaced by this template. Od Mishehu
Added the {{db-g10}} template and its commonly used redirect {{db-attack}} to the list of safe strings - in case of severe attacks, the content of the page (including the categories) will be replaced by this template. Od Mishehu


Added disambiguation templates to exceptions. - Ruslik
Added disambiguation templates to exceptions. - Ruslik
Optimization. - Ruslik
Filter conditions
Conditions:
(documentation)
(article_namespace == 0) &
(article_namespace == 0) &
!("autoconfirmed" in user_groups) &
!("autoconfirmed" in user_groups) &
(edit_delta > -2000) &
(edit_delta > -2000) &
(lcase(removed_lines) contains "[[category") &
(lcase(removed_lines) rlike "\[\[\w?category") &
!contains_any(lcase(new_wikitext), "[[category", "#redirect", "stub}}","{{uncat","{{db-attack","{{db-g10","{{disamb","{{dab")
!(lcase(new_wikitext) rlike "\[\[\w?category|#\w?redirect|stub\w?}}|{{\w?uncat|{{\w?db-attack|{{\w?db-g10|{{\w?disamb|{{\w?dab")