Rm all mentions of "this module" in API action descriptions. They are supposed to...
authorMax Semenik <maxsem@users.mediawiki.org>
Mon, 25 Apr 2011 14:05:57 +0000 (14:05 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Mon, 25 Apr 2011 14:05:57 +0000 (14:05 +0000)
includes/api/ApiExpandTemplates.php
includes/api/ApiFeedWatchlist.php
includes/api/ApiLogin.php
includes/api/ApiLogout.php
includes/api/ApiOpenSearch.php
includes/api/ApiParse.php
includes/api/ApiPurge.php
includes/api/ApiQueryDeletedrevs.php
includes/api/ApiQueryRevisions.php

index c746c29..028709e 100644 (file)
@@ -100,7 +100,7 @@ class ApiExpandTemplates extends ApiBase {
        }
 
        public function getDescription() {
-               return 'This module expand all templates in wikitext';
+               return 'Expands all templates in wikitext';
        }
 
        protected function getExamples() {
index 7bc90bc..d8c1019 100644 (file)
@@ -194,7 +194,7 @@ class ApiFeedWatchlist extends ApiBase {
        }
 
        public function getDescription() {
-               return 'This module returns a watchlist feed';
+               return 'Returns a watchlist feed';
        }
 
        protected function getExamples() {
index 6d35304..5eb7ce4 100644 (file)
@@ -181,7 +181,7 @@ class ApiLogin extends ApiBase {
 
        public function getDescription() {
                return array(
-                       'This module is used to login and get the authentication tokens. ',
+                       'Log in and get the authentication tokens. ',
                        '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.',
index 19c7478..244c976 100644 (file)
@@ -64,7 +64,7 @@ class ApiLogout extends ApiBase {
        }
 
        public function getDescription() {
-               return 'This module is used to logout and clear session data';
+               return 'Log out and clear session data';
        }
 
        protected function getExamples() {
index 19741b0..bdab14f 100644 (file)
@@ -116,7 +116,7 @@ class ApiOpenSearch extends ApiBase {
        }
 
        public function getDescription() {
-               return 'This module implements OpenSearch protocol';
+               return 'Searches the wiki using the OpenSearch protocol';
        }
 
        protected function getExamples() {
index 91385ed..d154a2d 100644 (file)
@@ -562,7 +562,7 @@ class ApiParse extends ApiBase {
        }
 
        public function getDescription() {
-               return 'This module parses wikitext and returns parser output';
+               return 'Parses wikitext and returns parser output';
        }
 
        public function getPossibleErrors() {
index 170f00f..378c218 100644 (file)
@@ -123,7 +123,7 @@ class ApiPurge extends ApiBase {
 
        public function getDescription() {
                return array( 'Purge the cache for the given titles.',
-                       'This module requires a POST request if the user is not logged in.'
+                       'Requires a POST request if the user is not logged in.'
                );
        }
 
index f8c9250..d774733 100644 (file)
@@ -374,7 +374,7 @@ class ApiQueryDeletedrevs extends ApiQueryBase {
                $p = $this->getModulePrefix();
                return array(
                        'List deleted revisions.',
-                       'This module operates in three modes:',
+                       '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)',
                        " 3) List all deleted revisions in the given namespace, sorted by title and timestamp (no titles specified, {$p}user not set)",
index ef1b1e0..da8966e 100644 (file)
@@ -633,7 +633,7 @@ class ApiQueryRevisions extends ApiQueryBase {
        public function getDescription() {
                return array(
                        'Get revision information',
-                       'This module may be used in several ways:',
+                       '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',