Page MenuHomePhabricator

Turn JSON input fields in the ApiSandbox into textareas
Closed, ResolvedPublic

Description

Certain Wikibase API modules, e.g. SetClaim or SetReference, 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 <input> fields. Editing a JSON blob in this field is pretty much impossible.

Suggestion: Turn JSON input fields in the ApiSandbox into <textarea>s (depends on T98457).

Details

Related Gerrit Patches:
mediawiki/extensions/Wikibase : masterTurn JSON fields into textareas for the ApiSandbox

Event Timeline

thiemowmde raised the priority of this task from to Low.
thiemowmde updated the task description. (Show Details)
thiemowmde added a subscriber: thiemowmde.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 7 2015, 11:06 AM

Change 218306 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
Turn JSON fields into textareas for the ApiSandbox

https://gerrit.wikimedia.org/r/218306

Change 218306 merged by jenkins-bot:
Turn JSON fields into textareas for the ApiSandbox

https://gerrit.wikimedia.org/r/218306

Addshore closed this task as Resolved.Jul 2 2015, 8:56 PM
Addshore claimed this task.