User:ImplSearchBot/Code: Difference between revisions

m
ImplSearchBot:0
m (ImplSearchBot:0)
m (ImplSearchBot:0)
Line 1:
<lang perl>#!/usr/bin/perl -w
#<nowiki>
 
use strict;
Line 150 ⟶ 149:
 
}
 
# To add here: Post stats on activities:
# 1. Pages edited
# 2. Time last run started
# 3. Time to completion from start to just prior to stat post point.
 
print "Updating bot code page\n";
Line 161 ⟶ 165:
close $sourcefile;
 
my $tag = "lang";
&postpage("User:ImplSearchBot/Code", "<lang perl>$botsource</lang>", 0);
 
&postpage("User:ImplSearchBot/Code", "<lang$tag perl>$botsource</lang$tag>", 0);
print "Done\n";
 
print "Done\n";
#</nowiki>
</lang>