[Bug] Apply Tag Rules does not working properly with sad panda tags. #592
-
|
LRR Version and OS Bug Details |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I don't see the problem, it seems to work as expected. The tag returned by the API is: other:already uploadedSo the rule should be: -other:already uploaded
~other
-already uploadedThis sequence of rules will strip the namespace (from all the tags with that namespace) and then it will remove the tag so you won't have to write: -other:already uploaded
-already uploadedThe same goes for the substitution. You can't write the rule: mind control -> MCand expect it to work to replace the string "mind control" regardless of the namespace like in this example: mind control ---> MC
female:mind control ---> female:MC
foo:mind control ---> foo:MC
bar:mind control ---> bar:MC
xpto:mind control ---> xpto:MCIf you want a rule to do that, it should be something like |
Beta Was this translation helpful? Give feedback.
-
|
Looks like expected behavior indeed on that one -- Converting to a Q&A discussion. Thanks for clarifying, @IceBreeze! |
Beta Was this translation helpful? Give feedback.

I don't see the problem, it seems to work as expected. The tag returned by the API is:
So the rule should be:
other:is a namespace on par withfemale:and I don't feel like treating it differently.However, due to the fact that the rules are applied sequentially to every tag, there is a small undocumented trick you can use if you want to treat
other:like a "virtual" namespace:This sequence of rules will strip the namespace (from all the tags with that namespace) and then it will remove the tag so you won't have to write:
The same goes for the substitution. You can't write t…