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:
Brad Jorsch 2018-12-11 13:57:05 -05:00 committed by jenkins-bot
parent ec103b6966
commit 1ef78f3d7f

View file

@ -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' => [