r45043 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45042‎ | r45043 | r45044 >
Date:04:13, 26 December 2008
Author:mrzman
Status:ok
Tags:
Comment:
fix param description, rollback token comes from prop=revisions
Modified paths:
  • /trunk/phase3/includes/api/ApiRollback.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiRollback.php
@@ -98,7 +98,7 @@
9999 return array (
100100 'title' => 'Title of the page you want to rollback.',
101101 'user' => 'Name of the user whose edits are to be rolled back. If set incorrectly, you\'ll get a badtoken error.',
102 - 'token' => 'A rollback token previously retrieved through prop=info',
 102+ 'token' => 'A rollback token previously retrieved through prop=revisions',
103103 'summary' => 'Custom edit summary. If not set, default summary will be used.',
104104 'markbot' => 'Mark the reverted edits and the revert as bot edits'
105105 );

Status & tagging log