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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: DeletionSortingCleaner: * Approved!
AnomieBOT (talk | contribs)
Updating published sources: DeletionSortingCleaner: * Shorten edit summary on the main deletion sorting pages
Line 80:
return $t if $t>0;
 
my $screwup=' Errors? ([[User:'.$api->user.'/shutoff/DeletionSortingCleaner|errors?]])';
my $broken=0;
 
Line 245:
# Now do the saving
if($outtxt ne $intxt){
$res=$api->edit($tok, $outtxt, "Archiving closed XfDs to [[$page/archive|Archiving closed XfDs]]".$screwup, 0, 1);
if($res->{'code'} ne 'success'){
$api->warn("Save failed for $page: ".$res->{'error'}."\n");