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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: TemplateReplacer12: * Completed.
AnomieBOT (talk | contribs)
Updating published sources: General: * BREAKING CHANGE: Due to the upcoming API breaking change, the functionality of $api->query() has changed to automatically continue over most property requests. $task->fullquery() is now redundant and has been re
Line 70:
foreach my $template (@templates){
$templates{"Template:$template"}=$tf{$template};
$res=$selfapi->fullqueryquery($api, undef[],
list => 'backlinks',
bltitle => "Template:$template",
Line 81:
# Before starting, get the list of alternate names for our target
my %WPF=('Template:Film'=>1);
$res=$selfapi->fullqueryquery($api, undef[],
list => 'backlinks',
bltitle => 'Template:Film',
Line 96:
while(my ($t,$c)=each %B){
$WPB{$t}=$c;
$res=$selfapi->fullqueryquery($api, undef[],
list => 'backlinks',
bltitle => $t,