From 1da2cd2ddec81f9b1e66266cc4f88aa33865596a Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 3 Jan 2011 20:41:22 +0000 Subject: [PATCH] Move comment about groups potentially returning less results from server. Comment out description line about rights from ApiQueryUsers, as that prop doesn't exist (Might do in future. Possible artifact from large scale comment addition?) --- includes/api/ApiQueryAllUsers.php | 4 ++-- includes/api/ApiQueryUsers.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index 5a891f5b0e..2a6fa1db83 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -243,10 +243,10 @@ class ApiQueryAllUsers extends ApiQueryBase { 'prop' => array( 'What pieces of information to include.', ' blockinfo - Adds the information about a current block on the user', - ' groups - Lists groups that the user is in', + ' groups - Lists groups that the user is in. This uses more server resources and may return fewer results than the limit', ' editcount - Adds the edit count of the user', ' registration - Adds the timestamp of when the user registered', - '`groups` property uses more server resources and may return fewer results than the limit' ), + ), 'limit' => 'How many total user names to return', 'witheditsonly' => 'Only list users who have made edits', ); diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php index d9704b5dbe..3432d15b73 100644 --- a/includes/api/ApiQueryUsers.php +++ b/includes/api/ApiQueryUsers.php @@ -273,7 +273,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { 'What pieces of information to include', ' blockinfo - Tags if the user is blocked, by whom, and for what reason', ' groups - Lists all the groups the user(s) belongs to', - ' rights - Lists all the rights the user(s) has', + //' rights - Lists all the rights the user(s) has', ' editcount - Adds the user\'s edit count', ' registration - Adds the user\'s registration timestamp', ' emailable - Tags if the user can and wants to receive e-mail through [[Special:Emailuser]]', -- 2.20.1