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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * Create User:AnomieBOT/TPERTable for template-protected
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * Template-editors can edit through title blacklist protection.
Line 141:
# 4: User CSS/JS page
# 5: fully protected
# 6: fully protected via title blacklist,
or # 7: cascading protection
# 78: MediaWiki-namespace page
my @data=(
[[10,828],'PER','Wikipedia protected edit requests','protected','editprotected','x-wp-editprotected',[qw/red red red red yellow clear yellow yellow yellow/]],
[[10,828],'TPER','Wikipedia template-protected edit requests','template-protected','edittemplateprotected','x-wp-edittemplateprotected',[qw/red red red clear red red yellow red red/]],
[[10,828],'SPER','Wikipedia semi-protected edit requests','semi-protected','editsemiprotected','x-wp-editsemiprotected',[qw/red clear yellow red red red red red red/]],
[[0],'EDITREQ','Requested edits','COI','requestedit','x-wp-requestedit',[qw/clear yellow yellow red red red red red/]],
);
Line 296 ⟶ 297:
$pd->{'color'}=$colors->[6] if($protscore & 0x02);
}
$pd->{'color'}=$colors->[67] if($protscore & 0x100);
$pd->{'color'}=$colors->[78] if($protscore & 0x200);
$pd->{'color'}='green' if($pd->{'color'} eq 'clear' && grep($p->{'ns'}==$_, @$greenns));