-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve redundant methods of creating tag implications #1371
Comments
@shish Requesting your thoughts on this. I'm happy to try and get the code side done but I need to know which direction to go in :) |
(I am afk at the moment and won't have laptop access until Monday, but I've added a calendar entry to remind me to get to this then ^^ But yes it is definitely an unintentional oversight that we ended up with two ways to do the same thing 👀) |
Random brain-dumping and thinking out loud as I'm not certain yet:
|
I'm going to need to think more about whether the single table idea is appropriate. You're right that they're both mapping Hydrus's alias and implication documentation says:
e621's implication help page mentions:
Danbooru's alias help page also brings up their alias chaining rules:
I'm leaning towards blocking them, it seems more dangerous than useful. For that example, Danbooru surprisingly has 12 results for |
A tag implication (aka. tag parent) is when a tag logically implies another: a
fox
is always acanine
,animal
. It is similar to a tag alias (aka. tag sibling) where two tags have the same meaning:smiling
is another way of taggingsmile
.There are currently two ways to create tag implications:
fox
->fox canine animal
[1], which has recently been officially recognised on the tag alias settings page[2].Both are being used by Shimmie admins and having two ways to tag implications seems like a maintenance and administrative problem. The first is hacky (even if valid) and the second is a misleadingly-named optional extension. I propose they be consolidated into a core extension (like Alias Editor already is), which creates an Implications tab next to Aliases.
I think the best option is to duplicate the aliases table and page, rename and polish it, and then write a SQL migration script to convert any existing Auto-tagger entries to the implications table, and to convert implication-aliases to become implications, and then finally add an input validation check to prevent new aliases being abused as implications. This allows the Auto-tagger extension to be removed.
The text was updated successfully, but these errors were encountered: