r40595 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40594‎ | r40595 | r40596 >
Date:19:12, 7 September 2008
Author:catrope
Status:old
Tags:
Comment:
API: Uniformizing descriptions for write modules
Modified paths:
  • /trunk/phase3/includes/api/ApiDelete.php (modified) (history)
  • /trunk/phase3/includes/api/ApiEmailUser.php (modified) (history)
  • /trunk/phase3/includes/api/ApiMove.php (modified) (history)
  • /trunk/phase3/includes/api/ApiRollback.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMove.php
@@ -154,7 +154,7 @@
155155
156156 public function getDescription() {
157157 return array(
158 - 'Moves a page.'
 158+ 'Move a page.'
159159 );
160160 }
161161
Index: trunk/phase3/includes/api/ApiRollback.php
@@ -107,8 +107,8 @@
108108
109109 public function getDescription() {
110110 return array(
111 - 'Undoes the last edit to the page. If the last user who edited the page made multiple edits in a row,',
112 - 'they will all be rolled back. You need to be logged in as a sysop to use this function, see also action=login.'
 111+ 'Undo the last edit to the page. If the last user who edited the page made multiple edits in a row,',
 112+ 'they will all be rolled back.'
113113 );
114114 }
115115
Index: trunk/phase3/includes/api/ApiDelete.php
@@ -189,7 +189,7 @@
190190
191191 public function getDescription() {
192192 return array(
193 - 'Deletes a page. You need to be logged in as a sysop to use this function, see also action=login.'
 193+ 'Delete a page.'
194194 );
195195 }
196196
Index: trunk/phase3/includes/api/ApiEmailUser.php
@@ -102,7 +102,7 @@
103103
104104 public function getDescription() {
105105 return array(
106 - 'Emails a user.'
 106+ 'Email a user.'
107107 );
108108 }
109109