Content deleted Content added
Updating published sources: OnThisDayTagger: * List of historical anniversaries was moved to List of days of the year, skip that too. |
Updating published sources: OnThisDayTagger: * Don't skip "1" for {{tl|ArticleHistory}}. |
||
Line 680:
# Find next unused number, and check which dates aren't already used
my %p=();
my $mx=
foreach (@$params){
$mx=$1 if(/^\s*otd(\d+)(?:date|oldid)\s*=/ && $mx < $1);
$mx=1 if(/^\s*otd(?:date|oldid)\s*=/ && $mx < 1);
if(/^\s*(otd\d*date)\s*=\s*(\d{4}-\d{2}-\d{2})\s*$/){
$p{$1}=$2;
|