Fix direction, use of variable for stub threshold

This commit is contained in:
Brion Vibber 2005-02-21 06:07:52 +00:00
parent d44c5ba4f6
commit d458eefd9c

View file

@ -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;