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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: SourceUploader: * When I added "In trial", I forgot to update the always-present headers.
AnomieBOT (talk | contribs)
Updating published sources: SourceUploader: * Include a header in the TaskList subpage.
Line 230:
}
 
my $tasklist="<noinclude>\nThis page lists basic information about every task coded for this bot, including links to the bot approval and individual shutoff pages.\n\n== Tasks ==\n</noinclude>";
my $tasklist='';
foreach my $section (sort keys %tasks){
my @links=sort @{$tasks{$section}};
$section=~s/^(\d+) //;
my $n=$1;
$tasklist.="\n" if=== $tasklistsection ne ''===\n";
$tasklist.="=== $section ===\n";
if(@links){
$tasklist.="{| class=\"wikitable sortable\"\n";