From: Sam Reed Date: Fri, 17 Jun 2011 14:55:03 +0000 (+0000) Subject: Related to bug 29278, and from the comments in bug 14210, mention the edit token... X-Git-Tag: 1.31.0-rc.0~29472 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=dbecd0b5f377cbda2ce12236ff14ce080b090ffa;p=lhc%2Fweb%2Fwiklou.git Related to bug 29278, and from the comments in bug 14210, mention the edit token should be sent last/after the text parameter --- 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',