User:AnomieBOT/source/tasks/AFDMergeFromCleaner.pm: Difference between revisions

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: AFDMergeFromCleaner: * Bah, the "nextrun" variable wasn't being loaded correctly. Fix that. * Also, trim "|}" from the end of the last table entry when parsing them. * And don't update the report with incomplete data.
AnomieBOT (talk | contribs)
Updating published sources: WikiProjectTagger: * Update config for new run for WP:SPIRITS. AFDMergeFromCleaner: * This time for sure! (nextrun was still b0rken)
Line 49:
my ($self, $api)=@_;
my $res;
 
$api->task('AFDMergeFromCleaner');
$api->read_throttle(0);
$api->edit_throttle(10);
 
if($self->{'nextrun'}==0){
Line 57 ⟶ 61:
my $t=$self->{'nextrun'}-$starttime;
return $t if $t>0;
 
$api->task('AFDMergeFromCleaner');
$api->read_throttle(0);
$api->edit_throttle(10);
 
my @templates=('Afd-mergefrom');