Topic: Is there a way to make a BUR that adds a tag conditionally?

Posted under Tag Alias and Implication Suggestions

Say that a character is usually tagged as a species (ex. domestic cat, fox, rabbit), but not the exact breed/species they are (calico cat, red fox, European rabbit). Is it possible to make a request to update all posts of that character excluding the ones with or without certain tags? The ones that don't have the parent tag or are tagged with alternate species, so the child tags aren't applied to the wrong posts.

BURs are unconditional. You'd need to use some sort of tag scripting.

Typically, you don't use a BUR for mass updates like this that are conditional to certain rules.
It is even discouraged to use mass tagging tools to blanket-tag since you can make big mistakes (which will be time-consuming to fix).

You will need to be a moderator to do conditional mass tag edits such as this.

donovan_dmc said:
Whatever that was doesn't exist anymore. We have tag scripting, which is Privileged+

Huh, odd to see it being removed as a feature. As I understand it, tag scripts are like mass-tag-edit LITE.
You would only be able to edit posts per click on thumbnails, rather than the "potentially thousands of posts at once" that the other claims.

I guess it would be harder to scrutinise which post you want changed without falling into the realm of blanket-tagging abuse.

thegreatwolfgang said:
As I understand it, tag scripts are like mass-tag-edit LITE.

Tag scripting is very simple. The logic is worked out client side, and the posts are the edited individually. Anyone can do tag scripting with a bit of html editing, or just using the api directly

thegreatwolfgang said:
Huh, odd to see it being removed as a feature.

I'm not sure it was "removed", it just not being readded after e621ng seems more likely. Since that rebased from danbooru, everything had to be added back on top of it. That feature probably saw very little usage and was subsequently not readded

donovan_dmc said:
Whatever that was doesn't exist anymore. We have tag scripting, which is Privileged+

Okay. If you don't mind, could you run these for me?

  • [if nick_wilde, fox -alternate_species, red_fox]
  • [if judy_hopps rabbit -alternate_species, european_rabbit]
  • [if bonnie_hopps rabbit -alternate_species, european_rabbit]
  • [if stu_hopps rabbit -alternate_species, european_rabbit]
  • [if molly_hopps rabbit -alternate_species, european_rabbit]
  • [if otto_hopps rabbit -alternate_species, european_rabbit]
  • [if violet_hopps rabbit -alternate_species, european_rabbit]

Reason: Of the almost 27,000 Nick Wilde posts, most of them do have red fox tagged, but some of the 2,600 that don't have it do need it. As for Judy Hopps and her family, she is canonically a european rabbit (Orcytolagus cuniculus), as stated at the 'Zoolapalooza' Pre-Show at Disney's El Capitan Theater. Of the 34,076 posts with Judy Hopps, only 22 are tagged with it. And that is out of 27 total European rabbit posts, and 5,228 Oryctolagus posts.

Updated

slocheze said:
Okay. If you don't mind, could you run these for me?

  • [if nick_wilde, fox -alternate_species, red_fox]
  • [if judy_hopps rabbit -alternate_species, european_rabbit]
  • [if bonnie_hopps rabbit -alternate_species, european_rabbit]
  • [if stu_hopps rabbit -alternate_species, european_rabbit]
  • [if molly_hopps rabbit -alternate_species, european_rabbit]
  • [if otto_hopps rabbit -alternate_species, european_rabbit]
  • [if violet_hopps rabbit -alternate_species, european_rabbit]

Not all posts will be tagged with alternate_species, making a mass tag update like that without looking will cause a lot of mistags.
In addition, characters who are cosplaying as Nick Wilde and is also coincidentally a fox does not mean that they are a red_fox. Same with the others.

thegreatwolfgang said:
Not all posts will be tagged with alternate_species, making a mass tag update like that without looking will cause a lot of mistags.
In addition, characters who are cosplaying as Nick Wilde and is also coincidentally a fox does not mean that they are a red_fox. Same with the others.

