Add more tags to post replacements filtering and modqueue

highlighting.
This commit is contained in:
nonamethanks
2020-06-17 07:24:34 +02:00
parent ed152a780b
commit c23fee846f

View File

@@ -317,13 +317,15 @@ module Danbooru
# A list of tags that should be removed when a post is replaced. Regexes allowed. # A list of tags that should be removed when a post is replaced. Regexes allowed.
def post_replacement_tag_removals def post_replacement_tag_removals
%w[replaceme .*_sample resized upscaled downscaled md5_mismatch %w[replaceme .*_sample resized upscaled downscaled md5_mismatch
jpeg_artifacts corrupted_image source_request non-web_source] jpeg_artifacts corrupted_image missing_image missing_sample missing_thumbnail
resolution_mismatch source_larger source_smaller source_request non-web_source]
end end
# Posts with these tags will be highlighted in the modqueue. # Posts with these tags will be highlighted in the modqueue.
def modqueue_warning_tags def modqueue_warning_tags
%w[hard_translated self_upload nude_filter third-party_edit screencap %w[hard_translated self_upload nude_filter third-party_edit screencap
duplicate image_sample md5_mismatch resized upscaled downscaled] duplicate image_sample md5_mismatch resized upscaled downscaled
resolution_mismatch source_larger source_smaller]
end end
def stripe_secret_key def stripe_secret_key