Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Contribute
Help
Learn to edit
Community portal
Recent changes
Upload file
Languages
Search
Search
Donate
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Viewing filter 79: New user removing reference grouping tags
Help
Home
Recent filter changes
Examine past edits
Edit filter log
English
Tools
Tools
move to sidebar
hide
Actions
General
Upload file
Special pages
Printable version
Get shortened URL
Download QR code
In other projects
Appearance
move to sidebar
hide
Editing filter 79 (see also a
graph
of recent actions)
Filter parameters
Filter ID:
79
Description:
(publicly viewable)
Filter hits:
248,331 hits
Statistics:
Of the last 132,964 actions, this filter has matched 12 (0.01%). On average, its run time is 0.12 ms, and it consumes 2 conditions of the condition limit.
Conditions:
(
documentation
)
!"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
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:
23:42, 13 March 2019
by
Suffusion of Yellow
(
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":true,"deleted":false,"privacylevel":0,"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
Tag the edit in contributions lists and page histories
Tags to apply:
(see
Wikipedia:Tags
for use and formatting)
(please don't rename a tag here, see link above)
(one per line, no commas, publicly visible)
reference list removal
Require the user to complete a CAPTCHA in order to proceed with the action. Users with permission to skip a CAPTCHA are exempt.