Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/117704

Change subject: Add final preiod to api module descriptions
......................................................................

Add final preiod to api module descriptions

Change-Id: Icae68c1ab1fd0006e00a3a9a56ae8f831d3d0d45
---
M includes/api/ApiBlock.php
M includes/api/ApiComparePages.php
M includes/api/ApiCreateAccount.php
M includes/api/ApiDelete.php
M includes/api/ApiDisabled.php
M includes/api/ApiEditPage.php
M includes/api/ApiEmailUser.php
M includes/api/ApiExpandTemplates.php
M includes/api/ApiFeedContributions.php
M includes/api/ApiFeedWatchlist.php
M includes/api/ApiFileRevert.php
M includes/api/ApiHelp.php
M includes/api/ApiImageRotate.php
M includes/api/ApiImport.php
M includes/api/ApiLogin.php
M includes/api/ApiLogout.php
M includes/api/ApiMain.php
M includes/api/ApiMove.php
M includes/api/ApiOpenSearch.php
M includes/api/ApiOptions.php
M includes/api/ApiParamInfo.php
M includes/api/ApiParse.php
M includes/api/ApiPatrol.php
M includes/api/ApiProtect.php
M includes/api/ApiPurge.php
M includes/api/ApiQuery.php
M includes/api/ApiQueryAllCategories.php
M includes/api/ApiQueryAllImages.php
M includes/api/ApiQueryAllMessages.php
M includes/api/ApiQueryAllPages.php
M includes/api/ApiQueryAllUsers.php
M includes/api/ApiQueryBacklinks.php
M includes/api/ApiQueryBlocks.php
M includes/api/ApiQueryCategories.php
M includes/api/ApiQueryCategoryInfo.php
M includes/api/ApiQueryCategoryMembers.php
M includes/api/ApiQueryContributors.php
M includes/api/ApiQueryDeletedrevs.php
M includes/api/ApiQueryDisabled.php
M includes/api/ApiQueryDuplicateFiles.php
M includes/api/ApiQueryExtLinksUsage.php
M includes/api/ApiQueryExternalLinks.php
M includes/api/ApiQueryFileRepoInfo.php
M includes/api/ApiQueryFilearchive.php
M includes/api/ApiQueryIWBacklinks.php
M includes/api/ApiQueryIWLinks.php
M includes/api/ApiQueryImageInfo.php
M includes/api/ApiQueryImages.php
M includes/api/ApiQueryLangBacklinks.php
M includes/api/ApiQueryLangLinks.php
M includes/api/ApiQueryLinks.php
M includes/api/ApiQueryLogEvents.php
M includes/api/ApiQueryPagePropNames.php
M includes/api/ApiQueryPageProps.php
M includes/api/ApiQueryPagesWithProp.php
M includes/api/ApiQueryProtectedTitles.php
M includes/api/ApiQueryQueryPage.php
M includes/api/ApiQueryRandom.php
M includes/api/ApiQueryRecentChanges.php
M includes/api/ApiQueryRedirects.php
M includes/api/ApiQueryRevisions.php
M includes/api/ApiQuerySearch.php
M includes/api/ApiQuerySiteinfo.php
M includes/api/ApiQueryStashImageInfo.php
M includes/api/ApiQueryTags.php
M includes/api/ApiQueryUserContributions.php
M includes/api/ApiQueryUserInfo.php
M includes/api/ApiQueryUsers.php
M includes/api/ApiQueryWatchlist.php
M includes/api/ApiQueryWatchlistRaw.php
M includes/api/ApiRevisionDelete.php
M includes/api/ApiRollback.php
M includes/api/ApiRsd.php
M includes/api/ApiRunJobs.php
M includes/api/ApiSetNotificationTimestamp.php
M includes/api/ApiTokens.php
M includes/api/ApiUnblock.php
M includes/api/ApiUndelete.php
M includes/api/ApiUpload.php
M includes/api/ApiUserrights.php
M includes/api/ApiWatch.php
81 files changed, 99 insertions(+), 99 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/04/117704/1

