From b81ac8ea5295e0282fb9c40fd2e18c86bdbcfa78 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 14 Dec 2010 11:47:13 +0000 Subject: [PATCH] Improve some of the descriptions added in r68482 --- includes/api/ApiParse.php | 10 +++++----- includes/api/ApiQueryAllimages.php | 4 ++-- includes/api/ApiQueryBlocks.php | 2 +- includes/api/ApiQueryCategoryMembers.php | 4 ++-- includes/api/ApiQueryDeletedrevs.php | 4 ++-- includes/api/ApiQueryExtLinksUsage.php | 4 ++-- includes/api/ApiQueryFilearchive.php | 2 +- includes/api/ApiQueryImageInfo.php | 8 ++++---- includes/api/ApiQueryLogEvents.php | 4 ++-- includes/api/ApiQueryRecentChanges.php | 4 ++-- includes/api/ApiQueryUserContributions.php | 4 ++-- 11 files changed, 25 insertions(+), 25 deletions(-) diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index 81a0e0c66f..a4d4ba2460 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -468,16 +468,16 @@ class ApiParse extends ApiBase { 'prop' => array( 'Which pieces of information to get', ' text - Gives the parsed text of the wikitext', - ' langlinks - Gives the langlinks the parsed wikitext', - ' categories - Gives the categories of the parsed wikitext', - ' categorieshtml - Gives the html version of the categories', - ' languageshtml - Gives the html version of the languagelinks', + ' langlinks - Gives the language links in the parsed wikitext', + ' categories - Gives the categories in the parsed wikitext', + ' categorieshtml - Gives the HTML version of the categories', + ' languageshtml - Gives the HTML version of the language links', ' links - Gives the internal links in the parsed wikitext', ' templates - Gives the templates in the parsed wikitext', ' images - Gives the images in the parsed wikitext', ' externallinks - Gives the external links in the parsed wikitext', ' sections - Gives the sections in the parsed wikitext', - ' revid - Adds the revision id of the parsed page', + ' revid - Adds the revision ID of the parsed page', ' displaytitle - Adds the title of the parsed wikitext', ' headitems - Gives items to put in the of the page', ' headhtml - Gives parsed of the page', diff --git a/includes/api/ApiQueryAllimages.php b/includes/api/ApiQueryAllimages.php index 951854b72c..c7b6b2d521 100644 --- a/includes/api/ApiQueryAllimages.php +++ b/includes/api/ApiQueryAllimages.php @@ -200,12 +200,12 @@ class ApiQueryAllimages extends ApiQueryGeneratorBase { 'Which properties to get', ' timestamp - Adds the timestamp when the image was upload', ' user - Adds the username of the last uploader', - ' userid - Adds the user id of the last uploader', + ' userid - Adds the user ID of the last uploader', ' comment - Adds the comment of the last upload', ' url - Adds the URL of the image and its description page', ' size - Adds the size of the image in bytes and its height and width', ' dimensions - Alias of size', - ' sha1 - Adds the sha1 of the image', + ' sha1 - Adds the SHA-1 hash of the image', ' mime - Adds the MIME of the image', ' thumbmime - Adds the MIME of the tumbnail for the image', ' archivename - Adds the file name of the archive version for non-latest versions', diff --git a/includes/api/ApiQueryBlocks.php b/includes/api/ApiQueryBlocks.php index f0da49ca67..1f4f618675 100644 --- a/includes/api/ApiQueryBlocks.php +++ b/includes/api/ApiQueryBlocks.php @@ -272,7 +272,7 @@ class ApiQueryBlocks extends ApiQueryBase { 'limit' => 'The maximum amount of blocks to list', 'prop' => array( 'Which properties to get', - ' id - Adds the id of the block', + ' id - Adds the ID of the block', ' user - Adds the username of the blocked user', ' by - Adds the username of the blocking admin', ' timestamp - Adds the timestamp of when the block was given', diff --git a/includes/api/ApiQueryCategoryMembers.php b/includes/api/ApiQueryCategoryMembers.php index ac657bf9fb..75d0cdabce 100644 --- a/includes/api/ApiQueryCategoryMembers.php +++ b/includes/api/ApiQueryCategoryMembers.php @@ -264,8 +264,8 @@ class ApiQueryCategoryMembers extends ApiQueryGeneratorBase { 'title' => 'Which category to enumerate (required). Must include Category: prefix', 'prop' => array( 'What pieces of information to include', - ' ids - Adds the page id', - ' title - Adds the title and namespace id of the page', + ' ids - Adds the page ID', + ' title - Adds the title and namespace ID of the page', ' sortkey - Adds the sortkey used for the category', ' timestamp - Adds the timestamp of when the page was included', ), diff --git a/includes/api/ApiQueryDeletedrevs.php b/includes/api/ApiQueryDeletedrevs.php index 936e5365df..45bebf4559 100644 --- a/includes/api/ApiQueryDeletedrevs.php +++ b/includes/api/ApiQueryDeletedrevs.php @@ -318,9 +318,9 @@ class ApiQueryDeletedrevs extends ApiQueryBase { 'limit' => 'The maximum amount of revisions to list', 'prop' => array( 'Which properties to get', - ' revid - Adds the revision id of the deleted revision', + ' revid - Adds the revision ID of the deleted revision', ' user - Adds the user who made the revision', - ' userid - Adds the user id whom made the revision', + ' userid - Adds the user ID whom made the revision', ' comment - Adds the comment of the revision', ' parsedcomment - Adds the parsed comment of the revision', ' minor - Tags if the revision is minor', diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index 7205a78584..20474503c6 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -197,8 +197,8 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { return array( 'prop' => array( 'What pieces of information to include', - ' ids - Adds the id of page', - ' title - Adds the title and namespace id of the page', + ' ids - Adds the ID of page', + ' title - Adds the title and namespace ID of the page', ' url - Adds the URL used in the page', ), 'offset' => 'Used for paging. Use the value returned for "continue"', diff --git a/includes/api/ApiQueryFilearchive.php b/includes/api/ApiQueryFilearchive.php index c76554d741..2964dc8c77 100644 --- a/includes/api/ApiQueryFilearchive.php +++ b/includes/api/ApiQueryFilearchive.php @@ -225,7 +225,7 @@ class ApiQueryFilearchive extends ApiQueryBase { 'sha1base36' => 'SHA1 hash of image in base 36 (used in MediaWiki)', 'prop' => array( 'What image information to get:', - ' sha1 - Adds sha1 hash for the image', + ' sha1 - Adds SHA-1 hash for the image', ' timestamp - Adds timestamp for the uploaded version', ' user - Adds user for uploaded the image version', ' size - Adds the size of the image in bytes', diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 187e65fe68..9ebff33c98 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -390,15 +390,15 @@ class ApiQueryImageInfo extends ApiQueryBase { 'What image information to get:', ' timestamp - Adds timestamp for the uploaded version', ' user - Adds the user who uploaded the image version', - ' userid - Add the user id that uploaded the image version', + ' userid - Add the user ID that uploaded the image version', ' comment - Comment on the version', ' parsedcomment - Parse the comment on the version', ' url - Gives URL to the image and the description page', ' size - Adds the size of the image in bytes and the height and width', ' dimensions - Alias for size', - ' sha1 - Adds sha1 hash for the image', - ' mime - Adds MIME of the image', - ' thumbmime - Adss MIME of the image thumbnail (requires url)', + ' sha1 - Adds SHA-1 hash for the image', + ' mime - Adds MIME type of the image', + ' thumbmime - Adss MIME type of the image thumbnail (requires url)', ' metadata - Lists EXIF metadata for the version of the image', ' archivename - Adds the file name of the archive version for non-latest versions', ' bitdepth - Adds the bit depth of the version', diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index ee6f1ebb2d..75f9a4ce82 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -387,11 +387,11 @@ class ApiQueryLogEvents extends ApiQueryBase { return array( 'prop' => array( 'Which properties to get', - ' ids - Adds the id of the log event', + ' ids - Adds the ID of the log event', ' title - Adds the title of the page for the log event', ' type - Adds the type of log event', ' user - Adds the user responsible for the log event', - ' userid - Adds the user id who was responsible for the log event', + ' userid - Adds the user ID who was responsible for the log event', ' timestamp - Adds the timestamp for the event', ' comment - Adds the comment of the event', ' parsedcomment - Adds the parsed comment of the event', diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index 2aecea85df..507c46a953 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -571,10 +571,10 @@ class ApiQueryRecentChanges extends ApiQueryBase { ' flags - Adds flags for the edit', ' timestamp - Adds timestamp of the edit', ' title - Adds the page title of the edit', - ' ids - Adds the page id, recent changes id and the new and old revision id', + ' ids - Adds the page ID, recent changes ID and the new and old revision ID', ' sizes - Adds the new and old page length in bytes', ' redirect - Tags edit if page is a redirect', - ' patrolled - Tags edits have have been patrolled', + ' patrolled - Tags edits that have been patrolled', ' loginfo - Adds log information (logid, logtype, etc) to log entries', ' tags - Lists tags for the entry', ), diff --git a/includes/api/ApiQueryUserContributions.php b/includes/api/ApiQueryUserContributions.php index 3be30238b1..f878378d33 100644 --- a/includes/api/ApiQueryUserContributions.php +++ b/includes/api/ApiQueryUserContributions.php @@ -426,8 +426,8 @@ class ApiQueryContributions extends ApiQueryBase { 'namespace' => 'Only list contributions in these namespaces', 'prop' => array( 'Include additional pieces of information', - ' ids - Adds the page id and revision id', - ' title - Adds the title and namespace id of the page', + ' ids - Adds the page ID and revision ID', + ' title - Adds the title and namespace ID of the page', ' timestamp - Adds the timestamp of the edit', ' comment - Adds the comment of the edit', ' parsedcomment - Adds the parsed comment of the edit', -- 2.20.1