Open main menu
Home
Random
Log in
Settings
About Bharatpedia
Disclaimers
Bharatpedia
Search
Editing abuse filter
Abuse Filter navigation
(
Home
|
Recent filter changes
|
Examine past edits
|
Abuse log
)
Editing filter 29
Filter parameters
Filter ID:
29
Description:
(publicly viewable)
Conditions:
!"confirmed" in user_groups & page_namespace == 0 & length(added_lines) != 0 & edit_delta >= -1000 & ( line1:="(\{\{(r|R)eflist|\{\{(r|R)efs|<references\s?/>|</references\s?>)"; removed_lines rlike line1 & !(new_wikitext rlike line1) & /* Use new_wikitext in case duplicates are being removed */ new_wikitext rlike "<ref(\s|>)" & ! "#redirect" in lcase(added_lines) )
!"confirmed" in user_groups & page_namespace == 0 & length(added_lines) != 0 & edit_delta >= -1000 & ( line1:="(\{\{(r|R)eflist|\{\{(r|R)efs|<references\s?/>|</references\s?>)"; removed_lines rlike line1 & !(new_wikitext rlike line1) & /* Use new_wikitext in case duplicates are being removed */ new_wikitext rlike "<ref(\s|>)" & ! "#redirect" in lcase(added_lines) )
Notes:
This filter (split from the more general filter 61, which now recognizes removal of <ref> and </ref>) recognizes all edits by new users that are not complete blankings or redirections which remove {{reflist}} or <references/> tags from an article. If it's triggered without also setting off filter 61, 30 or 3, it will first warn the user it is not productive, then proceed to tag the edit for further review on their next attempt to save. Articles need at least one references section, but the number and format of that section is not overly important removing false positives associated with changing references style. - DF Latest trigger was caused by a duplicate reflist being removed. Exclusion now included. --Mgm I added optional whitespace in <references\s?/>. - Ruslik Greater than 2 to greater than 1 when checking if you start with duplicates (obviously) -Prodego I added a check if any references are still present in the article. - Ruslik Update filter to include new format of references. - Ruslik Simplified the code. - Ruslik Self rv -TS Reset filter, it hit the 5% limit somehow. -- Shirik 14 May 2010 FP fix --Reaper 2012-05-20 Format. -DF Update deprecated params. --SoY 13 Mar 2019 Move redirect check to the end (almost always true), update layout. --SoY 13 Mar 2019 Simplify and reduce conditions. No need to run multiple rcount()s against almost every mainspace IP edit when this should only trip when zero tags remain. Will also now trip if there are multiple tags, and they remove ALL of them. --SoY 13 Mar 2019
Flags:
Hide details of this filter from public view
Enable this filter
Mark as deleted
Filter last modified:
09:44, 24 November 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\nlength(added_lines) != 0 \u0026\r\nedit_delta \u003E= -1000 \u0026\r\n(\r\n line1:=\"(\\{\\{(r|R)eflist|\\{\\{(r|R)efs|\u003Creferences\\s?/\u003E|\u003C/references\\s?\u003E)\";\r\n\r\n removed_lines rlike line1 \u0026\r\n !(new_wikitext rlike line1) \u0026 /* Use new_wikitext in case duplicates are being removed */\r\n\r\n new_wikitext rlike \"\u003Cref(\\s|\u003E)\" \u0026\r\n ! \"#redirect\" in lcase(added_lines)\r\n)","name":"New user removing reference grouping tags","comments":"This filter (split from the more general filter 61, which now recognizes removal of \u003Cref\u003E and \u003C/ref\u003E) recognizes all edits by new users that are not complete blankings or redirections which remove {{reflist}} or \u003Creferences/\u003E tags from an article.\r\n\r\nIf it's triggered without also setting off filter 61, 30 or 3, it will first warn the user it is not productive, then proceed to tag the edit for further review on their next attempt to save.\r\n\r\nArticles need at least one references section, but the number and format of that section is not overly important removing false positives associated with changing references style. - DF\r\n\r\nLatest trigger was caused by a duplicate reflist being removed. Exclusion now included. --Mgm\r\nI added optional whitespace in \u003Creferences\\s?/\u003E. - Ruslik\r\n\r\nGreater than 2 to greater than 1 when checking if you start with duplicates (obviously) -Prodego\r\nI added a check if any references are still present in the article. - Ruslik\r\n\r\nUpdate filter to include new format of references. - Ruslik\r\n\r\nSimplified the code. - Ruslik\r\n\r\nSelf rv -TS\r\n\r\nReset filter, it hit the 5% limit somehow. -- Shirik 14 May 2010\r\n\r\nFP fix --Reaper 2012-05-20\r\n\r\nFormat. -DF\r\n\r\nUpdate deprecated params. --SoY 13 Mar 2019\r\nMove redirect check to the end (almost always true), update layout. --SoY 13 Mar 2019\r\n\r\nSimplify and reduce conditions. No need to run multiple rcount()s against almost every mainspace IP edit when this should only trip when zero tags remain. Will also now trip if there are multiple tags, and they remove ALL of them. --SoY 13 Mar 2019","group":"default","actions":{"tag":["reference list removal"],"warn":["abusefilter-warning-ref-group-blanking"]},"enabled":false,"deleted":true,"hidden":false,"global":false},"actions":{"tag":["reference list removal"],"warn":["abusefilter-warning-ref-group-blanking"]}}
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 anonymous 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:
reference list removal