r0d3n7z said:
Thinking more about it, blacklist:only isn't actually necessary, blacklist:show would suffice for the tag gardening use case. I'd be okay if we only had blacklist:hide/show/exclude.
blacklist:exclude can be abused the same way as blacklist:only can. The user simply needs to negate every tag. e.g. If they want to search for test1 test2 test3 -test4 they put into their blacklist:
-test1
-test2
-test3
test4
and search blacklist:exclude.
r0d3n7z said:
Insofar as query cost goes, as things are currently we already incur the cost of joining tag search results with user blacklist tags in order to style the <article> tag with class blacklisted, so I reasoned that the only additional cost for blacklist:exclude/only would be an additional restriction (in the relational algebra sense of the word)...
Not sure I understand what you mean. Current blacklist implementation incurs no sql query costs at all. It's all javascript.