From dbecd0b5f377cbda2ce12236ff14ce080b090ffa Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 17 Jun 2011 14:55:03 +0000 Subject: [PATCH] Related to bug 29278, and from the comments in bug 14210, mention the edit token should be sent last/after the text parameter --- includes/api/ApiEditPage.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index 3c09cbc699..9f2090c360 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -475,7 +475,9 @@ class ApiEditPage extends ApiBase { 'title' => 'Page title', 'section' => 'Section number. 0 for the top section, \'new\' for a new section', 'text' => 'Page content', - 'token' => 'Edit token. You can get one of these through prop=info', + 'token' => array( 'Edit token. You can get one of these through prop=info.', + 'The token should always be sent as the last parameter, or at least, after the text parameter' + ), 'summary' => 'Edit summary. Also section title when section=new', 'minor' => 'Minor edit', 'notminor' => 'Non-minor edit', -- 2.20.1