Files
danbooru/app/helpers/bulk_update_requests_helper.rb
evazion 23944a1794 Fix #4491: Have tag rename option for bulk update requests.
* Add a `rename A -> B` command for bulk update requests.
* Change mass updates to only retag the posts, not to move saved
  searches or blacklists.

A tag rename does the same thing an alias does, except it doesn't
create a permanent alias. More precisely, a tag rename:

* Moves the wiki.
* Moves the artist entry.
* Moves saved searches.
* Moves blacklists.
* Merges the wikis, if both tags have wiki pages.
* Merges the artist entries, if both tags have artist pages.
* Fixes links in wiki pages to point to the new tag.
* Retags the posts.
2020-08-26 19:53:04 -05:00

16 lines
305 B
Ruby

module BulkUpdateRequestsHelper
def bur_script_example
<<~EOS
create alias bunny -> rabbit
remove alias bunny -> rabbit
create implication bunny -> animal
remove implication bunny -> animal
rename bunny -> rabbit
category touhou -> copyright
EOS
end
end