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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * Also escape tildes, and strip pipe trick and reverse pipe trick.
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * If the subjectspace page does not exist, list all TitleBlacklist matches instead of just those with 'noedit'. Well, except 'moveonly' or 'newaccountonly' rules.
Line 114:
# Let's just hope no one ever uses {{int:}} here...
 
$tb{$re}={ source=>"[[$page|$k]]", line=>$line, opts=>\%opts } ifunless(($opts{'moveonly'}//0) || ($opts{'noeditnewaccountonly'}//0));
}
}
Line 197:
while(my ($re,$data)=each %tb){
next unless $t=~/^(?:$re)$/si;
next unless(exists($p->{'missing'}) || ($data->{'opts'}{'noedit'}//0));
my $sc=exists($data->{'opts'}{'autoconfirmed'})?0x12:0x42;
next if $sc<$protscore;