Page MenuHomePhabricator

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

Description

This one should have a bit more height -

Specially when dealing with contenthandler JSON.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 2 2017, 8:31 PM
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
Reedy added a subscriber: Reedy.Apr 2 2017, 11:54 PM

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

Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptMay 20 2017, 9:49 AM
Anomie added a subscriber: Anomie.

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.

[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 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 ?

Restricted Application added a project: Core Platform Team. · View Herald TranscriptSun, Oct 20, 11:10 AM

@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.