Files
danbooru/test/unit
evazion 43c4158d36 uploads: merge tags when a duplicate is uploaded (fix #3130).
Automatically merge tags when uploading a duplicate.

There are two cases:

* You try to upload an image, but it's already on Danbooru. In this case
  you'll be immediately redirected to the original post, before you
  can start tagging the upload.

* You're uploading an image, it wasn't a dupe when you first opened the
  upload page, but you got sniped while tagging it. In this case your tags
  will be merged with the original post, and you will be redirected to the
  original post.

There are a few corner cases:

* If you don't have permission to edit the original post, for example
  because it's banned or has a censored tag, then your tags won't be
  merged and will be silently ignored.

* Only the tags, rating, and parent ID will be merged. The source and
  artist commentary won't be merged. This is so that if an artist uploads
  the exact same file to multiple sites, the new source won't override
  the original source.

* Some tags might be contradictory. For example, the new post might
  be tagged translation_request, but the original post might already be
  translated. It's up to the user to fix these things afterwards.
2022-01-30 03:14:22 -06:00
..
2020-03-21 21:07:35 -05:00
2022-01-28 04:13:22 -06:00
2022-01-20 00:17:06 -06:00
2020-06-20 00:20:39 -05:00
2022-01-15 22:02:47 -06:00
2022-01-15 22:02:47 -06:00
2021-01-11 05:12:09 -06:00
2021-12-09 13:20:26 -06:00
2022-01-15 23:20:49 -06:00