From d458eefd9cdef2e95e279d899592f2ded94ce695 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 21 Feb 2005 06:07:52 +0000 Subject: [PATCH] Fix direction, use of variable for stub threshold --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 8b883d2841..70a0bc1e2a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -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; -- 2.20.1