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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: WatchlistUpdater: * Add subpages of User:MediationBot to User:AnomieBOT/index, and create User:Anomie/index.
AnomieBOT (talk | contribs)
Updating published sources: WatchlistUpdater: * Fix line breaks in section header/footer for User:AnomieBOT/nobots tests
Line 166:
summary => 'Automatically updating list of bot exclusion tests',
botflag => 1,
outprefix => sub { "{{div col}}\n" },
keyforpage => sub { my $t=$_[0]{'title'}; return $t unless $t=~/ (\d+)$/; return sprintf("%08d", $1)."|$t"; },
outformat => sub {
Line 174:
},
outerror => sub { "* <strong class=\"error\">".$_[1]."</strong>\n" },
outsuffix => sub { "\n{{div col end}}" }
}
);