Content deleted Content added
Updating published sources: PERTableUpdater: * Fix loading of blacklist from meta. AnomieBOT::API: * Add <code>$api->copy()</code> method. |
Updating published sources: SourceUploader: * Add some debugging and better error handling. |
||
Line 86:
my %new = ();
while(my ($k,$v) = each %old) {
$new{$k}{$v->{'talk'}} = $v if exists($v->{'talk'});
}
$api->store->{"$tag pages"} = \%new;
Line 230:
}
$api->store->{"$tag pages"}=\%pages;
$api->store->{"ver"} = 2;
if(%pages){
Line 384 ⟶ 385:
$txt.=qq(! Protection level\n);
$txt.=qq(! class = "unsortable" | Last protection log entry\n);
for my $p (sort { my $x = $a->{'touched'} <=> $b->{'touched'}; $x = $a->{'title'} cmp $b->{'title'} if $x == 0; return $x; } @pages){
my $c=$colors{$p->{'color'}};
my $t=$p->{'title'};
|