From: Brion Vibber Date: Wed, 11 Aug 2004 00:10:48 +0000 (+0000) Subject: Detail comment on the 'value' column X-Git-Tag: 1.5.0alpha1~2423 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=2e4b591ef603e9643f0d60c7ca22b633732d2bd9;p=lhc%2Fweb%2Fwiklou.git Detail comment on the 'value' column --- diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 57d412df61..92a9911e99 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -18,10 +18,13 @@ class QueryPage { # # Note that the query itself should return the following four columns: # 'type' (your special page's name), 'namespace', 'title', and 'value' - # *in that order*. 'value' is used for sorting. These may be stored in - # the querycache table for expensive queries, and that cached data will - # be returned sometimes, so the presence of extra fields can't be - # relied upon. + # *in that order*. 'value' is used for sorting. + # + # These may be stored in the querycache table for expensive queries, + # and that cached data will be returned sometimes, so the presence of + # extra fields can't be relied upon. The cached 'value' column will be + # an integer; non-numeric values are useful only for sorting the initial + # query. # # Don't include an ORDER or LIMIT clause, this will be added.