Content deleted Content added
Updating published sources: TemplateReplacer12: * Completed. |
Updating published sources: SourceUploader: * Sort directory pages by last modified date. * Use <nowiki><syntaxhighlight></nowiki> instead of <nowiki><source></nowiki>. d::NoWiki: * Add support for <nowiki><syntaxhighlight></nowiki>. General: * Vario |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1:
{{ombox|type=content|style=border:1px solid #b22222|image=[[Image:Ambox warning pn.svg|40px]]|text= Due to breaking changes in AnomieBOT::API, this task will probably not run anymore. If you really must run it, try getting a version from before 2009-03-23.}}
{{ombox|type=notice|text= Approved 2009-01-16, Completed 2009-01-19<br />[[Wikipedia:Bots/Requests for approval/AnomieBOT 23]]}}
<
package tasks::TemplateReplacer12;
=pod
=for warning
Due to breaking changes in AnomieBOT::API, this task will probably not run
anymore. If you really must run it, try getting a version from before
2009-03-23.
=begin metadata
Bot: AnomieBOT
Task: TemplateReplacer12
BRFA: Wikipedia:Bots/Requests for approval/AnomieBOT 23
Status: Completed 2009-01-19
Created: 2009-01-15
Replace {{tlx|Film needs cast section}}, {{tlx|Filmimage}}, and {{tlx|Film
Line 70 ⟶ 77:
foreach my $template (@templates){
$templates{"Template:$template"}=$tf{$template};
$res=$
list => 'backlinks',
bltitle => "Template:$template",
Line 81 ⟶ 88:
# Before starting, get the list of alternate names for our target
my %WPF=('Template:Film'=>1);
$res=$
list => 'backlinks',
bltitle => 'Template:Film',
Line 96 ⟶ 103:
while(my ($t,$c)=each %B){
$WPB{$t}=$c;
$res=$
list => 'backlinks',
bltitle => $t,
Line 251 ⟶ 258:
1;
</syntaxhighlight>
|