From b8e624d36766181173de40cb27cd1dd52bc580ec Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sun, 7 Sep 2008 19:12:41 +0000 Subject: [PATCH] API: Uniformizing descriptions for write modules --- includes/api/ApiDelete.php | 2 +- includes/api/ApiEmailUser.php | 2 +- includes/api/ApiMove.php | 2 +- includes/api/ApiRollback.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index 76d66fec35..79540b9d46 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -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.' ); } diff --git a/includes/api/ApiEmailUser.php b/includes/api/ApiEmailUser.php index a06acd9e3f..3383e3dd44 100644 --- a/includes/api/ApiEmailUser.php +++ b/includes/api/ApiEmailUser.php @@ -102,7 +102,7 @@ class ApiEmailUser extends ApiBase { public function getDescription() { return array( - 'Emails a user.' + 'Email a user.' ); } diff --git a/includes/api/ApiMove.php b/includes/api/ApiMove.php index a3801bf873..9eb859b43a 100644 --- a/includes/api/ApiMove.php +++ b/includes/api/ApiMove.php @@ -154,7 +154,7 @@ class ApiMove extends ApiBase { public function getDescription() { return array( - 'Moves a page.' + 'Move a page.' ); } diff --git a/includes/api/ApiRollback.php b/includes/api/ApiRollback.php index d0c323d3bc..aa78d85917 100644 --- a/includes/api/ApiRollback.php +++ b/includes/api/ApiRollback.php @@ -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.' ); } -- 2.20.1