Danbooru

Question for admins and or mods about tag commands.

Posted under General

Hi,

I'm an admin from atfbooru. (code is based on danbooru latest commit) i just had a question about the tag system. is there a way to repopulate a accidentally nuked copyright tag without having to do it manually? im having trouble finding much documentation on the tag system as google isnt much help. a cheat sheet for the commands would be useful.

Thank you for your time.

If you nuked it via a BUR you can go to the post versions, filter by the system user (should be DanbooruBot unless you renamed it in your instance) and the tag removed, and then click on the checkbox to the left of "Post" and then on "Undo selected" in the navbar. Adding "&limit=200" to the page will make it faster since it'll allow you to revert 200 posts at a time instead of the default 20.

@nonamethanks Ah. Yes it was done via BUR. Ok that will help. thank you for the information.

One other question. I cant get a tag with 75k entries to change categories from general to meta. it keeps saying it failed. i removed all aliases from the tag but no luck. i dont have acsess to the back end software to find out why its failing.

thank you for your help so far!

Category changes unfortunately are done post by post, which is why it might be failing. The server has to update each post in the tag due to properties like tag_count_meta, so large category changes are likely to fail due to the sheer size. There isn't a good solution for that other than dropping in the database and doing it that way, we avoided doing that kind of large change even here in the main site for this reason.

nonamethanks said:

Category changes unfortunately are done post by post, which is why it might be failing. The server has to update each post in the tag due to properties like tag_count_meta, so large category changes are likely to fail due to the sheer size. There isn't a good solution for that other than dropping in the database and doing it that way, we avoided doing that kind of large change even here in the main site for this reason.

@nonamethanks ah. go figures... sounds like a flaw in the design to me. hmm alright well i think that will about do then. thank you for your help!

1