User:Dreamy Jazz Bot/Task 4

This task tags Template:WikiProject Biography on the talk pages of articles about dead persons who are included in a "year of death" category. The bot also auto assesses using two methods (the first is tried first, then the second): If an auto assess value is used for the class parameter, the auto parameter set to "inherit" when inheriting the class or "stub" when the second way is used. If no valid auto assess value is found, the bot simply does not add the class parameter.
 * The first way is using the rules at User:BU RoBOT/autoassess which in short auto assesses by inheriting the class from other projects. This is only done when all project templates have the same class rating. If there are differing class ratings or the inherited class is not one of the classes the bot allows inheriting for, the bot won't "inherit" the class.
 * The second way only is used when there are no project templates on the page with a defined class. If the said criterion is met, the bot checks if the article is in Category:All stub articles. If is is, then the bot will auto assess the article as a stub

This task respects nobots and will not modify the talk page if the WikiProject Biography template is transcluded already on the page. The bot also does not add the banner if it has already added it to the talk page before. The bot can be shutdown by deleting or adding content to either the Task 4 shutoff page or the main shutoff page. The main shutoff page stops all running tasks. Editors are asked to use the reason why they are stopping the bot as the content they add to the page.