diff --git a/includes/api/ApiBlock.php b/includes/api/ApiBlock.php
index 332fa9e..364300e 100644
--- a/includes/api/ApiBlock.php
+++ b/includes/api/ApiBlock.php
@@ -222,7 +222,7 @@
        }
 
        public function getDescription() {
-               return 'Block a user';
+               return 'Block a user.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiComparePages.php b/includes/api/ApiComparePages.php
index 237e8c8..c1bbea7 100644
--- a/includes/api/ApiComparePages.php
+++ b/includes/api/ApiComparePages.php
@@ -157,8 +157,8 @@
 
        public function getDescription() {
                return array(
-                       'Get the difference between 2 pages',
-                       'You must pass a revision number or a page title or a 
page ID id for each part (1 and 2)'
+                       'Get the difference between 2 pages.',
+                       'You must pass a revision number or a page title or a 
page ID id for each part (1 and 2).'
                );
        }
 
diff --git a/includes/api/ApiCreateAccount.php 
b/includes/api/ApiCreateAccount.php
index c550fce..be8286c 100644
--- a/includes/api/ApiCreateAccount.php
+++ b/includes/api/ApiCreateAccount.php
@@ -167,7 +167,7 @@
        }
 
        public function getDescription() {
-               return 'Create a new user account';
+               return 'Create a new user account.';
        }
 
        public function mustBePosted() {
diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php
index c09cad3..acc2eb8 100644
--- a/includes/api/ApiDelete.php
+++ b/includes/api/ApiDelete.php
@@ -240,7 +240,7 @@
        }
 
        public function getDescription() {
-               return 'Delete a page';
+               return 'Delete a page.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiDisabled.php b/includes/api/ApiDisabled.php
index e5ef3b7..6ea5d20 100644
--- a/includes/api/ApiDisabled.php
+++ b/includes/api/ApiDisabled.php
@@ -53,7 +53,7 @@
        }
 
        public function getDescription() {
-               return 'This module has been disabled';
+               return 'This module has been disabled.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php
index 695a76f..73eebca 100644
--- a/includes/api/ApiEditPage.php
+++ b/includes/api/ApiEditPage.php
@@ -492,7 +492,7 @@
        }
 
        public function getDescription() {
-               return 'Create and edit pages';
+               return 'Create and edit pages.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiEmailUser.php b/includes/api/ApiEmailUser.php
index 5125ce3..29f7e05 100644
--- a/includes/api/ApiEmailUser.php
+++ b/includes/api/ApiEmailUser.php
@@ -130,7 +130,7 @@
        }
 
        public function getDescription() {
-               return 'Email a user';
+               return 'Email a user.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiExpandTemplates.php 
b/includes/api/ApiExpandTemplates.php
index d5c789c..28ed5e4 100644
--- a/includes/api/ApiExpandTemplates.php
+++ b/includes/api/ApiExpandTemplates.php
@@ -108,7 +108,7 @@
        }
 
        public function getDescription() {
-               return 'Expands all templates in wikitext';
+               return 'Expands all templates in wikitext.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiFeedContributions.php 
b/includes/api/ApiFeedContributions.php
index 2cdc875..4173402 100644
--- a/includes/api/ApiFeedContributions.php
+++ b/includes/api/ApiFeedContributions.php
@@ -208,7 +208,7 @@
        }
 
        public function getDescription() {
-               return 'Returns a user contributions feed';
+               return 'Returns a user contributions feed.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiFeedWatchlist.php 
b/includes/api/ApiFeedWatchlist.php
index 84c1fae..4770365 100644
--- a/includes/api/ApiFeedWatchlist.php
+++ b/includes/api/ApiFeedWatchlist.php
@@ -266,7 +266,7 @@
        }
 
        public function getDescription() {
-               return 'Returns a watchlist feed';
+               return 'Returns a watchlist feed.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiFileRevert.php b/includes/api/ApiFileRevert.php
index a3fa5f9..1941fbd 100644
--- a/includes/api/ApiFileRevert.php
+++ b/includes/api/ApiFileRevert.php
@@ -167,7 +167,7 @@
 
        public function getDescription() {
                return array(
-                       'Revert a file to an old version'
+                       'Revert a file to an old version.'
                );
        }
 
diff --git a/includes/api/ApiHelp.php b/includes/api/ApiHelp.php
index 5b1f29c..e584d0d 100644
--- a/includes/api/ApiHelp.php
+++ b/includes/api/ApiHelp.php
@@ -152,7 +152,7 @@
        }
 
        public function getDescription() {
-               return 'Display this help screen. Or the help screen for the 
specified module';
+               return 'Display this help screen. Or the help screen for the 
specified module.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiImageRotate.php b/includes/api/ApiImageRotate.php
index 5d2ee6f..b8e16ab 100644
--- a/includes/api/ApiImageRotate.php
+++ b/includes/api/ApiImageRotate.php
@@ -203,7 +203,7 @@
        }
 
        public function getDescription() {
-               return 'Rotate one or more images';
+               return 'Rotate one or more images.';
        }
 
        public function needsToken() {
diff --git a/includes/api/ApiImport.php b/includes/api/ApiImport.php
index 99307fd..295f16e 100644
--- a/includes/api/ApiImport.php
+++ b/includes/api/ApiImport.php
@@ -151,7 +151,7 @@
                return array(
                        'Import a page from another wiki, or an XML file.',
                        'Note that the HTTP POST must be done as a file upload 
(i.e. using multipart/form-data) when',
-                       'sending a file for the "xml" parameter'
+                       'sending a file for the "xml" parameter.'
                );
        }
 
diff --git a/includes/api/ApiLogin.php b/includes/api/ApiLogin.php
index fe3143e..cba2134 100644
--- a/includes/api/ApiLogin.php
+++ b/includes/api/ApiLogin.php
@@ -261,7 +261,7 @@
                        'In the event of a successful log-in, a cookie will be 
attached to your session.',
                        'In the event of a failed log-in, you will not be able 
to attempt another log-in',
                        'through this method for 5 seconds. This is to prevent 
password guessing by',
-                       'automated password crackers'
+                       'automated password crackers.'
                );
        }
 
