From: Brion Vibber Date: Mon, 21 Feb 2005 06:07:52 +0000 (+0000) Subject: Fix direction, use of variable for stub threshold X-Git-Tag: 1.5.0alpha1~709 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=d458eefd9cdef2e95e279d899592f2ded94ce695;p=lhc%2Fweb%2Fwiklou.git Fix direction, use of variable for stub threshold --- 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;