From 68ff239ac4927306e5393107502dfbf3208a8949 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 15 May 2010 11:07:31 +0000 Subject: [PATCH] Minor part of bug 23473 - For the top level ApiMain/ApiQuery modules, note that module help is available before Minor comment tweak to ApiQueryIWLinks --- includes/api/ApiMain.php | 2 +- includes/api/ApiQuery.php | 6 +++--- includes/api/ApiQueryIWLinks.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 89469c7380..43f4fc07c7 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -607,7 +607,7 @@ class ApiMain extends ApiBase { public function getParamDescription() { return array( 'format' => 'The format of the output', - 'action' => 'What action you would like to perform', + 'action' => 'What action you would like to perform. See below for module help', 'version' => 'When showing help, include version for each module', 'maxlag' => 'Maximum lag', 'smaxage' => 'Set the s-maxage header to this many seconds. Errors are never cached', diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index af7f830406..7274890533 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -568,9 +568,9 @@ class ApiQuery extends ApiBase { public function getParamDescription() { return array( - 'prop' => 'Which properties to get for the titles/revisions/pageids', - 'list' => 'Which lists to get', - 'meta' => 'Which metadata to get about the site', + 'prop' => 'Which properties to get for the titles/revisions/pageids. Module help is available below', + 'list' => 'Which lists to get. Module help is available below', + 'meta' => 'Which metadata to get about the site. Module help is available below', 'generator' => array( 'Use the output of a list as the input for other prop/list/meta items', 'NOTE: generator parameter names must be prefixed with a \'g\', see examples' ), 'redirects' => 'Automatically resolve redirects', diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php index 8f90ebeca3..5136405594 100644 --- a/includes/api/ApiQueryIWLinks.php +++ b/includes/api/ApiQueryIWLinks.php @@ -30,7 +30,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { } /** - * A query module to list all interwiki links + * A query module to list all interwiki links on a page * * @ingroup API */ -- 2.20.1