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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: WikiProjectWorker: * Seems to be done.
AnomieBOT (talk | contribs)
Updating published sources: d::WikiProjectTagging: * Add change reporting to WPBfixshell(). * Have WPBfixshell() change shell to WPB if >=6 banners, WPBS if <=3. WikiProjectTagger: * End WP:LONDON run. Seems to have been finished anyway before Domas
Line 760:
next;
}
my $oldcat=$outtxtiter->iterval;
$outtxtsummary[-1]='and '.$apisummary[-1] if @summary>WPBfixshell($outtxt)1;
my $summary = ucfirst(join((@summary>2)?', ':' ', @summary))." per $req $errto";
 
my $cat@cleanup=$iter->iterval();
$outtxt=$api->WPBfixshell($outtxt, \@cleanup);
if(ref($outtxt) eq 'HASH'){
$api->warn("Processing $title failed: ".$outtxt->{'error'}."\n");
next;
}
push @$summary, .="; general banner cleanup (".join(', if', $outtxt@cleanup).")" neif $old@cleanup;
 
my $cat=$iter->iterval;
$summary[-1]='and '.$summary[-1] if @summary>1;
my $summary = ucfirst(join((@summary>2)?', ':' ', @summary))." per $req $errto";
$api->log("$summary in $title");
my $r=$api->edit($tok, $outtxt, $summary, 1, 1);