On Wed, Sep 30, 2015 at 3:35 AM, Dimitrov, Dimitar <
dimitar.dimit...@gesis.org> wrote:

> 1. What is the fastest way  to get the html of an article for specific
> revision or what is the best tool to setup local copy of Wikipedia
> (currently I am experimenting with Xowa and Wikitaxi).


You can use the REST API to fetch article html by revision (see:
https://en.wikipedia.org/api/rest_v1/?doc).

For example:
https://en.wikipedia.org/api/rest_v1/page/html/Main%20Page/664887982

The output this produces is generated by parsoid (see:
https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec).

-- 
Eric Evans
eev...@wikimedia.org
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to