From d99e39a97f52487e6387ced81033ec3312a3d79e Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 2 Mar 2014 20:20:56 +0100 Subject: [PATCH] Remove final period from api module descriptions The most description are without a final period, so that looks common. Change-Id: If72a3cc094cfff436b53948728354cbaeff768c8 --- includes/api/ApiCreateAccount.php | 2 +- includes/api/ApiEditPage.php | 2 +- includes/api/ApiEmailUser.php | 2 +- includes/api/ApiImport.php | 2 +- includes/api/ApiOptions.php | 2 +- includes/api/ApiParse.php | 2 +- includes/api/ApiPurge.php | 2 +- includes/api/ApiQueryBacklinks.php | 2 +- includes/api/ApiQueryDisabled.php | 2 +- includes/api/ApiQueryFileRepoInfo.php | 2 +- includes/api/ApiQueryLangBacklinks.php | 2 +- includes/api/ApiSetNotificationTimestamp.php | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/includes/api/ApiCreateAccount.php b/includes/api/ApiCreateAccount.php index be8286c0bf..c550fceca3 100644 --- a/includes/api/ApiCreateAccount.php +++ b/includes/api/ApiCreateAccount.php @@ -167,7 +167,7 @@ class ApiCreateAccount extends ApiBase { } public function getDescription() { - return 'Create a new user account.'; + return 'Create a new user account'; } public function mustBePosted() { diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index 73eebcad08..695a76f82f 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -492,7 +492,7 @@ class ApiEditPage extends ApiBase { } 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 29f7e056e9..5125ce3033 100644 --- a/includes/api/ApiEmailUser.php +++ b/includes/api/ApiEmailUser.php @@ -130,7 +130,7 @@ class ApiEmailUser extends ApiBase { } public function getDescription() { - return 'Email a user.'; + return 'Email a user'; } public function getPossibleErrors() { diff --git a/includes/api/ApiImport.php b/includes/api/ApiImport.php index 295f16ec53..99307fdfeb 100644 --- a/includes/api/ApiImport.php +++ b/includes/api/ApiImport.php @@ -151,7 +151,7 @@ class ApiImport extends ApiBase { 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/ApiOptions.php b/includes/api/ApiOptions.php index fb441a34f2..6d045f80a8 100644 --- a/includes/api/ApiOptions.php +++ b/includes/api/ApiOptions.php @@ -189,7 +189,7 @@ class ApiOptions extends ApiBase { '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/ApiParse.php b/includes/api/ApiParse.php index 47ad80f40e..4c1ddc2abc 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -824,7 +824,7 @@ class ApiParse extends ApiBase { '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/ApiPurge.php b/includes/api/ApiPurge.php index e5d6a3c0cd..3516bf298a 100644 --- a/includes/api/ApiPurge.php +++ b/includes/api/ApiPurge.php @@ -182,7 +182,7 @@ class ApiPurge extends ApiBase { 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/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index bda1e033e8..a0460fd89c 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -538,7 +538,7 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { case 'embeddedin': 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' ); } diff --git a/includes/api/ApiQueryDisabled.php b/includes/api/ApiQueryDisabled.php index cf0d841eaa..b1b2495093 100644 --- a/includes/api/ApiQueryDisabled.php +++ b/includes/api/ApiQueryDisabled.php @@ -50,7 +50,7 @@ class ApiQueryDisabled extends ApiQueryBase { public function getDescription() { return array( - 'This module has been disabled.' + 'This module has been disabled' ); } diff --git a/includes/api/ApiQueryFileRepoInfo.php b/includes/api/ApiQueryFileRepoInfo.php index d9579a1016..196b3ff8e5 100644 --- a/includes/api/ApiQueryFileRepoInfo.php +++ b/includes/api/ApiQueryFileRepoInfo.php @@ -104,7 +104,7 @@ class ApiQueryFileRepoInfo extends ApiQueryBase { } 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/ApiQueryLangBacklinks.php b/includes/api/ApiQueryLangBacklinks.php index e6280c853a..49322ce35e 100644 --- a/includes/api/ApiQueryLangBacklinks.php +++ b/includes/api/ApiQueryLangBacklinks.php @@ -231,7 +231,7 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { '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/ApiSetNotificationTimestamp.php b/includes/api/ApiSetNotificationTimestamp.php index dc593e5f91..70e36d280f 100644 --- a/includes/api/ApiSetNotificationTimestamp.php +++ b/includes/api/ApiSetNotificationTimestamp.php @@ -273,7 +273,7 @@ class ApiSetNotificationTimestamp extends ApiBase { 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' ); } -- 2.20.1