Toggle search
Search
Toggle menu
Notifications
Toggle personal menu
Editing abuse filter
Help
Views
associated-pages
Home
Recent filter changes
Examine past edits
Abuse log
More actions
Editing filter 16
Filter parameters
Filter ID:
16
Description:
(publicly viewable)
Conditions:
user_editcount < 100 & page_namespace == 0 & (added_lines + removed_lines) irlike "\.(?:jpe?g|png|svg|gif|tiff|webp)" & "wpDestFile" in new_html
user_editcount < 100 & page_namespace == 0 & (added_lines + removed_lines) irlike "\.(?:jpe?g|png|svg|gif|tiff|webp)" & "wpDestFile" in new_html
Notes:
Testing per [[Special:PermaLink/886107806#File_name_changes]]; can warn about needing to upload files/not breaking file names, or maybe disallow. -G 2019-03-04 Check old_wikitext for {{BrokenImage}} just in case of FPs on pages already having missing files; ( missing_filename := get_matches( 'class="new" title="File:(.*?)"', new_html )[1]; missing_filename := str_replace( missing_filename, "&", "&" ); missing_filename := str_replace( missing_filename, """, '"' ); ( added_lines rlike missing_filename & !removed_lines rlike missing_filename ) | ( missing_filename := str_replace( missing_filename, " ", '_' ); added_lines rlike missing_filename & !removed_lines rlike missing_filename ) ) could be added as the last conditions for the filter to be super accurate, but that may be unnecessary complexity. -G 2019-03-04 Check removed_lines to account for cases where the user breaks the file name extension and so it isn't present in the added_lines. -G 2019-03-05 Set to warn and tag. Working well; a lot of it is test/vandalism. -G 2019-03-05 Disabling. This is much too slow... regularly showing up in Logstash, sometimes taking 5 seconds to execute. Avoid new_html at all costs. ~MA Reenabling to check if improvements to filter time recording show that it isn't actually slow, per [[Special:PermaLink/911762194#Filter_971_and_fixes_to_filter_times]]. -G 2019-08-25 It is indeed not slow, so re-enable warning. -G 2019-08-28 added .webp. 0xDeadbeef 2023-09-20
Flags:
Hide details of this filter from public view
Enable this filter
Mark as deleted
Filter last modified:
18:17, 27 May 2024
by
Mausterio
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"user_editcount \u003C 100 \u0026\r\npage_namespace == 0 \u0026\r\n(added_lines + removed_lines) irlike \"\\.(?:jpe?g|png|svg|gif|tiff|webp)\" \u0026\r\n\"wpDestFile\" in new_html","name":"Additions of missing files","comments":"Testing per [[Special:PermaLink/886107806#File_name_changes]]; can warn about needing to upload files/not breaking file names, or maybe disallow. -G 2019-03-04\r\n\r\nCheck old_wikitext for {{BrokenImage}} just in case of FPs on pages already having missing files; \r\n(\r\n missing_filename := get_matches( 'class=\"new\" title=\"File:(.*?)\"', new_html )[1];\r\n missing_filename := str_replace( missing_filename, \"\u0026amp;\", \"\u0026\" );\r\n missing_filename := str_replace( missing_filename, \"\u0026quot;\", '\"' );\r\n (\r\n added_lines rlike missing_filename \u0026\r\n !removed_lines rlike missing_filename\r\n ) |\r\n (\r\n missing_filename := str_replace( missing_filename, \" \", '_' );\r\n added_lines rlike missing_filename \u0026\r\n !removed_lines rlike missing_filename\r\n )\r\n)\r\ncould be added as the last conditions for the filter to be super accurate, but that may be unnecessary complexity. -G 2019-03-04\r\n\r\nCheck removed_lines to account for cases where the user breaks the file name extension and so it isn't present in the added_lines. -G 2019-03-05\r\n\r\nSet to warn and tag. Working well; a lot of it is test/vandalism. -G 2019-03-05\r\n\r\nDisabling. This is much too slow... regularly showing up in Logstash, sometimes taking 5 seconds to execute. Avoid new_html at all costs. ~MA\r\n\r\nReenabling to check if improvements to filter time recording show that it isn't actually slow, per [[Special:PermaLink/911762194#Filter_971_and_fixes_to_filter_times]]. -G 2019-08-25\r\n\r\nIt is indeed not slow, so re-enable warning. -G 2019-08-28\r\n\r\nadded .webp. 0xDeadbeef 2023-09-20","group":"default","actions":{"tag":["missing file added"],"warn":["abusefilter-warning-missing-file"]},"enabled":true,"deleted":false,"hidden":false,"global":false},"actions":{"tag":["missing file added"],"warn":["abusefilter-warning-missing-file"]}}
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:
missing file added