Content deleted Content added
Updating published sources: WikiProjectTagger, AutoAssessor2: * Don't add useless "importance=" to WPBio template. |
Updating published sources: AutoAssessor2: * Remove debugging code. AnomieBOT::API: * Add a new setting, automaxlag, which can be used to turn off maxlag retries. * Also, automatically set it false when the bot is trying to halt. |
||
Line 26:
use strict;
use AnomieBOT::Task;
use vars qw/@ISA/;
Line 85 ⟶ 84:
my @x=(@{$page->{'categories'} // []},@{$page->{'templates'} // []},@{$talk->{'categories'} // []},@{$talk->{'templates'} // []});
my $mark=0;
$mark|=1 if grep($_->{'title'} eq 'Template:WPBiography', @x);
Line 98 ⟶ 96:
$mark|=8 if grep($_->{'title'} eq 'Category:Academic publishing', @x);
$mark|=16 if grep($_->{'title'} eq 'Template:WikiProject History of Science', @x);
if($mark&1){
|