API: Uniformizing descriptions for write modules
authorRoan Kattouw <catrope@users.mediawiki.org>
Sun, 7 Sep 2008 19:12:41 +0000 (19:12 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sun, 7 Sep 2008 19:12:41 +0000 (19:12 +0000)
includes/api/ApiDelete.php
includes/api/ApiEmailUser.php
includes/api/ApiMove.php
includes/api/ApiRollback.php

index 76d66fe..79540b9 100644 (file)
@@ -189,7 +189,7 @@ class ApiDelete extends ApiBase {
 
        public function getDescription() {
                return array(
-                       'Deletes a page. You need to be logged in as a sysop to use this function, see also action=login.'
+                       'Delete a page.'
                );
        }
 
index a06acd9..3383e3d 100644 (file)
@@ -102,7 +102,7 @@ class ApiEmailUser extends ApiBase {
 
        public function getDescription() {
                return array(
-                       'Emails a user.'
+                       'Email a user.'
                );
        }
 
index a3801bf..9eb859b 100644 (file)
@@ -154,7 +154,7 @@ class ApiMove extends ApiBase {
 
        public function getDescription() {
                return array(
-                       'Moves a page.'
+                       'Move a page.'
                );
        }
 
index d0c323d..aa78d85 100644 (file)
@@ -107,8 +107,8 @@ class ApiRollback extends ApiBase {
 
        public function getDescription() {
                return array(
-                               'Undoes 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. You need to be logged in as a sysop to use this function, see also action=login.'
+                               '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.'
                        );
        }