Differences between versions

ItemVersion from 02:00, 15 August 2025 by PharyngealImplosive7Version from 21:45, 18 August 2025 by PharyngealImplosive7
Basic information
Notes:
Creating this filter suggested at WP:EFR tracking the removal of declined AfC templates, addition of the AfC template redirect, and adding a spurious decline template (see [[Special:Diff/1300714900]]. - PI7, 15 July 2025
Creating this filter suggested at WP:EFR tracking the removal of declined AfC templates, addition of the AfC template redirect, and adding a spurious decline template (see [[Special:Diff/1300714900]]. - PI7, 15 July 2025


Exempt user sandboxes - PI7, 18 July 2025
Exempt user sandboxes - PI7, 18 July 2025


Exempt bots - PI7, 19 July 2025
Exempt bots - PI7, 19 July 2025


Split this filter into three -- PI7, 14 August 2025
Split this filter into three -- PI7, 14 August 2025


Exempt editors turning their drafts into redirects -- PI7, 14 August 2025
Exempt editors turning their drafts into redirects -- PI7, 14 August 2025
People are not going to be removing AfC templates when they first create a page -- PI7, 18 Aug 2025
Filter conditions
Conditions:
(documentation)
equals_to_any(page_namespace, 2, 118) &
equals_to_any(page_namespace, 2, 118) &
!contains_any(user_groups, "patroller", "sysop", "bot") &
!contains_any(user_groups, "patroller", "sysop", "bot") &
removed_lines irlike "\{\{afc(?:\ssubmission)?\|d" &
removed_lines irlike "\{\{afc(?:\ssubmission)?\|d" &
!(new_wikitext irlike "\{\{afc(?:\ssubmission)?\|d") &
!(new_wikitext irlike "\{\{afc(?:\ssubmission)?\|d") &
!(
!(
     added_lines rlike "\#REDIRECT \[\[.+\]\]" &
     added_lines rlike "\#REDIRECT \[\[.+\]\]" &
     new_size <= 0.1 * old_size /* Exempt editors turning their drafts into redirects */
     new_size <= 0.1 * old_size /* Exempt editors turning their drafts into redirects */
) &
) &
!(
!(
     page_namespace == 2 &  
     page_namespace == 2 &  
     "sandbox" in page_title &
     "sandbox" in page_title &
     new_size <= 0.1 * old_size /* to make sure the user is replacing the content in their sandbox as well as removing the AfC template */
     new_size <= 0.1 * old_size /* to make sure the user is replacing the content in their sandbox as well as removing the AfC template */
) &
) &
(
user_name == page_first_contributor
    page_id == 0 |
    user_name == page_first_contributor
)