Improve some of the descriptions added in r68482
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 14 Dec 2010 11:47:13 +0000 (11:47 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 14 Dec 2010 11:47:13 +0000 (11:47 +0000)
includes/api/ApiParse.php
includes/api/ApiQueryAllimages.php
includes/api/ApiQueryBlocks.php
includes/api/ApiQueryCategoryMembers.php
includes/api/ApiQueryDeletedrevs.php
includes/api/ApiQueryExtLinksUsage.php
includes/api/ApiQueryFilearchive.php
includes/api/ApiQueryImageInfo.php
includes/api/ApiQueryLogEvents.php
includes/api/ApiQueryRecentChanges.php
includes/api/ApiQueryUserContributions.php

index 81a0e0c..a4d4ba2 100644 (file)
@@ -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 <head> of the page',
                                ' headhtml       - Gives parsed <head> of the page',
index 951854b..c7b6b2d 100644 (file)
@@ -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',
index f0da49c..1f4f618 100644 (file)
@@ -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',
index ac657bf..75d0cda 100644 (file)
@@ -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',
                        ),
index 936e536..45bebf4 100644 (file)
@@ -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',
index 7205a78..2047450 100644 (file)
@@ -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"',
index c76554d..2964dc8 100644 (file)
@@ -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',
index 187e65f..9ebff33 100644 (file)
@@ -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',
index ee6f1eb..75f9a4c 100644 (file)
@@ -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',
index 2aecea8..507c46a 100644 (file)
@@ -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',
                        ),
index 3be3023..f878378 100644 (file)
@@ -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',