From: Alex Z Date: Fri, 26 Dec 2008 04:13:47 +0000 (+0000) Subject: fix param description, rollback token comes from prop=revisions X-Git-Tag: 1.31.0-rc.0~43771 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=93164e1dc81f00eb9be3e0c00bca57bc532c5dd7;p=lhc%2Fweb%2Fwiklou.git fix param description, rollback token comes from prop=revisions --- diff --git a/includes/api/ApiRollback.php b/includes/api/ApiRollback.php index a7f0374fcb..13d858363c 100644 --- a/includes/api/ApiRollback.php +++ b/includes/api/ApiRollback.php @@ -98,7 +98,7 @@ class ApiRollback extends ApiBase { return array ( 'title' => 'Title of the page you want to rollback.', '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 prop=info', + 'token' => 'A rollback token previously retrieved through prop=revisions', 'summary' => 'Custom edit summary. If not set, default summary will be used.', 'markbot' => 'Mark the reverted edits and the revert as bot edits' );