API: Cleanup around comment/reason params
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 7 Jul 2012 07:12:04 +0000 (09:12 +0200)
committerTimo Tijhof <ttijhof@wikimedia.org>
Sun, 8 Jul 2012 21:31:26 +0000 (23:31 +0200)
commit89bb46e2e4a928819bbd1fd12037ae281d5c95f9
treebeb781a27e094cf44f393422f8f215423c9d718a
parentaf6a3bc49e46ef9b3cf53fc53faf85aa76ceacc6
API: Cleanup around comment/reason params

* Moving setting of empty string to param description.
* Removing word "(optional)" from comment/reason param, because all not
  required params are optional.
* Correct description of action=rollback for default comment.

Change-Id: Ifa5b60a7b55b216c43049cd81cb584b2e0518eed
includes/api/ApiBlock.php
includes/api/ApiDelete.php
includes/api/ApiMove.php
includes/api/ApiProtect.php
includes/api/ApiRollback.php
includes/api/ApiUnblock.php
includes/api/ApiUndelete.php