mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-24 18:58:42 +00:00
Merge "api: Specify PARAM_TYPE => 'text' for multi-line text parameters"
This commit is contained in:
commit
20da05e8c3
|
@ -667,7 +667,10 @@ class ApiVisualEditor extends ApiBase {
|
|||
'parsedoc',
|
||||
],
|
||||
],
|
||||
'wikitext' => null,
|
||||
'wikitext' => [
|
||||
ApiBase::PARAM_TYPE => 'text',
|
||||
ApiBase::PARAM_DFLT => null,
|
||||
],
|
||||
'section' => null,
|
||||
'stash' => null,
|
||||
'oldid' => null,
|
||||
|
|
|
@ -478,7 +478,10 @@ class ApiVisualEditorEdit extends ApiBase {
|
|||
'token' => [
|
||||
ApiBase::PARAM_REQUIRED => true,
|
||||
],
|
||||
'wikitext' => null,
|
||||
'wikitext' => [
|
||||
ApiBase::PARAM_TYPE => 'text',
|
||||
ApiBase::PARAM_DFLT => null,
|
||||
],
|
||||
'section' => null,
|
||||
'sectiontitle' => null,
|
||||
'basetimestamp' => null,
|
||||
|
@ -486,7 +489,10 @@ class ApiVisualEditorEdit extends ApiBase {
|
|||
'oldid' => null,
|
||||
'minor' => null,
|
||||
'watchlist' => null,
|
||||
'html' => null,
|
||||
'html' => [
|
||||
ApiBase::PARAM_TYPE => 'text',
|
||||
ApiBase::PARAM_DFLT => null,
|
||||
],
|
||||
'etag' => null,
|
||||
'summary' => null,
|
||||
'captchaid' => null,
|
||||
|
|
Loading…
Reference in a new issue