From: Mr. E23 Date: Wed, 28 Jan 2004 13:01:07 +0000 (+0000) Subject: Transfer of some suffering from regular users to stub link users X-Git-Tag: 1.3.0beta1~1086 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=e9a6368ee71977e2163d81420cdec943a4f415b7;p=lhc%2Fweb%2Fwiklou.git Transfer of some suffering from regular users to stub link users --- diff --git a/includes/Skin.php b/includes/Skin.php index 6b87dbe80a..de8844e972 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1285,7 +1285,7 @@ class Skin { } else { $threshold = $wgUser->getOption("stubthreshold") ; if ( $threshold > 0 ) { - $res = wfQuery ( "SELECT HIGH_PRIORITY length(cur_text) AS x, cur_namespace, cur_is_redirect FROM cur WHERE cur_id='{$aid}'", DB_READ ) ; + $res = wfQuery ( "SELECT LENGTH(cur_text) AS x, cur_namespace, cur_is_redirect FROM cur WHERE cur_id='{$aid}'", DB_READ ) ; if ( wfNumRows( $res ) > 0 ) { $s = wfFetchObject( $res );