Transfer of some suffering from regular users to stub link users
authorMr. E23 <e23@users.mediawiki.org>
Wed, 28 Jan 2004 13:01:07 +0000 (13:01 +0000)
committerMr. E23 <e23@users.mediawiki.org>
Wed, 28 Jan 2004 13:01:07 +0000 (13:01 +0000)
includes/Skin.php

index 6b87dbe..de8844e 100644 (file)
@@ -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 );