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

Content deleted Content added
AnomieBOT (talk | contribs)
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 *
AnomieBOT (talk | contribs)
Updating published sources: General: * Fix newline handling in log messages.
Line 116:
}
 
$api->log("Checking for $template in $title\n");
 
# WTF?
Line 206:
if($outtxt ne $intxt){
my $summary="Removing obsolete {{$template}}";
$api->log("$summary in $title\n");
my $r=$api->edit($tok, $outtxt, $summary.$screwup, 1, 1);
if($r->{'code'} ne 'success'){
Line 264:
if($outtxt ne $intxt){
my $summary="Updating list of non-matching merges";
$api->log("$summary in $report\n");
my $r=$api->edit($tok, $outtxt, $summary.$screwup, 1, 1);
if($r->{'code'} ne 'success'){