Content deleted Content added
Updating published sources: DatedCategoryCreator: * Handle Category:Clean-up categories specially. |
Updating published sources: DatedCategoryCreator: * Use correct key from allcategories response. |
||
(2 intermediate revisions by the same user not shown) | |||
Line 173:
next unless $c->{'category'} =~ / $monthre \d{4}$/;
next if $c->{'hidden'} || $c->{'size'} <= 0;
next if exists( $did{'Category:' . $c->{'
$did{'Category:' . $c->{'
$res = $self->make_dated_cat( $api, 'Category:' . $c->{'category'}, 'non-empty month' );
return $res if $res;
}
Line 215:
return 0 if $y>$t[5]+1900;
return 0 if($y==$t[5]+1900 && $monthnum{$m}>$t[4]+1);
return 0 if(!exists($oldcats{$parent}) && $y<
# Check whether the parent cat actually exists and is a subcat of the meta
|