On Wed, Jul 1, 2015 at 8:36 PM, XDiscovery Team <[email protected]> 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
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to