Requested by @TechnoSquirrel69 on Discord
Feature summary (what you would like to be able to do and where):
- When a patroller marks an article as patrolled, do not give tray notification to article author for articles NOT in mainspace (e.g. draftspace, userspace, etc.)
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Benefits (why should this be implemented?):
- less confusing to draft article writers. would prevent questions such as https://en.wikipedia.org/wiki/User_talk:00ranges#query_about_meaning_of_%22reviewed%22
Notes
- the page curation toolbar doesn't even show up in draftspace. so the patroller must be using the [Mark this page as patrolled] link that shows up at the bottom right. therefore the code for this is probably in the onMarkPatrolledComplete hook
- root cause is that PageTriageUtil::getNamespaces() also includes draftspace. draftspace is odd because it does need to add entries to the pagetriage SQL tables so it shows up in the NewPagesFeed, but we do not display a Page Curation toolbar there and we do not want editors to get patrol notifications there