API: Change descriptions for some limit parameters to actually refer to the correct...
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 22 Jul 2008 13:26:15 +0000 (13:26 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 22 Jul 2008 13:26:15 +0000 (13:26 +0000)
includes/api/ApiQueryAllimages.php
includes/api/ApiQueryCategories.php
includes/api/ApiQueryExtLinksUsage.php
includes/api/ApiQueryLinks.php
includes/api/ApiQueryRecentChanges.php
includes/api/ApiQueryWatchlist.php

index 11430ae..f8abaaf 100644 (file)
@@ -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',
index 16a09ec..8f7949a 100644 (file)
@@ -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',
                );
        }
index e0b1eac..149c125 100644 (file)
@@ -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.'
                );
        }
 
index 6bbd893..4c76449 100644 (file)
@@ -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',
                );
        }
index ae024ed..14d6354 100644 (file)
@@ -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.'
                );
        }
 
index 80bdd5d..17467e0 100644 (file)
@@ -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.',