* 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.
16 lines
305 B
Ruby
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
|