Content deleted Content added
Updating published sources: WikiProjectWorker: * Start run for WikiProject California d::WikiProjectTagging: * WPBmin/WPBmax fix for comments in the value. |
Updating published sources: General: * BREAKING CHANGE: Split d::Util into several different modules. * Many tasks updated to use log/debug instead of warn. AnomieBOT::API: * Moved warn back into AnomieBOT::API. * New functions: log, debug, halting * |
||
Line 102:
my $res;
$api->task('WikiProjectWorker', 0, 10, qw/
my $errto = 'Errors? [[User:'.$api->user.'/shutoff/WikiProjectWorker]]';
Line 135:
my $title=filter($page);
if(!defined($title)){
$api->
$api->store->{$pageid}=$seq;
next;
Line 150:
}
if(($tok->{'ns'}&1)==0){
$api->
$api->store->{$pageid}=$seq;
next;
}
if(exists($tok->{'redirect'})){
$api->
$api->store->{$pageid}=$seq;
next;
}
$api->
my $intxt=exists($tok->{'revisions'}[0]{'*'})?$tok->{'revisions'}[0]{'*'}:'';
Line 234:
my $cat=$iter->iterval;
my $summary="Assessing for WikiProject California per $req $errto";
$api->
my $r=$api->edit($tok, $outtxt, $summary, 1, 1);
if($r->{'code'} ne 'success'){
Line 241:
}
} else {
$api->
}
|