FYI, Firefox has similar
<https://addons.mozilla.org/en-US/firefox/addon/restclient/> extension. I
guess we could make format=jsonfm and format=jsonfm2 or something like
that, where jsonfm2 is non-color-coded.  In any case, we might want to use
<pre wrapped> style to make it better styled.

On Sat, Dec 13, 2014 at 5:11 PM, Betacommand <[email protected]> wrote:
>
> And thats not an option, I dont use chrome, and thus a chrome extension
> does me no good. Why cant we stick to KISS? JSON is a very basic format,
> that is really easy to read. If I wanted an acid trip, I would take acid.
> Trying to work with an API that gives you a headache due to the visual
> "improvements" reminds me of the old blink HTML, or the red/blue fad of the
> early internet (
> http://upload.wikimedia.org/wikipedia/commons/9/9d/Blue_red.svg ).
> Getting a basic plain implementation of JSON shouldn't be as hard as a root
> canal, but it seems that people are pushing progress for the sake of
> progress regardless of the side effects.
>
> On Sat, Dec 13, 2014 at 8:56 AM, Yuri Astrakhan <[email protected]>
> wrote:
>>
>> I would actually suggest you use POSTman chrome extension
>> <https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en>,
>> which makes testing API much easier than using format=jsonfm.
>>
>> On Sat, Dec 13, 2014 at 3:24 AM, Betacommand <[email protected]>
>> wrote:
>>>
>>> Im not sure who you polled, but the red/blue disaster that that is the
>>> current format is about 100x harder for me to read than the old version. If
>>> reverting isnt an option can we get something like jsontxt added where we
>>> can get the un-prettifed version? Adding coloring may help for some users,
>>> but for many you will find it problematic. Basic Pretty-Print JSON makes
>>> for a simple rendering of information. when you end up with strings one
>>> color numeric values a second, add in a blue background, the result feels
>>> like a bad acid trip.
>>>
>>> On Fri, Dec 12, 2014 at 6:45 PM, Chad <[email protected]> wrote:
>>>
>>>> On Fri Dec 12 2014 at 3:42:22 PM John <[email protected]>
>>>> wrote:
>>>>
>>>>> why cant I get a simple pretty print version of the json format via
>>>>> the new API?
>>>>>
>>>>> With the old API (example:
>>>>> http://gameshub.wikia.com/api.php?action=query&list=recentchanges&format=jsonfm
>>>>> ) you got a basic text output. Nice clean and simple.
>>>>>
>>>>> With the recent API rewrite, someone decided to really screw with the
>>>>> look. Now you get a color coded, HTML rich, text on a Blue background
>>>>> (Example:
>>>>> http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&format=jsonfm
>>>>> ). Where did the basic simple clean output go? and how do I get it back?
>>>>>
>>>>>
>>>> You can't. The pretty one is so humans can read it better.
>>>>
>>>> Or maybe you can disable CSS.
>>>>
>>>> -Chad
>>>>
>>>> _______________________________________________
>>>> Mediawiki-api mailing list
>>>> [email protected]
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>>>
>>>>
>>> _______________________________________________
>>> Mediawiki-api mailing list
>>> [email protected]
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>>
>>>
>> _______________________________________________
>> Mediawiki-api mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>
>>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to