I would actually suggest you use POSTman chrome extension, 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&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
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