Jump to content

Abuse filter management

Differences between versions

ItemVersion from 19:44, 10 June 2025 by KeithVersion from 20:13, 10 June 2025 by Keith
Basic information
Notes:
NOTES SECTION:
NOTES SECTION:
WHAT THE RULE DOES:
WHAT THE RULE DOES:


This rule controls who can add links in user pages (not user talk pages)
This rule controls who can add links in user pages (not user talk pages)
It checks three things:
It checks three things:


Is the editor a trusted user (bot, sysop, or autoconfirmed)?
Is the editor a trusted user (bot, sysop, or autoconfirmed)?
Are they editing a user page?
Are they editing a user page?
Do they have less than 50 edits?
Do they have less than 5 edits?




It only applies to users who are NOT in the trusted groups
It only applies to users who are NOT in the trusted groups
For those users, it triggers if they try to add links to a user page while having less than 50 edits
For those users, it triggers if they try to add links to a user page while having less than 50 edits
Trusted users can add links freely regardless of their edit count
Trusted users can add links freely regardless of their edit count


HOW IT WORKS:
HOW IT WORKS:


First, it checks if the editor is NOT in any trusted groups (using the ! symbol)
First, it checks if the editor is NOT in any trusted groups (using the ! symbol)
Then it checks three conditions that ALL must be true:
Then it checks three conditions that ALL must be true:


The edit is happening in the user namespace (namespace 3)
The edit is happening in the user namespace (namespace 3)
The edit adds at least one link
The edit adds at least one link
The editor has made less than 50 edits
The editor has made less than 50 edits




If ALL these conditions are true, the rule triggers
If ALL these conditions are true, the rule triggers
If ANY condition is false (including being in a trusted group), the rule doesn't trigger
If ANY condition is false (including being in a trusted group), the rule doesn't trigger


HOW TO EDIT THE RULE:
HOW TO EDIT THE RULE:
TO CHANGE WHICH GROUPS ARE TRUSTED:
TO CHANGE WHICH GROUPS ARE TRUSTED:


Look in the first section between !( and )
Look in the first section between !( and )
Find the lines with 'bot', 'sysop', and 'autoconfirmed'
Find the lines with 'bot', 'sysop', and 'autoconfirmed'
Each group must be in single quotes like 'groupname'
Each group must be in single quotes like 'groupname'
Groups are separated by the | symbol
Groups are separated by the | symbol
To add a new trusted group, add a new line like:
To add a new trusted group, add a new line like:
'newgroupname' in user_groups |
'newgroupname' in user_groups |
The last group should not have a | after it
The last group should not have a | after it
Example to add 'moderator': 'moderator' in user_groups
Example to add 'moderator': 'moderator' in user_groups


TO CHANGE WHICH PAGES ARE AFFECTED:
TO CHANGE WHICH PAGES ARE AFFECTED:


Find: page_namespace == 3
Find: page_namespace == 3
The number 3 means user pages
The number 3 means user pages
You can use these numbers instead:
You can use these numbers instead:
0 = main/article pages
0 = main/article pages
1 = talk pages
1 = talk pages
2 = user talk pages
2 = user talk pages
3 = user pages
3 = user pages
4 = project pages
4 = project pages


TO CHANGE THE MINIMUM EDIT COUNT:
TO CHANGE THE MINIMUM EDIT COUNT:


Find: user_editcount < 50
Find: user_editcount < 50
Change 50 to any number you want
Change 50 to any number you want
Examples:
Examples:
user_editcount < 100    (less than 100 edits)
user_editcount < 100    (less than 100 edits)
user_editcount <= 75    (75 or fewer edits)
user_editcount <= 75    (75 or fewer edits)
user_editcount > 25    (more than 25 edits)
user_editcount > 25    (more than 25 edits)
user_editcount >= 40    (40 or more edits)
user_editcount >= 40    (40 or more edits)
user_editcount == 60    (exactly 60 edits)
user_editcount == 60    (exactly 60 edits)


TO CHANGE THE LINK LIMIT:
TO CHANGE THE LINK LIMIT:


Find: added_links > 0
Find: added_links > 0
Change 0 to any number
Change 0 to any number
Examples:
Examples:
added_links > 3    (more than 3 links)
added_links > 3    (more than 3 links)
added_links == 1    (exactly 1 link)
added_links == 1    (exactly 1 link)
added_links >= 5    (5 or more links)
added_links >= 5    (5 or more links)


IMPORTANT SYMBOLS:
IMPORTANT SYMBOLS:
! = not (reverses what comes after it)
! = not (reverses what comes after it)
& = and (both conditions must be true)
& = and (both conditions must be true)
| = or (either condition can be true)
| = or (either condition can be true)
== = equals exactly
== = equals exactly


= greater than
= greater than
= = greater than or equal to
= = greater than or equal to
< = less than
< = less than
<= = less than or equal to
<= = less than or equal to


Remember: The & symbol means ALL conditions must be true. The | symbol means ANY condition can be true. When changing values, make sure to keep all the parentheses () in their original places to maintain the rule's structure.
Remember: The & symbol means ALL conditions must be true. The | symbol means ANY condition can be true. When changing values, make sure to keep all the parentheses () in their original places to maintain the rule's structure.