Room-11 / CVBacklog

StackOverflow CloseVote Backlog

Home Page:http://cvbacklog.gordon-oheim.biz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignore Protected/Reference Questions

opened this issue · comments

Right now the pinned cv-pls message in chat is marking the reference questions as cv-pls so they show up in the backlog. One of them is the operators reference which is marked as protected.

Can we have a whitelist in effect by having the backlog ignore protected questions? This way we can easily whitelist a question by marking it as protected. If the API does not allow fetching the protected status of the question, then an alternative would be to drop any question titles which begin with the string 'Reference ' from being added to the backlog.

Either the preg_match_all() regex can be modified to not match URLs that contain titles beginning with 'reference-' or drop it later on in the process in case title has been changed and canonical URL's title no longer matches. I'd make a commit, but I would just mess up all the OOP =oP

I've already implemented a blacklist a while ago. The backlog will ignore all question IDs in that list. I'll add the question IDs in the next days.

See 6c718d5 for reference.