Edit filter configuration

Differences between versions

ItemVersion from 05:52, 24 March 2023 by GalobtterVersion from 19:44, 19 December 2023 by Suffusion of Yellow
Basic information
Notes:
Contribution consists only of all-caps, numbers, and punctuation.
Contribution consists only of all-caps, numbers, and punctuation.


> Removed some false positives and limited user contribs --Admiral Norton
> Removed some false positives and limited user contribs --Admiral Norton


More efficient position to check editcount -DF
More efficient position to check editcount -DF


Change editcount to check for autoconfirm, no sense making arbitrary limits.
Change editcount to check for autoconfirm, no sense making arbitrary limits.


rearranging for efficiency - Hersfold
rearranging for efficiency - Hersfold


modifying regex to try for a bit more efficient setup. Old regex is:
modifying regex to try for a bit more efficient setup. Old regex is:
^[A-Z0-9\s\pP]*[A-Z]{5}[A-Z0-9\s\pP]*$ - Nixeagle
^[A-Z0-9\s\pP]*[A-Z]{5}[A-Z0-9\s\pP]*$ - Nixeagle


Would this be better with (added_lines rlike "^#\s*REDIRECT\s*\[\[") ?  - hersfold
Would this be better with (added_lines rlike "^#\s*REDIRECT\s*\[\[") ?  - hersfold


exempted all caps templates - xaosflux
exempted all caps templates - xaosflux


add tag "shouting" - Cen
add tag "shouting" - Cen


Formatting and condition count reduction.  -DF
Formatting and condition count reduction.  -DF
Use a variable to avoid compiling the regex twice.  RF
Use a variable to avoid compiling the regex twice.  RF


Allow anything that looks like a magic word, instead of try to list them all and then remember to update the filter when more are added. Checked against the last 500 hits. --Suffusion of Yellow 22:29 19 Apr 2019
Allow anything that looks like a magic word, instead of try to list them all and then remember to update the filter when more are added. Checked against the last 500 hits. --Suffusion of Yellow 22:29 19 Apr 2019


Fix = / == for conditional [efc918b0] --TNT
Fix = / == for conditional [efc918b0] --TNT


Apply to all namespaces --TNT
Apply to all namespaces --TNT


Fix template exemption regex. --Galobtter 05:50 24 Mar 2023
Fix template exemption regex. --Galobtter 05:50 24 Mar 2023
Exclude sandboxes. --Suffusion of Yellow 19:42 19 Dec 2023
Filter conditions
Conditions:
(documentation)
!("confirmed" in user_groups) &
!("confirmed" in user_groups) &
length(rmwhitespace(added_lines)) > 12 & (
length(rmwhitespace(added_lines)) > 12 & (
     shouting := "^[A-Z0-9\s\pP]*?[A-Z]{5}[A-Z0-9\s\pP]*$";
     shouting := "^[A-Z0-9\s\pP]*?[A-Z]{5}[A-Z0-9\s\pP]*$";


     added_lines rlike shouting &
     added_lines rlike shouting &
     !(removed_lines rlike shouting) &
     !(removed_lines rlike shouting) &
     !(added_lines rlike "#REDIRECT|__[A-Z]+__|^\*|{{[A-Z0-9\s\pP]*?[A-Z]{5}[A-Z0-9\s\pP]*}}")
     !(added_lines rlike "#REDIRECT|__[A-Z]+__|^\*|{{[A-Z0-9\s\pP]*?[A-Z]{5}[A-Z0-9\s\pP]*}}") &
    !(page_title irlike "sandbox")
)
)