diff --git a/includes/api/ApiLogout.php b/includes/api/ApiLogout.php
index 2ba92a6..c8b3882 100644
--- a/includes/api/ApiLogout.php
+++ b/includes/api/ApiLogout.php
@@ -59,7 +59,7 @@
        }
 
        public function getDescription() {
-               return 'Log out and clear session data';
+               return 'Log out and clear session data.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php
index 37273d9..1a11b52 100644
--- a/includes/api/ApiMain.php
+++ b/includes/api/ApiMain.php
@@ -1111,14 +1111,14 @@
                        '',
                        'Status:                All features shown on this page 
should be working, but the API',
                        '                       is still in active development, 
and may change at any time.',
-                       '                       Make sure to monitor our 
mailing list for any updates',
+                       '                       Make sure to monitor our 
mailing list for any updates.',
                        '',
                        'Erroneous requests:    When erroneous requests are 
sent to the API, a HTTP header will be sent',
                        '                       with the key 
"MediaWiki-API-Error" and then both the value of the',
-                       '                       header and the error code sent 
back will be set to the same value',
+                       '                       header and the error code sent 
back will be set to the same value.',
                        '',
                        '                       In the case of an invalid 
action being passed, these will have a value',
-                       '                       of "unknown_action"',
+                       '                       of "unknown_action".',
                        '',
                        '                       For more information see 
https://www.mediawiki.org' .
                                '/wiki/API:Errors_and_warnings',
diff --git a/includes/api/ApiMove.php b/includes/api/ApiMove.php
index 20ac48a..10b655f 100644
--- a/includes/api/ApiMove.php
+++ b/includes/api/ApiMove.php
@@ -272,7 +272,7 @@
        }
 
        public function getDescription() {
-               return 'Move a page';
+               return 'Move a page.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php
index 4b8578b..f2bf754 100644
--- a/includes/api/ApiOpenSearch.php
+++ b/includes/api/ApiOpenSearch.php
@@ -125,7 +125,7 @@
        }
 
        public function getDescription() {
-               return 'Search the wiki using the OpenSearch protocol';
+               return 'Search the wiki using the OpenSearch protocol.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiOptions.php b/includes/api/ApiOptions.php
index 4ff845a..86d051a 100644
--- a/includes/api/ApiOptions.php
+++ b/includes/api/ApiOptions.php
@@ -187,10 +187,10 @@
 
        public function getDescription() {
                return array(
-                       'Change preferences of the current user',
+                       'Change preferences of the current user.',
                        'Only options which are registered in core or in one of 
installed extensions,',
                        'or as options with keys prefixed with \'userjs-\' 
(intended to be used by user',
-                       'scripts), can be set'
+                       'scripts), can be set.'
                );
        }
 
diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php
index 2b4710a..5092af0 100644
--- a/includes/api/ApiParamInfo.php
+++ b/includes/api/ApiParamInfo.php
@@ -349,7 +349,7 @@
        }
 
        public function getDescription() {
-               return 'Obtain information about certain API parameters and 
errors';
+               return 'Obtain information about certain API parameters and 
errors.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php
index 4c1ddc2..ce52565 100644
--- a/includes/api/ApiParse.php
+++ b/includes/api/ApiParse.php
@@ -818,13 +818,13 @@
                $p = $this->getModulePrefix();
 
                return array(
-                       'Parses content and returns parser output',
+                       'Parses content and returns parser output.',
                        'See the various prop-Modules of action=query to get 
information from the current' .
-                               'version of a page',
+                               'version of a page.',
                        'There are several ways to specify the text to parse:',
                        "1) Specify a page or revision, using {$p}page, 
{$p}pageid, or {$p}oldid.",
                        "2) Specify content explicitly, using {$p}text, 
{$p}title, and {$p}contentmodel.",
-                       "3) Specify only a summary to parse. {$p}prop should be 
given an empty value",
+                       "3) Specify only a summary to parse. {$p}prop should be 
given an empty value.",
                );
        }
 
diff --git a/includes/api/ApiPatrol.php b/includes/api/ApiPatrol.php
index 46bd94e..00297ec 100644
--- a/includes/api/ApiPatrol.php
+++ b/includes/api/ApiPatrol.php
@@ -109,7 +109,7 @@
        }
 
        public function getDescription() {
-               return 'Patrol a page or revision';
+               return 'Patrol a page or revision.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiProtect.php b/includes/api/ApiProtect.php
index 644e97e..27f0f1e 100644
--- a/includes/api/ApiProtect.php
+++ b/includes/api/ApiProtect.php
@@ -212,7 +212,7 @@
        }
 
        public function getDescription() {
-               return 'Change the protection level of a page';
+               return 'Change the protection level of a page.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiPurge.php b/includes/api/ApiPurge.php
index 3516bf2..e5d6a3c 100644
--- a/includes/api/ApiPurge.php
+++ b/includes/api/ApiPurge.php
@@ -182,7 +182,7 @@
 
        public function getDescription() {
                return array( 'Purge the cache for the given titles.',
-                       'Requires a POST request if the user is not logged in'
+                       'Requires a POST request if the user is not logged in.'
                );
        }
 
diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php
index 49ab591..c6ae611 100644
--- a/includes/api/ApiQuery.php
+++ b/includes/api/ApiQuery.php
@@ -736,7 +736,7 @@
                                'from the MediaWiki databases,',
                        'and is loosely based on the old query.php interface.',
                        'All data modifications will first have to use query to 
acquire a ' .
-                               'token to prevent abuse from malicious sites'
+                               'token to prevent abuse from malicious sites.'
                );
        }
 
