Merge "ApiVisualEditor: Default format is jsonfm not json, so note this"

This commit is contained in:
jenkins-bot 2015-02-03 19:45:36 +00:00 committed by Gerrit Code Review
commit 184feebf1f

View file

@ -606,7 +606,7 @@ class ApiVisualEditor extends ApiBase {
ApiBase::PARAM_REQUIRED => true, ApiBase::PARAM_REQUIRED => true,
), ),
'format' => array( 'format' => array(
ApiBase::PARAM_DFLT => 'json', ApiBase::PARAM_DFLT => 'jsonfm',
ApiBase::PARAM_TYPE => array( 'json', 'jsonfm' ), ApiBase::PARAM_TYPE => array( 'json', 'jsonfm' ),
), ),
'paction' => array( 'paction' => array(