Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Categories
Random page
Top Contributors
Recent changes
Contribute
Create a page
How to help
Wiki policy
Adapt videos to articles
Articles in need of work
Help
Frequently asked questions
Join the discord!
Help about MediaWiki
Consumer_Action_Taskforce
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Viewing abuse filter 1: Prevent users from posting one or more URL links in the User talk namespace (discussion tabs).
Help
Home
Recent filter changes
Examine past edits
Abuse log
English
Tools
Tools
move to sidebar
hide
Actions
General
Special pages
Printable version
Appearance
move to sidebar
hide
Editing filter 1
Filter parameters
Filter ID:
1
Description:
(publicly viewable)
Statistics:
Of the last 28 actions, this filter has matched 0 (0%). On average, its run time is 0.73 ms, and it consumes 3.6 conditions of the condition limit.
Conditions:
/* Block users with less than 50 edits from posting URLs in their own user talk namespace, except for trusted users in specific groups */ /* First check if the user is NOT in any trusted groups */ !( 'bot' in user_groups | 'sysop' in user_groups | 'autoconfirmed' in user_groups ) /* AND check all the following conditions: */ & ( /* Check if we're in user namespace (namespace 3) */ page_namespace == 3 & /* Check if any URLs/links are being added */ added_links > 0 & /* Check if user has made less than 50 edits */ user_editcount < 50 )
Notes:
NOTES SECTION: WHAT THE RULE DOES: This rule controls who can add links in user pages (not user talk pages) It checks three things: Is the editor a trusted user (bot, sysop, or autoconfirmed)? Are they editing a user page? Do they have less than 50 edits? 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 Trusted users can add links freely regardless of their edit count HOW IT WORKS: 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: The edit is happening in the user namespace (namespace 3) The edit adds at least one link The editor has made less than 50 edits 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 HOW TO EDIT THE RULE: TO CHANGE WHICH GROUPS ARE TRUSTED: Look in the first section between !( and ) Find the lines with 'bot', 'sysop', and 'autoconfirmed' Each group must be in single quotes like 'groupname' Groups are separated by the | symbol To add a new trusted group, add a new line like: 'newgroupname' in user_groups | The last group should not have a | after it Example to add 'moderator': 'moderator' in user_groups TO CHANGE WHICH PAGES ARE AFFECTED: Find: page_namespace == 3 The number 3 means user pages You can use these numbers instead: 0 = main/article pages 1 = talk pages 2 = user talk pages 3 = user pages 4 = project pages TO CHANGE THE MINIMUM EDIT COUNT: Find: user_editcount < 50 Change 50 to any number you want Examples: user_editcount < 100 (less than 100 edits) user_editcount <= 75 (75 or fewer edits) user_editcount > 25 (more than 25 edits) user_editcount >= 40 (40 or more edits) user_editcount == 60 (exactly 60 edits) TO CHANGE THE LINK LIMIT: Find: added_links > 0 Change 0 to any number Examples: added_links > 3 (more than 3 links) added_links == 1 (exactly 1 link) added_links >= 5 (5 or more links) IMPORTANT SYMBOLS: ! = not (reverses what comes after it) & = and (both conditions must be true) | = or (either condition can be true) == = equals exactly = greater than = = greater than or equal to < = less than <= = 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.
Flags:
Hide details of this filter from public view
Enable this filter
I understand that details of this filter will be hidden from users who cannot see [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:AbuseFilter/Rules_format#Protected_variables protected variables]
Mark as deleted
Filter last modified:
05:18, 14 January 2025
by
Louis
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"/* Block users with less than 50 edits from posting URLs in their own user talk namespace,\r\n except for trusted users in specific groups */\r\n\r\n/* First check if the user is NOT in any trusted groups */\r\n!(\r\n 'bot' in user_groups |\r\n 'sysop' in user_groups |\r\n 'autoconfirmed' in user_groups\r\n)\r\n/* AND check all the following conditions: */\r\n\u0026 (\r\n /* Check if we're in user namespace (namespace 3) */\r\n page_namespace == 3 \u0026\r\n \r\n /* Check if any URLs/links are being added */\r\n added_links \u003E 0 \u0026\r\n \r\n /* Check if user has made less than 50 edits */\r\n user_editcount \u003C 50\r\n)","name":"Prevent users from posting one or more URL links in the User talk namespace (discussion tabs).","comments":"NOTES SECTION:\r\nWHAT THE RULE DOES:\r\n\r\nThis rule controls who can add links in user pages (not user talk pages)\r\nIt checks three things:\r\n\r\nIs the editor a trusted user (bot, sysop, or autoconfirmed)?\r\nAre they editing a user page?\r\nDo they have less than 50 edits?\r\n\r\n\r\nIt only applies to users who are NOT in the trusted groups\r\nFor those users, it triggers if they try to add links to a user page while having less than 50 edits\r\nTrusted users can add links freely regardless of their edit count\r\n\r\nHOW IT WORKS:\r\n\r\nFirst, it checks if the editor is NOT in any trusted groups (using the ! symbol)\r\nThen it checks three conditions that ALL must be true:\r\n\r\nThe edit is happening in the user namespace (namespace 3)\r\nThe edit adds at least one link\r\nThe editor has made less than 50 edits\r\n\r\n\r\nIf ALL these conditions are true, the rule triggers\r\nIf ANY condition is false (including being in a trusted group), the rule doesn't trigger\r\n\r\nHOW TO EDIT THE RULE:\r\nTO CHANGE WHICH GROUPS ARE TRUSTED:\r\n\r\nLook in the first section between !( and )\r\nFind the lines with 'bot', 'sysop', and 'autoconfirmed'\r\nEach group must be in single quotes like 'groupname'\r\nGroups are separated by the | symbol\r\nTo add a new trusted group, add a new line like:\r\n'newgroupname' in user_groups |\r\nThe last group should not have a | after it\r\nExample to add 'moderator': 'moderator' in user_groups\r\n\r\nTO CHANGE WHICH PAGES ARE AFFECTED:\r\n\r\nFind: page_namespace == 3\r\nThe number 3 means user pages\r\nYou can use these numbers instead:\r\n0 = main/article pages\r\n1 = talk pages\r\n2 = user talk pages\r\n3 = user pages\r\n4 = project pages\r\n\r\nTO CHANGE THE MINIMUM EDIT COUNT:\r\n\r\nFind: user_editcount \u003C 50\r\nChange 50 to any number you want\r\nExamples:\r\nuser_editcount \u003C 100 (less than 100 edits)\r\nuser_editcount \u003C= 75 (75 or fewer edits)\r\nuser_editcount \u003E 25 (more than 25 edits)\r\nuser_editcount \u003E= 40 (40 or more edits)\r\nuser_editcount == 60 (exactly 60 edits)\r\n\r\nTO CHANGE THE LINK LIMIT:\r\n\r\nFind: added_links \u003E 0\r\nChange 0 to any number\r\nExamples:\r\nadded_links \u003E 3 (more than 3 links)\r\nadded_links == 1 (exactly 1 link)\r\nadded_links \u003E= 5 (5 or more links)\r\n\r\nIMPORTANT SYMBOLS:\r\n! = not (reverses what comes after it)\r\n\u0026 = and (both conditions must be true)\r\n| = or (either condition can be true)\r\n== = equals exactly\r\n\r\n= greater than\r\n= = greater than or equal to\r\n\u003C = less than\r\n\u003C= = less than or equal to\r\n\r\nRemember: The \u0026 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.","group":"default","actions":{"blockautopromote":[],"disallow":["suspicious URLs detected on talk page"]},"enabled":true,"deleted":false,"privacylevel":0,"global":false},"actions":{"blockautopromote":[],"disallow":["suspicious URLs detected on talk page"]}}
Actions to take when matched
Trigger actions only if the user trips a rate limit
Number of actions to allow:
Period of time (in seconds):
Group throttle by:
user
See
the documentation on mediawiki.org
.
Trigger these actions after giving the user a warning
System message to use for warning:
abusefilter-warning
Other message
Page name of other message:
(without "MediaWiki:" prefix)
Show/Hide preview of selected message
Prevent the user from performing the action in question
System message to use for disallowing:
abusefilter-disallowed
Other message
Page name of other message:
(without "MediaWiki:" prefix)
Show/Hide preview of selected message
Revoke the user's autoconfirmed status
Block the user and/or IP address from editing
Block the user and/or IP address from editing their own talk page
Block duration for non-registered users:
2 hours
1 day
3 days
1 week
2 weeks
1 month
3 months
6 months
1 year
indefinite
Block duration for registered users:
2 hours
1 day
3 days
1 week
2 weeks
1 month
3 months
6 months
1 year
indefinite
Remove the user from all privileged groups
Tag the edit for further review
Tags
to apply: