Bharatpedia
Login
Viewing abuse filter 24: Adding external images/links
Filter parameters
Filter ID:
24
Description:
(publicly viewable)
Conditions:
!"confirmed" in user_groups & page_namespace == 0 & ( urls := "data:image|<img|<a href|([^\[]|\[\[(File:|Image:)?)https?://[\S]*?\.(jpe?g|png|gif|bmp)"; templates := "(?i)external ?(media|image|audio|video)|<ref>|{{cite"; added_lines irlike urls & !removed_lines irlike urls & ( rcount( templates, lcase(added_lines) ) <= rcount( templates, lcase(removed_lines) ) ) )
!"confirmed" in user_groups & page_namespace == 0 & ( urls := "data:image|<img|<a href|([^\[]|\[\[(File:|Image:)?)https?://[\S]*?\.(jpe?g|png|gif|bmp)"; templates := "(?i)external ?(media|image|audio|video)|<ref>|{{cite"; added_lines irlike urls & !removed_lines irlike urls & ( rcount( templates, lcase(added_lines) ) <= rcount( templates, lcase(removed_lines) ) ) )
Notes:
Warns new users about adding external images (which don't work), HTML images, or HTML links. Log mode only. - KoH removed_lines, of course. - KoH jpeg. - KoH False positive: Adding external link to image. - KoH Faster regex. - KoH No false positives, setting to warn. - KoH Added tag so people can go back and clean up the mess. - KoH False positive: <ref> tags. Making > an exception to http; <img> and <a href> would still get caught. - KoH Exempt {{external media}} per EF/R. - KoH Checking for <ref> in added_lines. - KoH Use rcount. - KoH Check for {{cite. - KoH Correct name: images --> images/links. - KoH Kill warning, it can be fixed later -P adding s? to http 05/27/13 --Soap Catch File:http and Image:http - Jackmcbarn Layout cleanup and condition count reduce. -DF Format, and add "data:image" per [[Special:PermaLink/900760394#Base64_image_data]]. -G 2019-06-07
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:
18:39, 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(\r\n urls := \"data:image|\u003Cimg|\u003Ca href|([^\\[]|\\[\\[(File:|Image:)?)https?://[\\S]*?\\.(jpe?g|png|gif|bmp)\";\r\n templates := \"(?i)external ?(media|image|audio|video)|\u003Cref\u003E|{{cite\";\r\n added_lines irlike urls \u0026\r\n !removed_lines irlike urls \u0026\r\n (\r\n rcount( templates, lcase(added_lines) ) \u003C= \r\n rcount( templates, lcase(removed_lines) )\r\n )\r\n)","name":"Adding external images/links","comments":"Warns new users about adding external images (which don't work), HTML images, or HTML links.\r\n\r\nLog mode only. - KoH\r\n\r\nremoved_lines, of course. - KoH\r\n\r\njpeg. - KoH\r\n\r\nFalse positive: Adding external link to image. - KoH\r\n\r\nFaster regex. - KoH\r\n\r\nNo false positives, setting to warn. - KoH\r\n\r\nAdded tag so people can go back and clean up the mess. - KoH\r\n\r\nFalse positive: \u003Cref\u003E tags. Making \u003E an exception to http; \u003Cimg\u003E and \u003Ca href\u003E would still get caught. - KoH\r\n\r\nExempt {{external media}} per EF/R. - KoH\r\n\r\nChecking for \u003Cref\u003E in added_lines. - KoH\r\n\r\nUse rcount. - KoH\r\n\r\nCheck for {{cite. - KoH\r\n\r\nCorrect name: images --\u003E images/links. - KoH\r\n\r\nKill warning, it can be fixed later -P\r\n\r\nadding s? to http 05/27/13 --Soap\r\n\r\nCatch File:http and Image:http - Jackmcbarn\r\n\r\nLayout cleanup and condition count reduce. -DF\r\n\r\nFormat, and add \"data:image\" per [[Special:PermaLink/900760394#Base64_image_data]]. -G 2019-06-07","group":"default","actions":{"tag":["bad external"],"warn":["abusefilter-warning-external-images"]},"enabled":true,"deleted":false,"privacylevel":0,"global":false},"actions":{"tag":["bad external"],"warn":["abusefilter-warning-external-images"]}}
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:
bad external
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