Jamie Bliss wrote:
With my work on Wikiwyg and other client-side apps for
MediaWiki, I am
going to have to add to the special pages a method to retrieve
machine-readable data. The question is of course, what format?
Personally I would think that it heavily depends on the structure of the
data you return. If it is just a list of article titles, for example, a
plain-text newline-separated list would make the most sense to me
(trivial to generate AND trivial to "parse"), while a complex structure
involving articles, revisions, users, etc. should probably be provided
in XML unless you can either come up with a clever format that is
simpler and yet as extensible, or convince yourself that it won't need
to be extended.
Timwi