https://bugzilla.wikimedia.org/show_bug.cgi?id=31629

--- Comment #4 from Roan Kattouw <roan.katt...@gmail.com> 2011-10-25 14:54:52 
UTC ---
(In reply to comment #3)
> It'd be interesting to figure out why it was picked
> (perhaps there's a logical, rational reason, you can check SVN), but hindsight
> is always going to be 20/20. Sometimes you have to make do with a bit of
> imperfection. If the use of "*" is causing actual bugs somewhere, that'd be a
> different story.
> 
When the API was designed in 2006, XML was cool, so the API was primarily
designed for XML output. Other output formats seem to have been added as an
afterthought. In the years that followed, the world (or most of it, anyway),
realized XML is an inflexible piece of garbage and moved to JSON. However,
we're still stuck with the legacy of having to support XML which means that 1)
we can't do certain things in JSON because they can't be translated to XML and
2) we have things like the * thing that look good in XML and look like crap in
every other format on the planet.

I used to think the multi-format thing was cool, but I am now of the opinion
that an API 2.0 should output JSON only. It's the only format worth bothering
with, the others all suck to varying degrees.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to