jenkins-bot has submitted this change and it was merged. Change subject: Remove final period from api module descriptions ......................................................................
Remove final period from api module descriptions The most description are without a final period, so that looks common. Change-Id: If72a3cc094cfff436b53948728354cbaeff768c8 --- M includes/api/ApiCreateAccount.php M includes/api/ApiEditPage.php M includes/api/ApiEmailUser.php M includes/api/ApiImport.php M includes/api/ApiOptions.php M includes/api/ApiParse.php M includes/api/ApiPurge.php M includes/api/ApiQueryBacklinks.php M includes/api/ApiQueryDisabled.php M includes/api/ApiQueryFileRepoInfo.php M includes/api/ApiQueryLangBacklinks.php M includes/api/ApiSetNotificationTimestamp.php 12 files changed, 12 insertions(+), 12 deletions(-) Approvals: Siebrand: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/api/ApiCreateAccount.php b/includes/api/ApiCreateAccount.php index be8286c..c550fce 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/ApiEditPage.php b/includes/api/ApiEditPage.php index 73eebca..695a76f 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 29f7e05..5125ce3 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/ApiImport.php b/includes/api/ApiImport.php index 295f16e..99307fd 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/ApiOptions.php b/includes/api/ApiOptions.php index fb441a3..6d045f8 100644 --- a/includes/api/ApiOptions.php +++ b/includes/api/ApiOptions.php @@ -189,7 +189,7 @@ '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 47ad80f..4c1ddc2 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -824,7 +824,7 @@ '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 e5d6a3c..3516bf2 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/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index bda1e03..a0460fd 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -538,7 +538,7 @@ 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 cf0d841..b1b2495 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/ApiQueryFileRepoInfo.php b/includes/api/ApiQueryFileRepoInfo.php index d9579a1..196b3ff 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/ApiQueryLangBacklinks.php b/includes/api/ApiQueryLangBacklinks.php index e6280c8..49322ce 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/ApiSetNotificationTimestamp.php b/includes/api/ApiSetNotificationTimestamp.php index dc593e5..70e36d2 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' ); } -- To view, visit https://gerrit.wikimedia.org/r/116290 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If72a3cc094cfff436b53948728354cbaeff768c8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> Gerrit-Reviewer: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: MZMcBride <w...@mzmcbride.com> Gerrit-Reviewer: Siebrand <siebr...@kitano.nl> Gerrit-Reviewer: TTO <at.li...@live.com.au> Gerrit-Reviewer: Yurik <yu...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits