On Wed, Jul 1, 2015 at 8:36 PM, XDiscovery Team <info@xdiscovery.com> wrote:
just to clarify:

what's the difference in revisions *
action=query&titles=DNA&prop=revisions&rvprop=content&rvparse=1

and text * in
api.php?action=parse&page=DNA

There shouldn't be a difference, it's just two ways to access the same thing.

BTW, with format=json (and format=php) you can add &formatversion=2 to your query to get a data structure that should be more easily usable. See https://www.mediawiki.org/wiki/API:JSON_version_2 for details.


--
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation