thiemowmde created this task. thiemowmde added a subscriber: thiemowmde. thiemowmde added projects: MediaWiki-extensions-ApiSandbox, MediaWiki-API, Wikidata. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Certain Wikibase API modules, e.g. [SetClaim](https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsetclaim) or [SetReference](https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbsetreference), do have a field that must contain a JSON blob. Even if these API modules are not made to be used manually by a user, we want users to play around with the API and learn how it works. That's one of the reasons why we have the ApiSandbox. **Problem:** The fields to input JSON blobs are tiny single-line, 225px wide (see ApiSandbox/resources/styles.css) `<input>` fields. Editing a JSON blob in this field is pretty much impossible. **Suggestion:** Add support for `<textarea>` fields to the ApiSandbox, so extensions like Wikibase can make use of it when appropriate. Set a low default width and height (e.g. 3 lines height and keep the 225px width) and set `resize: both;`. TASK DETAIL https://phabricator.wikimedia.org/T98457 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: thiemowmde Cc: thiemowmde, Aklapper, Wikidata-bugs, aude, Anomie, Jackmcbarn, Legoktm _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
