Danbooru

Let's stop using bold / italics / underline to indicate tag counts

Posted under General

Here's another idea: is it possible to tweak Danbooru's system and have a way to get the tag count automatically?

For example, typing this:

[count:blue_bikini]

...resulting in this, the tag count of blue bikini automatically up to date:

9986

I'm just asking because tag counts automatically appears everywhere, so there must be some function in place to do this already.

Danielx21 said:

Here's another idea: is it possible to tweak Danbooru's system and have a way to get the tag count automatically?

For example, typing this:

[count:blue_bikini]

...resulting in this, the tag count of blue bikini automatically up to date:

9986

I'm just asking because tag counts automatically appears everywhere, so there must be some function in place to do this already.

Even if we could do this (it's certainly possible, but I'm not sure what performance impact it might have, or how much alteration would need made to the codebase), I think having 1-7 digits next to each tag in a list would be very visually cluttered, and not so helpful. It might be harder to read than the current situation.

Shinjidude said:

Even if we could do this (it's certainly possible, but I'm not sure what performance impact it might have, or how much alteration would need made to the codebase), I think having 1-7 digits next to each tag in a list would be very visually cluttered, and not so helpful. It might be harder to read than the current situation.

Yeah, that's what I was thinking. I like the idea of having a general idea of where the tag counts are at on the meta-wiki pages, but the actual tag counts are unnecessary and cluttering like you said. Those interested can query the /tags endpoint, or better yet, a link can be provided somewhere on the page which will open up the /tags endpoint with the tags in the same order as on the wiki page.

I currently added such a link to the bottom of the List of animals wiki. There might be a better way to position or present such a link, but I went with that for now.

It looks like the following.

Current postcounts

1 2