Yeah, alternate_species is one of those tags that are often left out from where they belong... I think adding cosplay would remedy that last point though. If there's any more parameters to exclude that you think would eliminate the chance of error, please share.

  • [if nick_wilde fox -cosplay -alternate_species, red_fox]
  • [if judy_hopps rabbit -cosplay -alternate_species, european_rabbit]
  • [if bonnie_hopps rabbit -cosply -alternate_species, european_rabbit]
  • [if stu_hopps rabbit -cosplay -alternate_species, european_rabbit]
  • [if molly_hopps rabbit -cosplay -alternate_species, european_rabbit]
  • [if otto_hopps rabbit -cosplay -alternate_species, european_rabbit]
  • [if violet_hopps rabbit -cosplay -alternate_species, european_rabbit]

If these new tag scripts went through, I'd be willing to narrow out posts that get mistagged and fix them (I'd much rather use the search to pick through 34K posts to clean up what got through than manually tag all of them with an hourly edit limit. It took me days to apply flemish_giant to all but one hazel_(shakotanbunny) post a year ago, and that was <500 at the time)

definitelynotafurry4 said:
It's not that simple, you have to select posts to apply tag scripts to. It doesn't fetch all posts with the condition to add them, it works from the viewer.

So the person who makes the tag script needs a list of post numbers? That seems very inefficient, and you'd need get a bot to compile all the post numbers for a big job like this.

Also, I'm not sure I understand "from the viewer." Is that the menu/UI/whatever Privileged+ have for this?

EDIT: You edited your post while I was typing. This is the first I've heard of this TagMe thing and I have no idea what to do, but I'll try. Please forgive me for being a dumb code-illiterate cringebaby.

Updated

slocheze said:
So the person who makes the tag script needs a list of post numbers? That seems very inefficient, and you'd need get a bot to compile all the post numbers for a big job like this.

Not exactly, they select the post's thumbnail from the post index (https://e621.net/posts) that's what I meant by it works in the viewer.

As the wiki states:

Simply create one [a tag script], select it, and click on a post thumbnail to apply the tag script in the background. The best way to illustrate how they work is through examples.

slocheze said:
This is the first I've heard of this TagMe thing and I have no idea what to do, but I'll try

I would suggest checking out the forum post about it: https://e621.net/forum_topics/27288

definitelynotafurry4 said:
Not exactly, they select the post's thumbnail from the post index (https://e621.net/posts) that's what I meant by it works in the viewer.

Oh, so it's done page by page. Kinda like how with that tampermonkey addon (re621? the one in the bio of the moderator with the smiling penguin icon I can't remember the name of) you can select which to download.

Also I signed into TagMe and clicked "Start Tagging" on the links you gave, but it's stuck on a grey loading icon with "#0 | Loading | history" underneath. Does it usually take a while to load a large range of images like this or is this my internet? I want to see what TagMe can do because it looks like a Smash-or-Pass style way of going through posts which is a GODLY way to sort through posts.

slocheze said:
Oh, so it's done page by page. Kinda like how with that tampermonkey addon (re621? the one in the bio of the moderator with the smiling penguin icon I can't remember the name of) you can select which to download.

Also I signed into TagMe and clicked "Start Tagging" on the links you gave, but it's stuck on a grey loading icon with "#0 | Loading | history" underneath. Does it usually take a while to load a large range of images like this or is this my internet? I want to see what TagMe can do because it looks like a Smash-or-Pass style way of going through posts which is a GODLY way to sort through posts.

It shouldn't, if you are properly signed in, I'd try a Ctrl+Shift+R to do a full refresh, and if that doesn't work, I'd check console (F12) for errors.

definitelynotafurry4 said:
It shouldn't, if you are properly signed in, I'd try a Ctrl+Shift+R to do a full refresh, and if that doesn't work, I'd check console (F12) for errors.

I've made another thread to keep my tech problems regarding this over there.

alphamule

Privileged

definitelynotafurry4 said:
It's not that simple, you have to select posts to apply tag scripts to. It doesn't fetch all posts with the condition to add them, it works from the viewer.

I made a couple tagme.dev projects if this is something that you actually want to handle:
For Nick: https://tagme.dev/projects/nick_wilde_spec
For the Hopps: https://tagme.dev/projects/hopps_species

This was the problem in the cub retagging project among other big recent ones. I saw a ton of exceptions that had to be tagged manually. Thankfully a lot of them ended up being present in other related BUR cleanups so I didn't have to do them each time. Tag scripts and clicking thumbnails or right-click-opening tabs to verify correct tags was a godsend.

  • 1