Related to bug 29278, and from the comments in bug 14210, mention the edit token...
authorSam Reed <reedy@users.mediawiki.org>
Fri, 17 Jun 2011 14:55:03 +0000 (14:55 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 17 Jun 2011 14:55:03 +0000 (14:55 +0000)
includes/api/ApiEditPage.php

index 3c09cbc..9f2090c 100644 (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',