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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: SourceUploader: * Bugfix.
AnomieBOT (talk | contribs)
Updating published sources: OnThisDayTagger: * Finished processing the list, change to live mode for 7-day trial. * Track the maximum oldid/date parameter used, and complain if {{tl|OnThisDay}} can't handle it. * Include the date in the edit summary
Line 408:
return '99 Invalid metadata';
}
return "03 In trial" if($status=~/^In trial/);
return '99 Invalid metadata' if $botnum>0;
return "0304 In development" if($status eq 'Coding' || $status eq 'On hold');
return "0506 Past" if $status=~/^Completed \d{4}-\d{2}-\d{2}$/;
return '99 Invalid metadata' if($metadata{'brfa'} eq 'N/A');
return "0405 Awaiting approval" if($status eq 'BRFA');
return "0607 Withdrawn" if $status eq 'Withdrawn';
return "0708 Rejected" if $status=~/^Rejected \d{4}-\d{2}-\d{2}$/;
return '99 Invalid metadata';
}