Edit filter configuration

Jump to navigation Jump to search

Differences between versions

ItemVersion from 14:38, 14 April 2021 by ChristopherVersion from 15:34, 11 December 2022 by Christopher
Basic information
Notes:
 
Importing a filter from TOW, could it be merged with the regular blanking filter? - Christopher
 
Importing a filter from TOW, could it be merged with the regular blanking filter? - Christopher
  
 
11 Apr 2021: temporarily disabling, reenable when site has been updated
 
11 Apr 2021: temporarily disabling, reenable when site has been updated
 +
 +
11/12/22 Chris: article_namespace -> page_namespace
Filter conditions
Conditions:
 
!"autopatrolled" in user_groups & ! "sysop" in user_groups &
 
!"autopatrolled" in user_groups & ! "sysop" in user_groups &
 
(
 
(
 
   length(added_lines) < 1 &
 
   length(added_lines) < 1 &
 
   (
 
   (
     article_namespace == 0 &
+
     page_namespace == 0 &
 
     (
 
     (
 
       (
 
       (
 
         rmwhitespace(removed_lines) rlike "==\w+==" &
 
         rmwhitespace(removed_lines) rlike "==\w+==" &
 
         (
 
         (
 
           rmwhitespace(old_wikitext) contains rmwhitespace(removed_lines + "==") &
 
           rmwhitespace(old_wikitext) contains rmwhitespace(removed_lines + "==") &
 
           ! rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + "==")             
 
           ! rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + "==")             
 
         )
 
         )
 
       ) |  
 
       ) |  
 
       (
 
       (
 
         rmwhitespace(old_wikitext) contains rmwhitespace("==" + removed_lines + "==") &
 
         rmwhitespace(old_wikitext) contains rmwhitespace("==" + removed_lines + "==") &
 
         ! rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + "==")
 
         ! rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + "==")
 
       )
 
       )
 
     )
 
     )
 
   )
 
   )
 
)
 
)