Home
Random
Nearby
Log in
Settings
Donate
About Wikipedia
Disclaimers
Search
Viewing filter 220: Adding external images/links
Home
Recent filter changes
Examine past edits
Edit filter log
Editing filter 220 (see also a
graph
of recent actions)
Filter parameters
Filter ID:
220
Description:
(publicly viewable)
Filter hits:
359,359 hits
Statistics:
Of the last 64,645 actions, this filter has matched 7 (0.01%). On average, its run time is 0.11 ms, and it consumes 1.5 conditions of the condition limit.
Conditions:
(
documentation
)
!"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
Mark as deleted
Filter last modified:
13:16, 7 June 2019
by
Galobtter
(
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,"hidden":false,"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
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)
bad external