Bharatpedia
Login
Viewing abuse filter 44: Removal of article lead
Filter parameters
Filter ID:
44
Description:
(publicly viewable)
Conditions:
!"confirmed" in user_groups & page_namespace == 0 & ( bold := "'''"; bold in removed_lines & !( bold in added_lines ) & ( ( '==' in substr( new_wikitext, 0, 50 ) & !( '==' in substr( old_wikitext, 0, 50 ) ) ) | ( "{{infobox" in lcase(removed_lines) & !( "{{" in lcase(added_lines) ) & ( length(string(added_lines)) < 250 ) & new_size > 500 & /* exclude blankings, which are covered by filter 3 */ substr (old_wikitext, 0, length(string(removed_lines))) == string(removed_lines) /* make sure it is the lead that is being removed */ ) ) )
!"confirmed" in user_groups & page_namespace == 0 & ( bold := "'''"; bold in removed_lines & !( bold in added_lines ) & ( ( '==' in substr( new_wikitext, 0, 50 ) & !( '==' in substr( old_wikitext, 0, 50 ) ) ) | ( "{{infobox" in lcase(removed_lines) & !( "{{" in lcase(added_lines) ) & ( length(string(added_lines)) < 250 ) & new_size > 500 & /* exclude blankings, which are covered by filter 3 */ substr (old_wikitext, 0, length(string(removed_lines))) == string(removed_lines) /* make sure it is the lead that is being removed */ ) ) )
Notes:
Tested on filter 953. Quit a bit of vandalism that just involves removing the lead of an article, including the infobox. There's overlap with other filters but a reasonable proportion of edits get through that needs to be disallowed and wouldn't be catcheable by other filters I know of. Currently just logging and if there are no false positives will post on EFN about setting to disallow. -Galo Increase new_size exclusion limit, so that there should be no conversions to redirects and the like caught. -Galo 2019.01.14 Set to disallow per [[Special:PermaLink/879231787#Setting_filter_957_to_disallow?]] -Galo 2019.01.20 Log-only while seeing if can reduce FPs. Exclude cases where added_lines contains templates or is long - solely focus on blankings of the lead and replacements of the lead with things like "ur mom" and "hi". -Galo 2019.01.21 Add "substr (old_wikitext, 0, length(string(removed_lines))) == string(removed_lines)" per FP Special:AbuseLog/23052500. -Galo 2019.01.22 Add second method, which checks the position of the first header to determine lead length. -G 2019-03-02
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:
19:00, 27 September 2021
by
WikiDwarf
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"!\"confirmed\" in user_groups \u0026\r\npage_namespace == 0 \u0026 (\r\n bold := \"'''\";\r\n bold in removed_lines \u0026\r\n !( bold in added_lines ) \u0026\r\n (\r\n (\r\n '==' in substr( new_wikitext, 0, 50 ) \u0026\r\n !( '==' in substr( old_wikitext, 0, 50 ) )\r\n ) |\r\n (\r\n \"{{infobox\" in lcase(removed_lines) \u0026\r\n !( \"{{\" in lcase(added_lines) ) \u0026\r\n ( length(string(added_lines)) \u003C 250 ) \u0026\r\n new_size \u003E 500 \u0026 /* exclude blankings, which are covered by filter 3 */\r\n substr (old_wikitext, 0, length(string(removed_lines))) == string(removed_lines) /* make sure it is the lead that is being removed */\r\n )\r\n )\r\n)","name":"Removal of article lead","comments":"Tested on filter 953. Quit a bit of vandalism that just involves removing the lead of an article, including the infobox. There's overlap with other filters but a reasonable proportion of edits get through that needs to be disallowed and wouldn't be catcheable by other filters I know of. Currently just logging and if there are no false positives will post on EFN about setting to disallow. -Galo\r\n\r\nIncrease new_size exclusion limit, so that there should be no conversions to redirects and the like caught. -Galo 2019.01.14\r\n\r\nSet to disallow per [[Special:PermaLink/879231787#Setting_filter_957_to_disallow?]] -Galo 2019.01.20\r\n\r\nLog-only while seeing if can reduce FPs. Exclude cases where added_lines contains templates or is long - solely focus on blankings of the lead and replacements of the lead with things like \"ur mom\" and \"hi\". -Galo 2019.01.21\r\n\r\nAdd \"substr (old_wikitext, 0, length(string(removed_lines))) == string(removed_lines)\" per FP Special:AbuseLog/23052500. -Galo 2019.01.22\r\n\r\nAdd second method, which checks the position of the first header to determine lead length. -G 2019-03-02","group":"default","actions":{"disallow":["abusefilter-disallowed-article-lead-removed"]},"enabled":true,"deleted":false,"privacylevel":0,"global":false},"actions":{"disallow":["abusefilter-disallowed-article-lead-removed"]}}
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
Tag the edit for further review
Tags
to apply:
Search results
Recently viewed
Clear
Suggested
Random article
Trending articles
Bharatpedia
Main page
Contents
Current events
Random article
About
Contact us
Help
Contribute
Community portal
Recent changes
Create article
Upload file
Donate
FAQ
Printable version
Not logged in
Please sign up or log in to edit Bharatpedia.
Talk
Alt N
Contributions
Alt Y
Create account
Log in