Followup r83390, change cache modes
authorSam Reed <reedy@users.mediawiki.org>
Sun, 6 Mar 2011 18:16:44 +0000 (18:16 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 6 Mar 2011 18:16:44 +0000 (18:16 +0000)
includes/api/ApiQueryAllUsers.php
includes/api/ApiQueryUsers.php

index 5570e7d..60a2d2c 100644 (file)
@@ -228,7 +228,7 @@ class ApiQueryAllUsers extends ApiQueryBase {
        }
 
        public function getCacheMode( $params ) {
-               return 'public';
+               return 'anon-public-user-private';
        }
 
        public function getAllowedParams() {
index 2f454dd..355a338 100644 (file)
@@ -251,7 +251,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
                if ( isset( $params['token'] ) ) {
                        return 'private';
                } else {
-                       return 'public';
+                       return 'anon-public-user-private';
                }
        }