r90270 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90269‎ | r90270 | r90271 >
Date:14:55, 17 June 2011
Author:reedy
Status:ok
Tags:
Comment:
Related to bug 29278, and from the comments in bug 14210, mention the edit token should be sent last/after the text parameter
Modified paths:
  • /trunk/phase3/includes/api/ApiEditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiEditPage.php
@@ -475,7 +475,9 @@
476476 'title' => 'Page title',
477477 'section' => 'Section number. 0 for the top section, \'new\' for a new section',
478478 'text' => 'Page content',
479 - 'token' => 'Edit token. You can get one of these through prop=info',
 479+ 'token' => array( 'Edit token. You can get one of these through prop=info.',
 480+ 'The token should always be sent as the last parameter, or at least, after the text parameter'
 481+ ),
480482 'summary' => 'Edit summary. Also section title when section=new',
481483 'minor' => 'Minor edit',
482484 'notminor' => 'Non-minor edit',

Follow-up revisions

RevisionCommit summaryAuthorDate
r90490* (bug 29278) server error 500 when attempting to add text to a page via redi...reedy22:32, 20 June 2011
r90492* (bug 29278) server error 500 when attempting to add text to a page via redi...reedy22:39, 20 June 2011
r92434MFT to REL1_18...hashar15:05, 18 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89553Fix the non-PEAR alternative for Services_JSON_Error to be less useless. bug ...catrope09:41, 6 June 2011

Status & tagging log