Page MenuHomePhabricator

Special:ApiSandbox text box too small (specially with JSON data)
Open, Needs TriagePublic

Description

This one should have a bit more height -

pasted_file (86×914 px, 7 KB)

Specially when dealing with contenthandler JSON.

Event Timeline

01tonythomas renamed this task from Special:ApiSandbox text box too small (specially with json data) to Special:ApiSandbox text box too small (specially with JSON data) .Apr 2 2017, 8:31 PM

Is this on master? If so, it's in core ;)

Anomie subscribed.

Changing this would require either increasing the height of all multiline text fields in ApiSandbox, or adding yet another ApiBase::PARAM_* constant and setting it in various places.

Most browsers these days[1] make textareas resizeable by default, which seems like an all-around better solution.

Screenshot for T162001.png (105×571 px, 5 KB)

[1]: I can't quickly find figures for that specifically, but according to https://caniuse.com/#feat=css-resize 76.38% support the related CSS [[https://www.w3.org/TR/css-ui-3/#resize|resize property]]. It's possible that some don't apply resize: both to textareas by default, although various pages online say Firefox, Chrome, and Safari all do.

I'm an outreachy applicant interested in contributing to this task, please how can i go about it @01tonythomas ?

@AwahNadege: Hi and welcome! Do you have a more specific question? Please see https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker#Feedback,_questions_and_support and read previous comments in this task - thanks! :)

I'm an outreachy applicant interested in contributing to this task, please how can i go about it @01tonythomas ?

If you are interested in submitting a fix, you should probably follow https://www.mediawiki.org/wiki/Gerrit/Tutorial and produce a patch to mediawki-core I guess. A good first step would be to reproduce the same in your latest development environment.