Danbooru

New feature: related tag search by wiki

Posted under General

This is something I've been wanting to implement in awhile. You can now search for related tags by wiki. What this will do is search the wiki page for a tag (if one exists) and pull any internal wiki links and display them in a list for you to select. What I'd like to be able to do is do a wiki search on a copyright tag and get a list of characters, but there are other use cases.

Pattern searches have also been fixed so a related tag search on striped_* now works as expected.

Updated by KeliraTelian

Nice, this should be quite useful. I always found it slightly annoying when a bunch of touhou (or other cosplay/parody) characters would show up on a related character search for some random series, forcing you to sift through them to find appropriate tags.

That wording may cause misunderstandings. It just searches the wiki of the tag, copies all internal wiki links from that page, and shows them. It doesn't show "what pages link back to said tag".
Example:
ushiromiya_ange shows hair_bobbles, red_hair, umineko_no_naku_koro_ni
hair_bobbles shows hair_ornament only, not ushiromiya_ange

I thought about an additional field in the wiki for characters in which the characters' default appearance (general) tags are added from head to toe, which, only if it exists, replaces the "related tags". Now, this wiki search could be used to do exactly that (without the "replacing"), so that uploaders who don't know much about the characters and their clothes can easily look them up.

I noticed an error in post #840377.
div#related > div.tag-column has height: 35em and there is an overflow in flowers and breasts.

Also, tags can appear more than once in the "wiki search" results. (the same number of times they are in the wiki)

Updated

1