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

Content deleted Content added
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.
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * Since Module pages are so much like Templates, color them green too.
Line 119:
 
my @data=(
[[10,828],'PER','Wikipedia protected edit requests','protected','editprotected',[qw/red red red yellow clear yellow yellow/]],
[[10,828],'SPER','Wikipedia semi-protected edit requests','semi-protected','editsemiprotected',[qw/red clear yellow red red red red/]],
[ [0],'EDITREQ','Requested edits','COI','requestedit',[qw/clear yellow yellow red red red red/]],
);
my $starttime=time;
Line 238:
}
$pd->{'color'}=$colors->[6] if($protscore & 0x80);
$pd->{'color'}='green' if($pd->{'color'} eq 'clear' && grep($p->{'ns'}==$_, @$greenns));
 
if($pd->{'reason'} eq ''){