From 2e4b591ef603e9643f0d60c7ca22b633732d2bd9 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 11 Aug 2004 00:10:48 +0000 Subject: [PATCH] Detail comment on the 'value' column --- includes/QueryPage.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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. -- 2.20.1