Help
Viewing abuse filter 166: Large upload by a new user
Abuse Filter navigation
(
Home
|
Recent filter changes
|
Examine past edits
|
Abuse log
)
Editing filter 166
Jump to navigation
Jump to search
Filter parameters
Filter ID:
166
Description:
(publicly viewable)
Filter group:
Default
flow
Statistics:
Of the last 483,604 actions, this filter has matched 5 (0%). On average, its run time is 0.61 ms, and it consumes 1 condition of the condition limit.
Conditions:
(
documentation
)
(
condition usage
)
user_editcount < 50 & user_age < 7 * 24 * 3600 /* a week */ & action == "upload" & ( (file_mediatype == "BITMAP" & ( (file_mime == "image/jpeg" & file_size > int( 26.5*1024*1024)) /* 99.9% */ | (file_mime == "image/png" & file_size > int( 41.1*1024*1024)) /* 99.9% */ | (file_mime == "image/gif" & file_size > int( 4.9*1024*1024)) /* 99.0% */ | (file_mime == "image/tiff" & file_size > int(207.0*1024*1024)) /* 99.0% */ | (file_mime == "image/vnd.djvu" & file_size > int( 94.4*1024*1024)) /* 99.0% */ | (file_mime == "image/webp" & file_size > int( 1*1024*1024)) /* 87.5% */ | (file_mime == "image/x-xcf" & file_size > int( 6.2*1024*1024)) ) /* 84.1% */ ) | (file_mediatype == "AUDIO" & ( (file_mime == "application/ogg"& file_size > int( 68.1*1024*1024)) /* 99.9% */ | (file_mime == "audio/wav" & file_size > int( 49.3*1024*1024)) /* 84.1% */ | (file_mime == "audio/x-flac" & file_size > int( 26.2*1024*1024)) /* 84.1% */ | (file_mime == "audio/midi" & file_size > int( 0.5*1024*1024)) ) /* 100+% */ ) | (file_mediatype == "VIDEO" & ( (file_mime == "video/webm" & file_size > int(136.8*1024*1024)) /* 84.1% */ | (file_mime == "application/ogg"& file_size > int( 97.2*1024*1024)) ) /* 97.7% */ ) | (file_mediatype == "DRAWING" & file_mime == "image/svg+xml" & file_size > int( 9.6*1024*1024)) /* 99.0% */ | (file_mediatype == "OFFICE" & file_mime == "application/pdf" & file_size > int(66.9*1024*1024)) /* 99.0% */ | (file_mediatype == "MULTIMEDIA" & file_mime == "application/ogg" & file_size > int(42.9*1024*1024)) /* 99.0% */ | (file_mediatype == "TEXT" | file_mediatype == "EXECUTABLE" | file_mediatype == "ARCHIVE" | file_mediatype == "UNKNOWN") /* "catch all the rest" condition – for testing purposes */ )
user_editcount < 50 & user_age < 7 * 24 * 3600 /* a week */ & action == "upload" & ( (file_mediatype == "BITMAP" & ( (file_mime == "image/jpeg" & file_size > int( 26.5*1024*1024)) /* 99.9% */ | (file_mime == "image/png" & file_size > int( 41.1*1024*1024)) /* 99.9% */ | (file_mime == "image/gif" & file_size > int( 4.9*1024*1024)) /* 99.0% */ | (file_mime == "image/tiff" & file_size > int(207.0*1024*1024)) /* 99.0% */ | (file_mime == "image/vnd.djvu" & file_size > int( 94.4*1024*1024)) /* 99.0% */ | (file_mime == "image/webp" & file_size > int( 1*1024*1024)) /* 87.5% */ | (file_mime == "image/x-xcf" & file_size > int( 6.2*1024*1024)) ) /* 84.1% */ ) | (file_mediatype == "AUDIO" & ( (file_mime == "application/ogg"& file_size > int( 68.1*1024*1024)) /* 99.9% */ | (file_mime == "audio/wav" & file_size > int( 49.3*1024*1024)) /* 84.1% */ | (file_mime == "audio/x-flac" & file_size > int( 26.2*1024*1024)) /* 84.1% */ | (file_mime == "audio/midi" & file_size > int( 0.5*1024*1024)) ) /* 100+% */ ) | (file_mediatype == "VIDEO" & ( (file_mime == "video/webm" & file_size > int(136.8*1024*1024)) /* 84.1% */ | (file_mime == "application/ogg"& file_size > int( 97.2*1024*1024)) ) /* 97.7% */ ) | (file_mediatype == "DRAWING" & file_mime == "image/svg+xml" & file_size > int( 9.6*1024*1024)) /* 99.0% */ | (file_mediatype == "OFFICE" & file_mime == "application/pdf" & file_size > int(66.9*1024*1024)) /* 99.0% */ | (file_mediatype == "MULTIMEDIA" & file_mime == "application/ogg" & file_size > int(42.9*1024*1024)) /* 99.0% */ | (file_mediatype == "TEXT" | file_mediatype == "EXECUTABLE" | file_mediatype == "ARCHIVE" | file_mediatype == "UNKNOWN") /* "catch all the rest" condition – for testing purposes */ )
Notes:
Init. Flag everything bigger than μ + 2σ for each type/MIME type combination. Data provided by [[User:Dispenser]] in [[Special:PermaLink/227621948#Influx of files with embedded data (CSD#F9) – continuation]] --jdx (2016-12-27) Added "audio/ogg" and "video/ogg" MIME types because the filter didn't flag huge, fake ogg audio files. --jdx (2016-12-27) Added "catch all the rest" condition; 1 MiB is arbitrarily chosen. --jdx (2016-12-27) Raised threshold for JPEGs to μ + 3σ because of too many false positives and lowered threshold for WebM to μ + σ. Also removed file size threshold from "catch all the rest" condition. --jdx (2016-12-28) Removed "stashupload" action as it is not very helpful in our case. --jdx (2016-12-28) Decreased editcount in order to reduce number of false positives. Josve's question moved to COM:AN. --jdx (2016-12-29) + Condition for user age < a week, [[Special:Permalink/228188098]] --Zhuyifei1999 (2016-12-31) Implemented most of suggestions from [[Special:Diff/228880645]]. --jdx (2017-01-14) Hiding: Any trusted users can be given access, but I don't see the point of allowing Zero abusers to find out the thresholds and game the system --Zhuyifei1999 (2016-03-27) - Reverted: [[phab:T161816]] --Zhuyifei1999 (2016-03-31) + WebP with 1 MiB threshold. Only 6 files out of all 48 exceeds this size, and are all from experienced users. Changed rule's description and added tagging. --jdx (2017-04-29)
Flags:
Hide details of this filter from public view
Enable this filter
Mark as deleted
Filter last modified:
07:13, 29 April 2017
by
Jdx
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"user_editcount \u003C 50\r\n\u0026 user_age \u003C 7 * 24 * 3600 /* a week */\r\n\u0026 action == \"upload\"\r\n\u0026 ( (file_mediatype == \"BITMAP\"\r\n \u0026 ( (file_mime == \"image/jpeg\" \u0026 file_size \u003E int( 26.5*1024*1024)) /* 99.9% */\r\n | (file_mime == \"image/png\" \u0026 file_size \u003E int( 41.1*1024*1024)) /* 99.9% */\r\n | (file_mime == \"image/gif\" \u0026 file_size \u003E int( 4.9*1024*1024)) /* 99.0% */\r\n | (file_mime == \"image/tiff\" \u0026 file_size \u003E int(207.0*1024*1024)) /* 99.0% */\r\n | (file_mime == \"image/vnd.djvu\" \u0026 file_size \u003E int( 94.4*1024*1024)) /* 99.0% */\r\n | (file_mime == \"image/webp\" \u0026 file_size \u003E int( 1*1024*1024)) /* 87.5% */\r\n | (file_mime == \"image/x-xcf\" \u0026 file_size \u003E int( 6.2*1024*1024)) ) /* 84.1% */\r\n )\r\n | (file_mediatype == \"AUDIO\"\r\n \u0026 ( (file_mime == \"application/ogg\"\u0026 file_size \u003E int( 68.1*1024*1024)) /* 99.9% */\r\n | (file_mime == \"audio/wav\" \u0026 file_size \u003E int( 49.3*1024*1024)) /* 84.1% */\r\n | (file_mime == \"audio/x-flac\" \u0026 file_size \u003E int( 26.2*1024*1024)) /* 84.1% */\r\n | (file_mime == \"audio/midi\" \u0026 file_size \u003E int( 0.5*1024*1024)) ) /* 100+% */\r\n )\r\n | (file_mediatype == \"VIDEO\"\r\n \u0026 ( (file_mime == \"video/webm\" \u0026 file_size \u003E int(136.8*1024*1024)) /* 84.1% */\r\n | (file_mime == \"application/ogg\"\u0026 file_size \u003E int( 97.2*1024*1024)) ) /* 97.7% */\r\n )\r\n\r\n | (file_mediatype == \"DRAWING\" \u0026 file_mime == \"image/svg+xml\" \u0026 file_size \u003E int( 9.6*1024*1024)) /* 99.0% */\r\n | (file_mediatype == \"OFFICE\" \u0026 file_mime == \"application/pdf\" \u0026 file_size \u003E int(66.9*1024*1024)) /* 99.0% */\r\n | (file_mediatype == \"MULTIMEDIA\" \u0026 file_mime == \"application/ogg\" \u0026 file_size \u003E int(42.9*1024*1024)) /* 99.0% */\r\n | (file_mediatype == \"TEXT\" | file_mediatype == \"EXECUTABLE\" | file_mediatype == \"ARCHIVE\" | file_mediatype == \"UNKNOWN\") /* \"catch all the rest\" condition \u2013 for testing purposes */\r\n)","name":"Large upload by a new user","comments":"Init. Flag everything bigger than \u03bc + 2\u03c3 for each type/MIME type combination. Data provided by [[User:Dispenser]] in [[Special:PermaLink/227621948#Influx of files with embedded data (CSD#F9) \u2013 continuation]]\r\n--jdx (2016-12-27)\r\n\r\nAdded \"audio/ogg\" and \"video/ogg\" MIME types because the filter didn't flag huge, fake ogg audio files.\r\n--jdx (2016-12-27)\r\n\r\nAdded \"catch all the rest\" condition; 1 MiB is arbitrarily chosen.\r\n--jdx (2016-12-27)\r\n\r\nRaised threshold for JPEGs to \u03bc + 3\u03c3 because of too many false positives and lowered threshold for WebM to \u03bc + \u03c3. Also removed file size threshold from \"catch all the rest\" condition.\r\n--jdx (2016-12-28)\r\n\r\nRemoved \"stashupload\" action as it is not very helpful in our case.\r\n--jdx (2016-12-28)\r\n\r\nDecreased editcount in order to reduce number of false positives. Josve's question moved to COM:AN.\r\n--jdx (2016-12-29)\r\n\r\n+ Condition for user age \u003C a week, [[Special:Permalink/228188098]] --Zhuyifei1999 (2016-12-31)\r\n\r\nImplemented most of suggestions from [[Special:Diff/228880645]].\r\n--jdx (2017-01-14)\r\n\r\nHiding: Any trusted users can be given access, but I don't see the point of allowing Zero abusers to find out the thresholds and game the system --Zhuyifei1999 (2016-03-27)\r\n- Reverted: [[phab:T161816]] --Zhuyifei1999 (2016-03-31)\r\n\r\n+ WebP with 1 MiB threshold. Only 6 files out of all 48 exceeds this size, and are all from experienced users.\r\n\r\nChanged rule's description and added tagging. --jdx (2017-04-29)","group":"default","actions":{"tag":["Large upload by a new user"]},"enabled":true,"deleted":false,"privacylevel":0,"global":false},"actions":{"tag":["Large upload by a new user"]}}
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:
Large upload by a new user
Require the user to complete a CAPTCHA in order to proceed with the action. Users with permission to skip a CAPTCHA are exempt.
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Special page
English
Views
More
Search
Navigate
Main page
Welcome
Community portal
Village pump
Help center
Participate
Upload file
Recent changes
Latest files
Random file
Contact us
Tools
Special pages
Printable version
Get shortened URL
Download QR code
In other projects