Abuse filter management

From Test Wiki
Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)

Differences between versions

ItemVersion from 04:10, 20 February 2025 by TesterVersion from 20:03, 17 March 2025 by Codename Noreste
Basic information

Description:

(publicly viewable)
Prevent users from editing others' user pages
Prevent other users from editing others' user pages
Notes:
Imported from https://en.wikipedia.org/wiki/Special:AbuseFilter/803, but some changes are as they follow:
Imported from https://en.wikipedia.org/wiki/Special:AbuseFilter/803, but some changes are as they follow:


* Anonymous and non-confirmed users may not edit user pages; confirmed users and sysops can edit said pages.
* Anonymous and non-confirmed users may not edit user pages; confirmed users and sysops can edit said pages.
* For the users in these latter groups, they may not add the template {{unlocked userpage}} on another user's user page; it may only be done by the user themselves or a steward.
* For the users in these latter groups, they may not add the template {{unlocked userpage}} on another user's user page; it may only be done by the user themselves or a steward.
* No User:Sandbox user exists, so it was removed. --64andtim 18:56 29 Jan 2024
* No User:Sandbox user exists, so it was removed. --64andtim 18:56 29 Jan 2024
Change confirmed to autopatrolled, as confirmed is a test group. -Justa
Change confirmed to autopatrolled, as confirmed is a test group. -Justa
Exempt bots -Justa
Exempt bots -Justa


Disallow message is renamed to "MediaWiki:Abusefilter-disallowed-userpage". -- Codename Noreste, June 8 2024
Disallow message is renamed to "MediaWiki:Abusefilter-disallowed-userpage". -- Codename Noreste, June 8 2024
Modified the user_groups condition on line 19 that will only allow the user page owner and users in the steward user group to remove or add the {{unlocked userpage}} template on user pages. --Codename Noreste 20:03 17 Mar 2025
Filter conditions
Conditions:
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}}";
 
   
     (
     (
         !contains_any(user_groups, "autopatrol", "sysop", "bot") &
         !contains_any(user_groups, "autopatrol", "sysop", "bot") &
         !(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)
             )
             )
         ) &
         ) &
         !("steward" in user_groups)
         !(user_groups rlike "\bsteward\b")
     )
     )
)
)