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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: WikiProjectWorker: * Copy-paste fail. * Mark non-talk as processed.
AnomieBOT (talk | contribs)
Updating published sources: WikiProjectWorker: * Don't choke when trying to assess talk pages for nonexistant subpages, just don't assess them.
Line 255:
$assess=$api->WPBassess($title);
if(ref($assess) eq 'HASH'){
$api->warnif("Processing $title failed: ".$assess->{'errorcode'}."\n" eq 'pagemissing');{
next; # No subject page, doesn't matter
$assess=undef;
} else {
$api->warn("Processing $title failed: ".$assess->{'error'}."\n");
next;
}
}
}