Content deleted Content added
Updating published sources: WikiProjectWorker: * Done several days ago, forgot to turn it off. |
Updating published sources: WikiProjectWorker: * Start run for WikiProject Geology. |
||
Line 33:
### Request link, for edit summary.
my $req="[[User:AnomieBOT/req/WikiProject
### Increment this number every time a new run is started, so we don't have to
### mess around with deleting previous runs' database entries.
my $seq=
### How to find the pages?
my @cats=(
'Category:
);
my @iterators=(
Line 76 ⟶ 61:
### How to copy other projects' assessments
sub copy_class {
#return ($_[0]->WPBmax($_[2]))[0];
}
sub copy_importance {
#return ($_[0]->WPBmax($_[2]))[1];
}
# Banner configurations.
my $main_banner='WikiProject
my @preprocess_templates=();
my %banner_cfgs=(
'WikiProject
meta => 1,
canonicalize => 'WikiProject
},
);
Line 219 ⟶ 204:
$assess=undef;
push @params, "class=$class";
my $imp = copy_importance($api, $title, $intxt);
if(ref($imp) eq 'HASH'){
$api->warn("Processing $title failed: ".$imp->{'error'}."\n");
next;
}
push @params, "importance=$imp" if ($imp//'') ne '';
}
if(1){ # Always copy importance?
my $imp = copy_importance($api, $title, $intxt);
if(ref($imp) eq 'HASH'){
|