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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: DeletionSortingCleaner: * Clean up logging
AnomieBOT (talk | contribs)
Updating published sources: DeletionSortingCleaner: * Log when a linked XfD is missing, instead of just erroring out later.
Line 153:
$api->warn("Failed to get edit token for $name: ".$xfdtok->{'error'}."\n");
$broken=1;
return undef;
}
if(exists($xfdtok->{'missing'})){
# WTF?
$api->warn("XfD page $name linked from $page does not exist\n");
return undef;
}