Content deleted Content added
Updating published sources: WikiProjectWorker: * Start run for WikiProject Trains. |
Updating published sources: WikiProjectWorker: * Add tagging for UK task force. |
||
Line 47:
titles => 'User:NE2/TWP',
gpllimit => '100',
prop => 'templates',
tllimit => 'max',
},
);
Line 245 ⟶ 247:
$page=$api->query(
titles => $pg,
prop => 'templates',
tllimit => 'max',
);
if($page->{'code'} eq 'shutoff'){
Line 257 ⟶ 261:
}
if(grep($_->{'title'} eq 'Template:Infobox Closed London station', @{$page->{'templates'}}) ||
grep($_->{'title'} eq 'Template:Infobox GB station', @{$page->{'templates'}}) ||
grep($_->{'title'} eq 'Template:Infobox London station', @{$page->{'templates'}}) ||
grep($_->{'title'} eq 'Template:Infobox UK disused station', @{$page->{'templates'}}) ||
grep($_->{'title'} eq 'Template:Infobox UK heritage station', @{$page->{'templates'}}) ||
grep($_->{'title'} eq 'Template:WikiProject London Transport', @{$tok->{'templates'}})){
push @params, 'UK=yes';
push @params, 'UK-importance=';
}
push @params, 'stations=yes' if($pg=~/station|depot/i);
|