From 268f78e0834382311da5b221380287bb1d3bd217 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 10 Jul 2008 14:28:09 +0000 Subject: [PATCH] API: More cleanup: * Cleaning up some comments * Breaking the description for iiurlwidth in two lines * Clarifying the descriptions for amfilter and amlang --- includes/api/ApiQueryAllmessages.php | 4 ++-- includes/api/ApiQueryBacklinks.php | 2 +- includes/api/ApiQueryCategoryInfo.php | 2 +- includes/api/ApiQueryImageInfo.php | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/includes/api/ApiQueryAllmessages.php b/includes/api/ApiQueryAllmessages.php index 8f0be01591..96b131b9b7 100644 --- a/includes/api/ApiQueryAllmessages.php +++ b/includes/api/ApiQueryAllmessages.php @@ -108,8 +108,8 @@ class ApiQueryAllmessages extends ApiQueryBase { public function getParamDescription() { return array ( 'messages' => 'Which messages to output. "*" means all messages', - 'filter' => 'Return only messages that contains specified string', - 'lang' => 'Language code', + 'filter' => 'Return only messages that contain this string', + 'lang' => 'Return messages in this language', ); } diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index 6289ce628d..825d5f43b2 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -29,7 +29,7 @@ if (!defined('MEDIAWIKI')) { } /** - * This is three-in-one module to query: + * This is a three-in-one module to query: * * backlinks - links pointing to the given page, * * embeddedin - what pages transclude the given page within themselves, * * imageusage - what pages use the given image diff --git a/includes/api/ApiQueryCategoryInfo.php b/includes/api/ApiQueryCategoryInfo.php index bbb428eb73..aae727985a 100644 --- a/includes/api/ApiQueryCategoryInfo.php +++ b/includes/api/ApiQueryCategoryInfo.php @@ -29,7 +29,7 @@ if (!defined('MEDIAWIKI')) { } /** - * This query adds subelement to all pages with the list of images embedded into those pages. + * This query adds subelement to all pages with the list of images embedded into those pages. * * @ingroup API */ diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 1186a3a208..d28792a12b 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -199,7 +199,8 @@ class ApiQueryImageInfo extends ApiQueryBase { 'limit' => 'How many image revisions to return', 'start' => 'Timestamp to start listing from', 'end' => 'Timestamp to stop listing at', - 'urlwidth' => 'If iiprop=url is set, a URL to an image scaled to this width will be returned. Only the current version of the image can be scaled.', + 'urlwidth' => array('If iiprop=url is set, a URL to an image scaled to this width will be returned.', + 'Only the current version of the image can be scaled.'), 'urlheight' => 'Similar to iiurlwidth. Cannot be used without iiurlwidth', ); } -- 2.20.1