User:ImplSearchBot/Code: Difference between revisions

Content added Content deleted
m (ImplSearchBot:0)
m (ImplSearchBot:0)
Line 1: Line 1:
<lang perl>#!/usr/bin/perl -w
<lang perl>#!/usr/bin/perl -w
#<nowiki>


use strict;
use strict;
Line 150: Line 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";
print "Updating bot code page\n";
Line 161: Line 165:
close $sourcefile;
close $sourcefile;


my $tag = "lang";
&postpage("User:ImplSearchBot/Code", "<lang perl>$botsource</lang>", 0);


&postpage("User:ImplSearchBot/Code", "<$tag perl>$botsource</$tag>", 0);
print "Done\n";


print "Done\n";
#</nowiki>
</lang>
</lang>