Related to bug 29278, and from the comments in bug 14210, mention the edit token should be sent last/after the text parameter

This commit is contained in:
Sam Reed 2011-06-17 14:55:03 +00:00
parent 706cb9fa89
commit dbecd0b5f3

View file

@ -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',