Fix direction, use of variable for stub threshold
This commit is contained in:
parent
d44c5ba4f6
commit
d458eefd9c
1 changed files with 1 additions and 1 deletions
|
|
@ -2806,7 +2806,7 @@ class Parser
|
|||
|
||||
if ( $threshold > 0 ) {
|
||||
$size = $s->page_len;
|
||||
if ( $s->page_is_redirect || $s->page_namespace != 0 || $length < $threshold ) {
|
||||
if ( $s->page_is_redirect || $s->page_namespace != 0 || $size >= $threshold ) {
|
||||
$colours[$pdbk] = 1;
|
||||
} else {
|
||||
$colours[$pdbk] = 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue