Edit filter configuration

Differences between versions

ItemVersion from 14:27, 23 January 2019 by GalobtterVersion from 15:28, 20 May 2022 by TheresNoTime
Basic information
Notes:
New user unfamiliarity with wikitext markup leads to edits like [[Special:Diff/879081201]] ([[Special:AbuseFilter/examine/1122726490]]), which are often not fixed for very long periods of time due to the diff not looking that unconstructive. A filter should be able to catch and eventually tag these edits. -Galo 2019.01.22
New user unfamiliarity with wikitext markup leads to edits like [[Special:Diff/879081201]] ([[Special:AbuseFilter/examine/1122726490]]), which are often not fixed for very long periods of time due to the diff not looking that unconstructive. A filter should be able to catch and eventually tag these edits. -Galo 2019.01.22
Fix = / == for conditional [efc918b0] --TNT
Filter conditions
Conditions:
(documentation)
user_editcount < 50 &  
user_editcount < 50 &  
page_namespace = 0 & (
page_namespace == 0 & (
   stringy := "\|.*=";
   stringy := "\|.*=";
   linkregex := "\[\[[^\n\]]*\]\]";
   linkregex := "\[\[[^\n\]]*\]\]";
   removed_lines rlike stringy & (/* Are they editing a template parameter? */
   removed_lines rlike stringy & (/* Are they editing a template parameter? */
     nlinks := rcount (linkregex, added_lines); /* number of wikilinks */
     nlinks := rcount (linkregex, added_lines); /* number of wikilinks */
     nlinks != count ("[[", added_lines) |
     nlinks != count ("[[", added_lines) |
     nlinks != count ("]]", added_lines)
     nlinks != count ("]]", added_lines)
   )
   )
)
)