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.
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
module BulkUpdateRequestsHelper
|
||||
def bur_script_example
|
||||
<<~EOS
|
||||
create alias kitty -> cat
|
||||
remove alias kitty -> cat
|
||||
create alias bunny -> rabbit
|
||||
remove alias bunny -> rabbit
|
||||
|
||||
create implication cat -> animal
|
||||
remove implication cat -> animal
|
||||
create implication bunny -> animal
|
||||
remove implication bunny -> animal
|
||||
|
||||
rename bunny -> rabbit
|
||||
|
||||
mass update kitty -> cat
|
||||
category touhou -> copyright
|
||||
EOS
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user