From: Roan Kattouw Date: Tue, 22 Jul 2008 13:26:15 +0000 (+0000) Subject: API: Change descriptions for some limit parameters to actually refer to the correct... X-Git-Tag: 1.31.0-rc.0~46421 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=dde1b39e7e45e75a26667829579904ebebf83df3;p=lhc%2Fweb%2Fwiklou.git API: Change descriptions for some limit parameters to actually refer to the correct type of result --- diff --git a/includes/api/ApiQueryAllimages.php b/includes/api/ApiQueryAllimages.php index 11430ae79d..f8abaafe88 100644 --- a/includes/api/ApiQueryAllimages.php +++ b/includes/api/ApiQueryAllimages.php @@ -177,7 +177,7 @@ class ApiQueryAllimages extends ApiQueryGeneratorBase { 'dir' => 'The direction in which to list', 'minsize' => 'Limit to images with at least this many bytes', 'maxsize' => 'Limit to images with at most this many bytes', - 'limit' => 'How many total pages to return.', + 'limit' => 'How many total images to return.', 'sha1' => 'SHA1 hash of image', 'sha1base36' => 'SHA1 hash of image in base 36 (used in MediaWiki)', 'prop' => 'Which properties to get', diff --git a/includes/api/ApiQueryCategories.php b/includes/api/ApiQueryCategories.php index 16a09ecb4b..8f7949aa97 100644 --- a/includes/api/ApiQueryCategories.php +++ b/includes/api/ApiQueryCategories.php @@ -180,7 +180,7 @@ class ApiQueryCategories extends ApiQueryGeneratorBase { public function getParamDescription() { return array ( 'prop' => 'Which additional properties to get for each category.', - 'limit' => 'How many langlinks to return', + 'limit' => 'How many categories to return', 'continue' => 'When more results are available, use this to continue', ); } diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index e0b1eacb99..149c125afd 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -191,7 +191,7 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { 'Leave both this and euquery empty to list all external links'), 'query' => 'Search string without protocol. See [[Special:LinkSearch]]. Leave empty to list all external links', 'namespace' => 'The page namespace(s) to enumerate.', - 'limit' => 'How many entries to return.' + 'limit' => 'How many pages to return.' ); } diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index 6bbd893ec5..4c76449032 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -192,7 +192,7 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { { return array( 'namespace' => "Show {$this->description}s in this namespace(s) only", - 'limit' => 'How many links to return', + 'limit' => "How many {$this->description}s to return", 'continue' => 'When more results are available, use this to continue', ); } diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index ae024ed88e..14d63548b1 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -394,7 +394,7 @@ class ApiQueryRecentChanges extends ApiQueryBase { 'For example, to see only minor edits done by logged-in users, set show=minor|!anon' ), 'type' => 'Which types of changes to show.', - 'limit' => 'How many total pages to return.' + 'limit' => 'How many total changes to return.' ); } diff --git a/includes/api/ApiQueryWatchlist.php b/includes/api/ApiQueryWatchlist.php index 80bdd5d599..17467e041d 100644 --- a/includes/api/ApiQueryWatchlist.php +++ b/includes/api/ApiQueryWatchlist.php @@ -305,7 +305,7 @@ class ApiQueryWatchlist extends ApiQueryGeneratorBase { 'end' => 'The timestamp to end enumerating.', 'namespace' => 'Filter changes to only the given namespace(s).', 'dir' => 'In which direction to enumerate pages.', - 'limit' => 'How many total pages to return per request.', + 'limit' => 'How many total results to return per request.', 'prop' => 'Which additional items to get (non-generator mode only).', 'show' => array ( 'Show only items that meet this criteria.',