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

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * Handle multiple requests (on different talk pages) pointing to the same target page. * As a side effect, that fixes the problem where the request link is wrong if the request gets archived.
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * When template-protection was introduced with the ability to override the title blacklist, the logic was updated to consider it template-protection but the coloring code was still looking for it as full-pro...
Line 153:
# 4: User CSS/JS page
# 5: fully protected
# 6: "fully" protected via title blacklist
# 7: cascading protection
# 8: MediaWiki-namespace page
Line 304:
$pd->{'color'}=$colors->[2] if($protscore & 0x02);
}
if($protscore & 0x20){
$pd->{'color'}=$colors->[3] if($protscore & 0x20);
$pd->{'color'}=$colors->[4] if($protscore & 0x40);
if($protscore & 0x80){
$pd->{'color'}=$colors->[5];
$pd->{'color'}=$colors->[6] if($protscore & 0x02);
}
$pd->{'color'}=$colors->[4] if($protscore & 0x40);
$pd->{'color'}=$colors->[5] if($protscore & 0x80){;
$pd->{'color'}=$colors->[7] if($protscore & 0x100);
$pd->{'color'}=$colors->[8] if($protscore & 0x200);