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:
parent
706cb9fa89
commit
dbecd0b5f3
1 changed files with 3 additions and 1 deletions
|
|
@ -475,7 +475,9 @@ class ApiEditPage extends ApiBase {
|
||||||
'title' => 'Page title',
|
'title' => 'Page title',
|
||||||
'section' => 'Section number. 0 for the top section, \'new\' for a new section',
|
'section' => 'Section number. 0 for the top section, \'new\' for a new section',
|
||||||
'text' => 'Page content',
|
'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',
|
'summary' => 'Edit summary. Also section title when section=new',
|
||||||
'minor' => 'Minor edit',
|
'minor' => 'Minor edit',
|
||||||
'notminor' => 'Non-minor edit',
|
'notminor' => 'Non-minor edit',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue