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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: OnThisDayTagger: * Converted the template to Scribunto, so no more need to count the available parameters. Yay!
AnomieBOT (talk | contribs)
Updating published sources: d::Redirects: * Make resolve_redirects not get confused by circular redirects. * Fix a few modules that need the same thing.
Line 331:
my %pages=map { $_->{'title'}=>$_ } values %{$res->{'query'}{'pages'}};
foreach my $l (@l){
my $t=$api->apply_redirect_map( $l, \%map );
$t=$map{$t} while(exists($map{$t}));
if(!exists($pages{$t})){
$api->warn("No result for $l ".day("(%F)", $day)."\n");