diff --git a/includes/api/ApiQueryAllCategories.php 
b/includes/api/ApiQueryAllCategories.php
index 44bf0cb..8a1810b 100644
--- a/includes/api/ApiQueryAllCategories.php
+++ b/includes/api/ApiQueryAllCategories.php
@@ -225,7 +225,7 @@
        }
 
        public function getDescription() {
-               return 'Enumerate all categories';
+               return 'Enumerate all categories.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryAllImages.php 
b/includes/api/ApiQueryAllImages.php
index 4095bd8..0591fa9 100644
--- a/includes/api/ApiQueryAllImages.php
+++ b/includes/api/ApiQueryAllImages.php
@@ -394,7 +394,7 @@
        }
 
        public function getDescription() {
-               return 'Enumerate all images sequentially';
+               return 'Enumerate all images sequentially.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryAllMessages.php 
b/includes/api/ApiQueryAllMessages.php
index 6b1d5a2..09f40fd 100644
--- a/includes/api/ApiQueryAllMessages.php
+++ b/includes/api/ApiQueryAllMessages.php
@@ -285,7 +285,7 @@
        }
 
        public function getDescription() {
-               return 'Return messages from this site';
+               return 'Return messages from this site.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryAllPages.php 
b/includes/api/ApiQueryAllPages.php
index 501154a..8ae8f3e 100644
--- a/includes/api/ApiQueryAllPages.php
+++ b/includes/api/ApiQueryAllPages.php
@@ -341,7 +341,7 @@
        }
 
        public function getDescription() {
-               return 'Enumerate all pages sequentially in a given namespace';
+               return 'Enumerate all pages sequentially in a given namespace.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryAllUsers.php 
b/includes/api/ApiQueryAllUsers.php
index 748dbaf..7915118 100644
--- a/includes/api/ApiQueryAllUsers.php
+++ b/includes/api/ApiQueryAllUsers.php
@@ -438,7 +438,7 @@
        }
 
        public function getDescription() {
-               return 'Enumerate all registered users';
+               return 'Enumerate all registered users.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryBacklinks.php 
b/includes/api/ApiQueryBacklinks.php
index a0460fd..9502d11 100644
--- a/includes/api/ApiQueryBacklinks.php
+++ b/includes/api/ApiQueryBacklinks.php
@@ -534,13 +534,13 @@
        public function getDescription() {
                switch ( $this->getModuleName() ) {
                        case 'backlinks':
-                               return 'Find all pages that link to the given 
page';
+                               return 'Find all pages that link to the given 
page.';
                        case 'embeddedin':
-                               return 'Find all pages that embed (transclude) 
the given title';
+                               return 'Find all pages that embed (transclude) 
the given title.';
                        case 'imageusage':
-                               return 'Find all pages that use the given image 
title';
+                               return 'Find all pages that use the given image 
title.';
                        default:
-                               ApiBase::dieDebug( __METHOD__, 'Unknown module 
name' );
+                               ApiBase::dieDebug( __METHOD__, 'Unknown module 
name.' );
                }
        }
 
diff --git a/includes/api/ApiQueryBlocks.php b/includes/api/ApiQueryBlocks.php
index 47768cb..6cc0183 100644
--- a/includes/api/ApiQueryBlocks.php
+++ b/includes/api/ApiQueryBlocks.php
@@ -408,7 +408,7 @@
        }
 
        public function getDescription() {
-               return 'List all blocked users and IP addresses';
+               return 'List all blocked users and IP addresses.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryCategories.php 
b/includes/api/ApiQueryCategories.php
index c5b12b3..30d7449 100644
--- a/includes/api/ApiQueryCategories.php
+++ b/includes/api/ApiQueryCategories.php
@@ -254,7 +254,7 @@
        }
 
        public function getDescription() {
-               return 'List all categories the page(s) belong to';
+               return 'List all categories the page(s) belong to.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryCategoryInfo.php 
b/includes/api/ApiQueryCategoryInfo.php
index 574ef6e..d0e3a36 100644
--- a/includes/api/ApiQueryCategoryInfo.php
+++ b/includes/api/ApiQueryCategoryInfo.php
@@ -143,7 +143,7 @@
        }
 
        public function getDescription() {
-               return 'Returns information about the given categories';
+               return 'Returns information about the given categories.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryCategoryMembers.php 
b/includes/api/ApiQueryCategoryMembers.php
index f7bd59a..4e942d6 100644
--- a/includes/api/ApiQueryCategoryMembers.php
+++ b/includes/api/ApiQueryCategoryMembers.php
@@ -401,7 +401,7 @@
        }
 
        public function getDescription() {
-               return 'List all pages in a given category';
+               return 'List all pages in a given category.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryContributors.php 
b/includes/api/ApiQueryContributors.php
index 37fb489..912ac02 100644
--- a/includes/api/ApiQueryContributors.php
+++ b/includes/api/ApiQueryContributors.php
@@ -275,7 +275,7 @@
 
        public function getDescription() {
                return 'Get the list of logged-in contributors and ' .
-                       'the count of anonymous contributors to a page';
+                       'the count of anonymous contributors to a page.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryDeletedrevs.php 
b/includes/api/ApiQueryDeletedrevs.php
index 365fe3f..f738c50 100644
--- a/includes/api/ApiQueryDeletedrevs.php
+++ b/includes/api/ApiQueryDeletedrevs.php
@@ -492,12 +492,12 @@
                return array(
                        'List deleted revisions.',
                        'Operates in three modes:',
-                       ' 1) List deleted revisions for the given title(s), 
sorted by timestamp',
-                       ' 2) List deleted contributions for the given user, 
sorted by timestamp (no titles specified)',
+                       ' 1) List deleted revisions for the given title(s), 
sorted by timestamp.',
+                       ' 2) List deleted contributions for the given user, 
sorted by timestamp (no titles specified).',
                        " 3) List all deleted revisions in the given namespace, 
sorted by title and timestamp',
-                       '    (no titles specified, {$p}user not set)",
+                       '    (no titles specified, {$p}user not set).",
                        'Certain parameters only apply to some modes and are 
ignored in others.',
-                       'For instance, a parameter marked (1) only applies to 
mode 1 and is ignored in modes 2 and 3',
+                       'For instance, a parameter marked (1) only applies to 
mode 1 and is ignored in modes 2 and 3.',
                );
        }
 
diff --git a/includes/api/ApiQueryDisabled.php 
b/includes/api/ApiQueryDisabled.php
index b1b2495..cf0d841 100644
--- a/includes/api/ApiQueryDisabled.php
+++ b/includes/api/ApiQueryDisabled.php
@@ -50,7 +50,7 @@
 
        public function getDescription() {
                return array(
-                       'This module has been disabled'
+                       'This module has been disabled.'
                );
        }
 
diff --git a/includes/api/ApiQueryDuplicateFiles.php 
b/includes/api/ApiQueryDuplicateFiles.php
index 1854694..3105f91 100644
--- a/includes/api/ApiQueryDuplicateFiles.php
+++ b/includes/api/ApiQueryDuplicateFiles.php
@@ -200,7 +200,7 @@
        }
 
        public function getDescription() {
-               return 'List all files that are duplicates of the given file(s) 
based on hash values';
+               return 'List all files that are duplicates of the given file(s) 
based on hash values.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryExtLinksUsage.php 
b/includes/api/ApiQueryExtLinksUsage.php
index d220817..f09fbd5 100644
--- a/includes/api/ApiQueryExtLinksUsage.php
+++ b/includes/api/ApiQueryExtLinksUsage.php
@@ -257,7 +257,7 @@
        }
 
        public function getDescription() {
-               return 'Enumerate pages that contain a given URL';
+               return 'Enumerate pages that contain a given URL.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryExternalLinks.php 
b/includes/api/ApiQueryExternalLinks.php
index 5803ea7..f7a0958 100644
--- a/includes/api/ApiQueryExternalLinks.php
+++ b/includes/api/ApiQueryExternalLinks.php
@@ -150,7 +150,7 @@
        }
 
        public function getDescription() {
-               return 'Returns all external URLs (not interwikis) from the 
given page(s)';
+               return 'Returns all external URLs (not interwikis) from the 
given page(s).';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryFileRepoInfo.php 
b/includes/api/ApiQueryFileRepoInfo.php
index 196b3ff..d9579a1 100644
--- a/includes/api/ApiQueryFileRepoInfo.php
+++ b/includes/api/ApiQueryFileRepoInfo.php
@@ -104,7 +104,7 @@
        }
 
        public function getDescription() {
-               return 'Return meta information about image repositories 
configured on the wiki';
+               return 'Return meta information about image repositories 
configured on the wiki.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryFilearchive.php 
b/includes/api/ApiQueryFilearchive.php
index bcbc642..e12d927 100644
--- a/includes/api/ApiQueryFilearchive.php
+++ b/includes/api/ApiQueryFilearchive.php
@@ -367,7 +367,7 @@
        }
 
        public function getDescription() {
-               return 'Enumerate all deleted files sequentially';
+               return 'Enumerate all deleted files sequentially.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryIWBacklinks.php 
b/includes/api/ApiQueryIWBacklinks.php
index 03a72a6..e4cecd5 100644
--- a/includes/api/ApiQueryIWBacklinks.php
+++ b/includes/api/ApiQueryIWBacklinks.php
@@ -231,7 +231,7 @@
                return array( 'Find all pages that link to the given interwiki 
link.',
                        'Can be used to find all links with a prefix, or',
                        'all links to a title (with a given prefix).',
-                       'Using neither parameter is effectively "All IW Links"',
+                       'Using neither parameter is effectively "All IW 
Links".',
                );
        }
 
diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php
index be64d36..a7b69a0 100644
--- a/includes/api/ApiQueryIWLinks.php
+++ b/includes/api/ApiQueryIWLinks.php
@@ -185,7 +185,7 @@
        }
 
        public function getDescription() {
-               return 'Returns all interwiki links from the given page(s)';
+               return 'Returns all interwiki links from the given page(s).';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryImageInfo.php 
b/includes/api/ApiQueryImageInfo.php
index 95c1420..369d4c9 100644
--- a/includes/api/ApiQueryImageInfo.php
+++ b/includes/api/ApiQueryImageInfo.php
@@ -873,7 +873,7 @@
        }
 
        public function getDescription() {
-               return 'Returns image information and upload history';
+               return 'Returns image information and upload history.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryImages.php b/includes/api/ApiQueryImages.php
index a32fb9e..a66ad40 100644
--- a/includes/api/ApiQueryImages.php
+++ b/includes/api/ApiQueryImages.php
@@ -180,7 +180,7 @@
        }
 
        public function getDescription() {
-               return 'Returns all images contained on the given page(s)';
+               return 'Returns all images contained on the given page(s).';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryLangBacklinks.php 
b/includes/api/ApiQueryLangBacklinks.php
index 49322ce..e6280c8 100644
--- a/includes/api/ApiQueryLangBacklinks.php
+++ b/includes/api/ApiQueryLangBacklinks.php
@@ -231,7 +231,7 @@
                        'Can be used to find all links with a language code, 
or',
                        'all links to a title (with a given language).',
                        'Using neither parameter is effectively "All Language 
Links".',
-                       'Note that this may not consider language links added 
by extensions',
+                       'Note that this may not consider language links added 
by extensions.',
                );
        }
 
