jenkins-bot has submitted this change and it was merged. Change subject: Use <textarea> for options parameter in wbparsevalue API ......................................................................
Use <textarea> for options parameter in wbparsevalue API The similar 'options' parameter in wbformatvalue is already a 'text' parameter now. The only difference between 'string' and 'text' is that the later is rendered as a <textarea> in the API sandbox. Change-Id: I7273afe1cfdb15753c8a23e70c2d1ff6abf5235d --- M repo/includes/api/ParseValue.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Addshore: Looks good to me, approved jenkins-bot: Verified diff --git a/repo/includes/api/ParseValue.php b/repo/includes/api/ParseValue.php index 98f2492..bc06493 100644 --- a/repo/includes/api/ParseValue.php +++ b/repo/includes/api/ParseValue.php @@ -219,7 +219,7 @@ ApiBase::PARAM_ISMULTI => true, ), 'options' => array( - ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_TYPE => 'text', ApiBase::PARAM_REQUIRED => false, ), ); -- To view, visit https://gerrit.wikimedia.org/r/223257 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7273afe1cfdb15753c8a23e70c2d1ff6abf5235d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de> Gerrit-Reviewer: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits