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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: LanguageCategoryCreator: * <code>action=parse&onlypst</code> as used here doesn't need <code>prop</code>.
AnomieBOT (talk | contribs)
Updating published sources: LanguageCategoryCreator: * In trial for 28 days.
Line 1:
{{ombox|type=notice|text= Approval requested, in trial until May 27.<br />[[Wikipedia:Bots/Requests for approval/AnomieBOT 84]]}}
<syntaxhighlight lang="perl">
package tasks::LanguageCategoryCreator;
Line 10:
Task: LanguageCategoryCreator
BRFA: Wikipedia:Bots/Requests for approval/AnomieBOT 84
Status: BRFAIn trial
Created: 2025-04-10
 
Line 42:
 
=for info
Approval requested, in trial until May 27.<br />[[Wikipedia:Bots/Requests for approval/AnomieBOT 84]]
 
=cut
 
sub approved {
return 02;
}
 
Line 53:
my ($self, $api)=@_;
 
$api->task('LanguageCategoryCreator',0,0,qw/d::Talk d::Redirects d::Templates d::Trial/);
$screwup='Report errors at [[User:'.$api->user.'/shutoff/LanguageCategoryCreator]]';
 
my $trial = $api->check_trial( timegm( 0, 45, 14, 29 + 28, 3, 125 ), 'AnomieBOT 84' );
return $$trial if $trial;
 
my $cont = $self->{'dbcontinue'} // '';