diff --git a/includes/api/ApiQueryLangLinks.php 
b/includes/api/ApiQueryLangLinks.php
index 5a45a28..8e155f2 100644
--- a/includes/api/ApiQueryLangLinks.php
+++ b/includes/api/ApiQueryLangLinks.php
@@ -213,7 +213,7 @@
        }
 
        public function getDescription() {
-               return 'Returns all interlanguage links from the given page(s)';
+               return 'Returns all interlanguage links from the given 
page(s).';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php
index 1eecbe2..dd816cf 100644
--- a/includes/api/ApiQueryLinks.php
+++ b/includes/api/ApiQueryLinks.php
@@ -233,7 +233,7 @@
        }
 
        public function getDescription() {
-               return "Returns all {$this->description}s from the given 
page(s)";
+               return "Returns all {$this->description}s from the given 
page(s).";
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryLogEvents.php 
b/includes/api/ApiQueryLogEvents.php
index 848c6ce..9953db0 100644
--- a/includes/api/ApiQueryLogEvents.php
+++ b/includes/api/ApiQueryLogEvents.php
@@ -561,7 +561,7 @@
        }
 
        public function getDescription() {
-               return 'Get events from logs';
+               return 'Get events from logs.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryPagePropNames.php 
b/includes/api/ApiQueryPagePropNames.php
index 5438175..c387475 100644
--- a/includes/api/ApiQueryPagePropNames.php
+++ b/includes/api/ApiQueryPagePropNames.php
@@ -102,7 +102,7 @@
        }
 
        public function getDescription() {
-               return 'List all page prop names in use on the wiki';
+               return 'List all page prop names in use on the wiki.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryPageProps.php 
b/includes/api/ApiQueryPageProps.php
index e51c7ab..52be5ca 100644
--- a/includes/api/ApiQueryPageProps.php
+++ b/includes/api/ApiQueryPageProps.php
@@ -141,7 +141,7 @@
        }
 
        public function getDescription() {
-               return 'Get various properties defined in the page content';
+               return 'Get various properties defined in the page content.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryPagesWithProp.php 
b/includes/api/ApiQueryPagesWithProp.php
index e68eb56..df07249 100644
--- a/includes/api/ApiQueryPagesWithProp.php
+++ b/includes/api/ApiQueryPagesWithProp.php
@@ -174,7 +174,7 @@
        }
 
        public function getDescription() {
-               return 'List all pages using a given page prop';
+               return 'List all pages using a given page prop.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryProtectedTitles.php 
b/includes/api/ApiQueryProtectedTitles.php
index ea350ad..9cdd6b9 100644
--- a/includes/api/ApiQueryProtectedTitles.php
+++ b/includes/api/ApiQueryProtectedTitles.php
@@ -258,7 +258,7 @@
        }
 
        public function getDescription() {
-               return 'List all titles protected from creation';
+               return 'List all titles protected from creation.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryQueryPage.php 
b/includes/api/ApiQueryQueryPage.php
index 88af62b..2fc2676 100644
--- a/includes/api/ApiQueryQueryPage.php
+++ b/includes/api/ApiQueryQueryPage.php
@@ -203,7 +203,7 @@
        }
 
        public function getDescription() {
-               return 'Get a list provided by a QueryPage-based special page';
+               return 'Get a list provided by a QueryPage-based special page.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryRandom.php b/includes/api/ApiQueryRandom.php
index 0d54ffe..5f85e0e 100644
--- a/includes/api/ApiQueryRandom.php
+++ b/includes/api/ApiQueryRandom.php
@@ -185,13 +185,13 @@
 
        public function getDescription() {
                return array(
-                       'Get a set of random pages',
+                       'Get a set of random pages.',
                        'NOTE: Pages are listed in a fixed sequence, only the 
starting point is random.',
                        '      This means that if, for example, "Main Page" is 
the first random page on',
                        '      your list, "List of fictional monkeys" will 
*always* be second, "List of',
-                       '      people on stamps of Vanuatu" third, etc',
+                       '      people on stamps of Vanuatu" third, etc.',
                        'NOTE: If the number of pages in the namespace is lower 
than rnlimit, you will',
-                       '      get fewer pages. You will not get the same page 
twice'
+                       '      get fewer pages. You will not get the same page 
twice.'
                );
        }
 
diff --git a/includes/api/ApiQueryRecentChanges.php 
b/includes/api/ApiQueryRecentChanges.php
index 30dd741..0284916 100644
--- a/includes/api/ApiQueryRecentChanges.php
+++ b/includes/api/ApiQueryRecentChanges.php
@@ -892,7 +892,7 @@
        }
 
        public function getDescription() {
-               return 'Enumerate recent changes';
+               return 'Enumerate recent changes.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryRedirects.php 
b/includes/api/ApiQueryRedirects.php
index c046109..1deb1f8 100644
--- a/includes/api/ApiQueryRedirects.php
+++ b/includes/api/ApiQueryRedirects.php
@@ -249,7 +249,7 @@
        }
 
        public function getDescription() {
-               return 'Returns all redirects to the given page(s)';
+               return 'Returns all redirects to the given page(s).';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryRevisions.php 
b/includes/api/ApiQueryRevisions.php
index 65cb16d..033976f 100644
--- a/includes/api/ApiQueryRevisions.php
+++ b/includes/api/ApiQueryRevisions.php
@@ -874,12 +874,12 @@
 
        public function getDescription() {
                return array(
-                       'Get revision information',
+                       'Get revision information.',
                        'May be used in several ways:',
-                       ' 1) Get data about a set of pages (last revision), by 
setting titles or pageids parameter',
-                       ' 2) Get revisions for one given page, by using 
titles/pageids with start/end/limit params',
-                       ' 3) Get data about a set of revisions by setting their 
IDs with revids parameter',
-                       'All parameters marked as (enum) may only be used with 
a single page (#2)'
+                       ' 1) Get data about a set of pages (last revision), by 
setting titles or pageids parameter.',
+                       ' 2) Get revisions for one given page, by using 
titles/pageids with start/end/limit params.',
+                       ' 3) Get data about a set of revisions by setting their 
IDs with revids parameter.',
+                       'All parameters marked as (enum) may only be used with 
a single page (#2).'
                );
        }
 
diff --git a/includes/api/ApiQuerySearch.php b/includes/api/ApiQuerySearch.php
index 1132a60..fcaaf10 100644
--- a/includes/api/ApiQuerySearch.php
+++ b/includes/api/ApiQuerySearch.php
@@ -416,7 +416,7 @@
        }
 
        public function getDescription() {
-               return 'Perform a full text search';
+               return 'Perform a full text search.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQuerySiteinfo.php 
b/includes/api/ApiQuerySiteinfo.php
index a078013..1cd8d98 100644
--- a/includes/api/ApiQuerySiteinfo.php
+++ b/includes/api/ApiQuerySiteinfo.php
@@ -821,7 +821,7 @@
        }
 
        public function getDescription() {
-               return 'Return general information about the site';
+               return 'Return general information about the site.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryStashImageInfo.php 
b/includes/api/ApiQueryStashImageInfo.php
index 248b3d8..3595cf9 100644
--- a/includes/api/ApiQueryStashImageInfo.php
+++ b/includes/api/ApiQueryStashImageInfo.php
@@ -129,7 +129,7 @@
        }
 
        public function getDescription() {
-               return 'Returns image information for stashed images';
+               return 'Returns image information for stashed images.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryTags.php b/includes/api/ApiQueryTags.php
index 33116ce..9e2559f 100644
--- a/includes/api/ApiQueryTags.php
+++ b/includes/api/ApiQueryTags.php
@@ -188,7 +188,7 @@
        }
 
        public function getDescription() {
-               return 'List change tags';
+               return 'List change tags.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryUserContributions.php 
b/includes/api/ApiQueryUserContributions.php
index 16108a2..b58a951 100644
--- a/includes/api/ApiQueryUserContributions.php
+++ b/includes/api/ApiQueryUserContributions.php
@@ -601,7 +601,7 @@
        }
 
        public function getDescription() {
-               return 'Get all edits by a user';
+               return 'Get all edits by a user.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryUserInfo.php 
b/includes/api/ApiQueryUserInfo.php
index 37cf483..200b03b 100644
--- a/includes/api/ApiQueryUserInfo.php
+++ b/includes/api/ApiQueryUserInfo.php
@@ -299,7 +299,7 @@
        }
 
        public function getDescription() {
-               return 'Get information about the current user';
+               return 'Get information about the current user.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php
index cd4a8fc..d98cc39 100644
--- a/includes/api/ApiQueryUsers.php
+++ b/includes/api/ApiQueryUsers.php
@@ -387,7 +387,7 @@
        }
 
        public function getDescription() {
-               return 'Get information about a list of users';
+               return 'Get information about a list of users.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiQueryWatchlist.php 
b/includes/api/ApiQueryWatchlist.php
index b7dc865..6baa87d 100644
--- a/includes/api/ApiQueryWatchlist.php
+++ b/includes/api/ApiQueryWatchlist.php
@@ -674,7 +674,7 @@
        }
 
        public function getDescription() {
-               return "Get all recent changes to pages in the logged in user's 
watchlist";
+               return "Get all recent changes to pages in the logged in user's 
watchlist.";
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiQueryWatchlistRaw.php 
b/includes/api/ApiQueryWatchlistRaw.php
index b53bea1..f45d0e4 100644
--- a/includes/api/ApiQueryWatchlistRaw.php
+++ b/includes/api/ApiQueryWatchlistRaw.php
@@ -205,7 +205,7 @@
        }
 
        public function getDescription() {
-               return "Get all pages on the logged in user's watchlist";
+               return "Get all pages on the logged in user's watchlist.";
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiRevisionDelete.php 
b/includes/api/ApiRevisionDelete.php
index 05457b3..1400b0d 100644
--- a/includes/api/ApiRevisionDelete.php
+++ b/includes/api/ApiRevisionDelete.php
@@ -217,7 +217,7 @@
        }
 
        public function getDescription() {
-               return 'Delete/undelete revisions';
+               return 'Delete/undelete revisions.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiRollback.php b/includes/api/ApiRollback.php
index 2a372e4..70a2fec 100644
--- a/includes/api/ApiRollback.php
+++ b/includes/api/ApiRollback.php
@@ -141,7 +141,7 @@
        public function getDescription() {
                return array(
                        'Undo the last edit to the page. If the last user who 
edited the page made',
-                       'multiple edits in a row, they will all be rolled back'
+                       'multiple edits in a row, they will all be rolled back.'
                );
        }
 
diff --git a/includes/api/ApiRsd.php b/includes/api/ApiRsd.php
index e01f0fa..285177c 100644
--- a/includes/api/ApiRsd.php
+++ b/includes/api/ApiRsd.php
@@ -60,7 +60,7 @@
        }
 
        public function getDescription() {
-               return 'Export an RSD (Really Simple Discovery) schema';
+               return 'Export an RSD (Really Simple Discovery) schema.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiRunJobs.php b/includes/api/ApiRunJobs.php
index e23aaf5..05327c8 100644
--- a/includes/api/ApiRunJobs.php
+++ b/includes/api/ApiRunJobs.php
@@ -161,7 +161,7 @@
        }
 
        public function getDescription() {
-               return 'Perform periodic tasks or run jobs from the queue';
+               return 'Perform periodic tasks or run jobs from the queue.';
        }
 
        public function getExamples() {
diff --git a/includes/api/ApiSetNotificationTimestamp.php 
b/includes/api/ApiSetNotificationTimestamp.php
index 70e36d2..dc593e5 100644
--- a/includes/api/ApiSetNotificationTimestamp.php
+++ b/includes/api/ApiSetNotificationTimestamp.php
@@ -273,7 +273,7 @@
                return array( 'Update the notification timestamp for watched 
pages.',
                        'This affects the highlighting of changed pages in the 
watchlist and history,',
                        'and the sending of email when the "Email me when a 
page on my watchlist is',
-                       'changed" preference is enabled'
+                       'changed" preference is enabled.'
                );
        }
 
diff --git a/includes/api/ApiTokens.php b/includes/api/ApiTokens.php
index 6862668..5e197db 100644
--- a/includes/api/ApiTokens.php
+++ b/includes/api/ApiTokens.php
@@ -98,7 +98,7 @@
        }
 
        public function getDescription() {
-               return 'Gets tokens for data-modifying actions';
+               return 'Gets tokens for data-modifying actions.';
        }
 
        protected function getExamples() {
diff --git a/includes/api/ApiUnblock.php b/includes/api/ApiUnblock.php
index 46e2f6e..f34d4df 100644
--- a/includes/api/ApiUnblock.php
+++ b/includes/api/ApiUnblock.php
@@ -131,7 +131,7 @@
        }
 
        public function getDescription() {
-               return 'Unblock a user';
+               return 'Unblock a user.';
        }
 
        public function getPossibleErrors() {
diff --git a/includes/api/ApiUndelete.php b/includes/api/ApiUndelete.php
index 93cefef..332ed51 100644
--- a/includes/api/ApiUndelete.php
+++ b/includes/api/ApiUndelete.php
@@ -143,7 +143,7 @@
        public function getDescription() {
                return array(
                        'Restore certain revisions of a deleted page. A list of 
deleted revisions ',
-                       '(including timestamps) can be retrieved through 
list=deletedrevs'
+                       '(including timestamps) can be retrieved through 
list=deletedrevs.'
                );
        }
 
diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php
index 7d0d78e..c54e8ba 100644
--- a/includes/api/ApiUpload.php
+++ b/includes/api/ApiUpload.php
@@ -819,7 +819,7 @@
                        ' * Have the MediaWiki server fetch a file from a URL, 
using the "url" parameter',
                        ' * Complete an earlier upload that failed due to 
warnings, using the "filekey" parameter',
                        'Note that the HTTP POST must be done as a file upload 
(i.e. using multipart/form-data) when',
-                       'sending the "file". Also you must get and send an edit 
token before doing any upload stuff'
+                       'sending the "file". Also you must get and send an edit 
token before doing any upload stuff.'
                );
        }
 
diff --git a/includes/api/ApiUserrights.php b/includes/api/ApiUserrights.php
index 2bd7321..0bed859 100644
--- a/includes/api/ApiUserrights.php
+++ b/includes/api/ApiUserrights.php
@@ -123,7 +123,7 @@
        }
 
        public function getDescription() {
-               return 'Add/remove a user to/from groups';
+               return 'Add/remove a user to/from groups.';
        }
 
        public function needsToken() {
diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php
index 100ee96..6dfb1b4 100644
--- a/includes/api/ApiWatch.php
+++ b/includes/api/ApiWatch.php
@@ -211,7 +211,7 @@
        }
 
        public function getDescription() {
-               return 'Add or remove pages from/to the current user\'s 
watchlist';
+               return 'Add or remove pages from/to the current user\'s 
watchlist.';
        }
 
        public function getPossibleErrors() {

-- 
To view, visit https://gerrit.wikimedia.org/r/117704
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icae68c1ab1fd0006e00a3a9a56ae8f831d3d0d45
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to