Edit filter configuration

Differences between versions

ItemVersion from 23:09, 25 June 2020 by GeneralNotabilityVersion from 12:04, 25 February 2021 by Zzuuzz
Basic information
Notes:
Testing for https://phabricator.wikimedia.org/T149445
Testing for https://phabricator.wikimedia.org/T149445


Enabling with disallow per [[Wikipedia:Requests for comment/Protect user pages by default]] (see also the talk page) ~ MA 2016.11.30
Enabling with disallow per [[Wikipedia:Requests for comment/Protect user pages by default]] (see also the talk page) ~ MA 2016.11.30


Add exception for User:Jimbo_Wales, high-profile page advertised as being open ~MA 2016.11.30
Add exception for User:Jimbo_Wales, high-profile page advertised as being open ~MA 2016.11.30


Skip for User:Sandbox as well ~Xaos 20161203
Skip for User:Sandbox as well ~Xaos 20161203


Noting the implementation to allow users to selectively disable protection for their userpage, which we may add at some point:
Noting the implementation to allow users to selectively disable protection for their userpage, which we may add at some point:
*****
*****
article_namespace == 2 &
article_namespace == 2 &
!('/' in article_text) &
!('/' in article_text) &
article_text != user_name & (
article_text != user_name & (
   template := "{{unlocked userpage}}";
   template := "{{unlocked userpage}}";


   (
   (
     !("confirmed" in user_groups) &
     !("confirmed" in user_groups) &
     !(template in old_wikitext)
     !(template in old_wikitext)
   ) | (
   ) | (
     (
     (
       (
       (
         removed_lines contains template &
         removed_lines contains template &
         !(template in added_lines)
         !(template in added_lines)
       ) | (
       ) | (
         added_lines contains template &
         added_lines contains template &
         !(template in removed_lines)
         !(template in removed_lines)
       )
       )
     ) & !("sysop" in user_groups)
     ) & !("sysop" in user_groups)
   )
   )
)
)
*****
*****
~MA
~MA


Update sandbox page ID - GN 2020-06-25
Update sandbox page ID - GN 2020-06-25
Switch to page name, instead of updating page ID every time it's deleted. --zz
Filter conditions
Conditions:
(documentation)
page_namespace == 2 &
page_namespace == 2 &
!('/' in page_title) &
!('/' in page_title) &
page_title != user_name & (
page_title != user_name & (
     template := "{{unlocked userpage}}";
     template := "{{unlocked userpage}}";


     (
     (
         !("confirmed" in user_groups) &
         !("confirmed" in user_groups) &
         !(template in old_wikitext) &
         !(template in old_wikitext) &
         page_id != 63640560 /** manually exclude User:Sandbox **/
         page_prefixedtitle != 'User:Sandbox' /** manually exclude User:Sandbox **/
     ) | (
     ) | (
         (
         (
             (
             (
                 removed_lines contains template &
                 removed_lines contains template &
                 !(template in added_lines)
                 !(template in added_lines)
             ) | (
             ) | (
                 added_lines contains template &
                 added_lines contains template &
                 !(template in removed_lines)
                 !(template in removed_lines)
             )
             )
         ) &
         ) &
         !("sysop" in user_groups)
         !("sysop" in user_groups)
     )
     )
)
)