Thanks!
On Jun 17, 2011, at 10:46 AM, OQ wrote:
On Fri, Jun 17, 2011 at 8:54 AM, Adam Meyer meyer7@mindspring.com wrote:
Is it possible to access a list of a page's history through the API?
- prop=revisions (rv) *
Get revision information This module may be used in several ways:
- Get data about a set of pages (last revision), by setting titles
or pageids parameter 2) Get revisions for one given page, by using titles/pageids with start/end/limit params 3) Get data about a set of revisions by setting their IDs with revids parameter All parameters marked as (enum) may only be used with a single page (#2)
What about revert to a specific point via the API?
- action=edit *
Create and edit pages.
This module requires read rights This module requires write rights This module only accepts POST requests [...] undo - Undo this revision. Overrides text, prependtext and appendtext undoafter - Undo all revisions from undo to this one. If not set, just undo one revision
Undo r13579 through r13585 with autosummary (anonymous user): api.php?action=edit&title=Test&undo=13585&undoafter=13579&basetimestamp=20070824123454&token=%2B\
I didn't see anything in the documentation.
All listed on the self-documenting API: http://en.wikipedia.org/w/api.php
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l