Index: trunk/phase3/includes/Parser.php |
— | — | @@ -4074,9 +4074,10 @@ |
4075 | 4075 | $linkCache->addGoodLinkObj( $s->page_id, $title ); |
4076 | 4076 | $this->mOutput->addLink( $title, $s->page_id ); |
4077 | 4077 | |
4078 | | - $colours[$pdbk] = ( $s->page_len >= $threshold || # always true if $threshold <= 0 |
4079 | | - $s->page_is_redirect || |
4080 | | - !Namespace::isContent( $s->page_namespace ) |
| 4078 | + $colours[$pdbk] = ( $threshold == 0 || ( |
| 4079 | + $s->page_len >= $threshold || # always true if $threshold <= 0 |
| 4080 | + $s->page_is_redirect || |
| 4081 | + !Namespace::isContent( $s->page_namespace ) ) |
4081 | 4082 | ? 1 : 2 ); |
4082 | 4083 | } |
4083 | 4084 | } |