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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: DatedCategoryCreator: * Stop creating categories older than 2010. It seems "200X" as a typo for "202X" is fairly common.
AnomieBOT (talk | contribs)
Updating published sources: DatedCategoryCreator: * Use correct key from allcategories response.
 
Line 173:
next unless $c->{'category'} =~ / $monthre \d{4}$/;
next if $c->{'hidden'} || $c->{'size'} <= 0;
next if exists( $did{'Category:' . $c->{'titlecategory'}} );
$did{'Category:' . $c->{'titlecategory'}}=1;
$res = $self->make_dated_cat( $api, 'Category:' . $c->{'category'}, 'non-empty month' );
return $res if $res;