mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 00:05:00 +00:00
ApiScribuntoConsole: Use 'text' type for text fields
In the rare case where someone needs to test the module with Special:ApiSandbox, it's helpful if these fields show up as <textarea> rather than <input type="text"> Change-Id: I712d2f74bccd5ceee608dbf51e28b16dc7ed56be
This commit is contained in:
parent
ec103b6966
commit
1ef78f3d7f
|
@ -133,13 +133,13 @@ class ApiScribuntoConsole extends ApiBase {
|
|||
ApiBase::PARAM_TYPE => 'string',
|
||||
],
|
||||
'content' => [
|
||||
ApiBase::PARAM_TYPE => 'string'
|
||||
ApiBase::PARAM_TYPE => 'text'
|
||||
],
|
||||
'session' => [
|
||||
ApiBase::PARAM_TYPE => 'integer',
|
||||
],
|
||||
'question' => [
|
||||
ApiBase::PARAM_TYPE => 'string',
|
||||
ApiBase::PARAM_TYPE => 'text',
|
||||
ApiBase::PARAM_REQUIRED => true,
|
||||
],
|
||||
'clear' => [
|
||||
|
|
Loading…
Reference in a new issue