How can I use the mediawiki api to parse summary of a wikipedia article or multiple pages at once if possible.
Regards, Bagrecha, Priyank D
On Tue, Nov 8, 2011 at 4:49 PM, priyank bagrecha bagi.priyank@gmail.com wrote:
How can I use the mediawiki api to parse summary of a wikipedia article or multiple pages at once if possible.
Do you want HTML or wikitext? By "summary" do you mean an edit summary in the revision history, the first section of the page (before the first header), or something else?
Roan
On Tue, Nov 8, 2011 at 11:49 PM, priyank bagrecha bagi.priyank@gmail.com wrote:
How can I use the mediawiki api to parse summary of a wikipedia article or multiple pages at once if possible.
This depends on how you define "summary". If it is the lead section, is this what you want?
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles...
-Liangent
wikitech-l@lists.wikimedia.org