Remove final period from api module descriptions
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 2 Mar 2014 19:20:56 +0000 (20:20 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Sun, 2 Mar 2014 19:20:56 +0000 (20:20 +0100)
The most description are without a final period, so that looks common.

Change-Id: If72a3cc094cfff436b53948728354cbaeff768c8

12 files changed:
includes/api/ApiCreateAccount.php
includes/api/ApiEditPage.php
includes/api/ApiEmailUser.php
includes/api/ApiImport.php
includes/api/ApiOptions.php
includes/api/ApiParse.php
includes/api/ApiPurge.php
includes/api/ApiQueryBacklinks.php
includes/api/ApiQueryDisabled.php
includes/api/ApiQueryFileRepoInfo.php
includes/api/ApiQueryLangBacklinks.php
includes/api/ApiSetNotificationTimestamp.php

index be8286c..c550fce 100644 (file)
@@ -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() {
index 73eebca..695a76f 100644 (file)
@@ -492,7 +492,7 @@ class ApiEditPage extends ApiBase {
        }
 
        public function getDescription() {
-               return 'Create and edit pages.';
+               return 'Create and edit pages';
        }
 
        public function getPossibleErrors() {
index 29f7e05..5125ce3 100644 (file)
@@ -130,7 +130,7 @@ class ApiEmailUser extends ApiBase {
        }
 
        public function getDescription() {
-               return 'Email a user.';
+               return 'Email a user';
        }
 
        public function getPossibleErrors() {
index 295f16e..99307fd 100644 (file)
@@ -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'
                );
        }
 
index fb441a3..6d045f8 100644 (file)
@@ -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'
                );
        }
 
index 47ad80f..4c1ddc2 100644 (file)
@@ -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",
                );
        }
 
index e5d6a3c..3516bf2 100644 (file)
@@ -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'
                );
        }
 
index bda1e03..a0460fd 100644 (file)
@@ -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' );
                }
index cf0d841..b1b2495 100644 (file)
@@ -50,7 +50,7 @@ class ApiQueryDisabled extends ApiQueryBase {
 
        public function getDescription() {
                return array(
-                       'This module has been disabled.'
+                       'This module has been disabled'
                );
        }
 
index d9579a1..196b3ff 100644 (file)
@@ -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() {
index e6280c8..49322ce 100644 (file)
@@ -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',
                );
        }
 
index dc593e5..70e36d2 100644 (file)
@@ -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'
                );
        }