Content deleted Content added
Updating published sources: General: * BREAKING CHANGE: Split d::Util into several different modules. * Many tasks updated to use log/debug instead of warn. AnomieBOT::API: * Moved warn back into AnomieBOT::API. * New functions: log, debug, halting * |
Updating published sources: General: * Fix newline handling in log messages. |
||
Line 195:
}
$api->log("Assessing $title
# Ok, check the page
Line 278:
$found[-1]='and '.$found[-1] if @found>1;
my $summary="Assessing ".join((@found>2)?', ':' ', @found)." per $req";
$api->log("$summary in $talk
my $r=$api->edit($tok, $outtxt, $summary, 1, 1);
if($r->{'code'} ne 'success'){
Line 285:
}
} else {
$api->log("Nothing to do in $talk
}
|