From 93164e1dc81f00eb9be3e0c00bca57bc532c5dd7 Mon Sep 17 00:00:00 2001 From: Alex Z Date: Fri, 26 Dec 2008 04:13:47 +0000 Subject: [PATCH] fix param description, rollback token comes from prop=revisions --- includes/api/ApiRollback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); -- 2.20.1