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 yastrakhan@wikimedia.org 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 Betacommand@gmail.com 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 innocentkiller@gmail.com wrote:
On Fri Dec 12 2014 at 3:42:22 PM John phoenixoverride@gmail.com 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&fo... ) 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&fo... ). 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 Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api