Change 'delete' to 'rollback' in action=rollback params description
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 10 Jun 2014 19:42:11 +0000 (21:42 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Tue, 10 Jun 2014 20:16:07 +0000 (22:16 +0200)
Bug: 66406
Change-Id: Iab874f45b5baaa89a6345e351cc45ed16f5af6e8

includes/api/ApiRollback.php

index d0ce6d7..80e09b6 100644 (file)
@@ -115,8 +115,8 @@ class ApiRollback extends ApiBase {
                $p = $this->getModulePrefix();
 
                return array(
-                       'title' => "Title of the page you want to delete. Cannot be used together with {$p}pageid",
-                       'pageid' => "Page ID of the page you want to delete. Cannot be used together with {$p}title",
+                       'title' => "Title of the page you want to roll back. Cannot be used together with {$p}pageid",
+                       'pageid' => "Page ID of the page you want to roll back. Cannot be used together with {$p}title",
                        'user' => 'Name of the user whose edits are to be rolled back. If ' .
                                'set incorrectly, you\'ll get a badtoken error.',
                        'token' => 'A rollback token previously retrieved through ' .