Content deleted Content added
Updating published sources: AnomieBOT::API: * Handle <code>undef</code>. BadImageTagger: * New task, currently on hold. ITNCArchiver: * Insert a comment indicating where to add new nominations. ShowByDateSubster: * Approved! * Mention {{para|demo}... |
Updating published sources: d::Redirects: * Redo redirects_to and redirects_to_resolved to use the new prop=redirects. Much faster and more accurate, but let's hope I didn't introduce any bugs. |
||
(2 intermediate revisions by the same user not shown) | |||
Line 62:
# Get template list
my %templates=$api->
if(exists($templates{''})){
if($templates{''}{'code'} eq 'shutoff'){
Line 94 ⟶ 93:
);
while(my $f=$iter->next){
$api->warn("Could not retrieve image info from iterator: ".$f->{'error'}."\n");
return 60;
}
next unless $f->{'imagerepository'} eq 'local' || $f->{'imagerepository'} eq 'shared';
$files{$f->{'title'}}=$f;
}
Line 107 ⟶ 110:
);
while(my $p=$iter->next){
if(!$p->{'_ok_'}){
$api->warn("Could not retrieve transclusions from iterator: ".$p->{'error'}."\n");
return 60;
}
$bl{$p->{'title'}}=1;
}
|