Rationale: * The spoilers tag is the most frequently removed tag from the default blacklist. * It's frustrating for regular users to have posts randomly hidden because of trivial spoilers from a series they don't care about. * The spoilers tag is used way too liberally for things that aren't considered spoilers on other sites. * If you're looking up fanart on the internet, you should expect to see a certain level of spoilers. * The tag is used very inconsistently, with some characters like Nia_(blade)_(xenoblade) getting the spoilers tag half the time and the rest of the time not.
19 lines
1.1 KiB
Ruby
Executable File
19 lines
1.1 KiB
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
require_relative "base"
|
|
|
|
with_confirmation do
|
|
User.where(blacklisted_tags: "spoilers\nguro\nscat\nfurry -rating:s").update_all(blacklisted_tags: User::DEFAULT_BLACKLIST)
|
|
User.where(blacklisted_tags: "spoilers\r\nguro\r\nscat\r\nfurry -rating:s").update_all(blacklisted_tags: User::DEFAULT_BLACKLIST)
|
|
User.where(blacklisted_tags: "spoilers\r\nguro\r\nscat\r\nfurry -rating:s\r\n").update_all(blacklisted_tags: User::DEFAULT_BLACKLIST)
|
|
|
|
User.where(blacklisted_tags: "spoilers\nguro\nscat").update_all(blacklisted_tags: "guro\nscat")
|
|
User.where(blacklisted_tags: "spoilers\r\nguro\r\nscat").update_all(blacklisted_tags: "guro\nscat")
|
|
User.where(blacklisted_tags: "spoilers\r\nguro\r\nscat\r\n").update_all(blacklisted_tags: "guro\nscat")
|
|
|
|
User.where(blacklisted_tags: "spoilers\nscat\nfurry -rating:s").update_all(blacklisted_tags: "scat\nfurry -rating:s")
|
|
User.where(blacklisted_tags: "spoilers\r\nscat\r\nfurry -rating:s").update_all(blacklisted_tags: "scat\nfurry -rating:s")
|
|
|
|
User.where(blacklisted_tags: "spoilers\nguro\nscat\nfurry -rating:s\nyaoi").update_all(blacklisted_tags: "guro\nscat\nfurry -rating:s\nyaoi")
|
|
end
|