On Mon, Oct 2, 2017 at 12:30 AM, Platonides wrote:
> The database schema is available at
> https://phabricator.wikimedia.org/source/mediawiki/browse/master/maintenance/tables.sql
>
> It's not too useful, but I would say that sometimes having the
> (opaque) rev_text_id could be handy, eg. to detect
I’m not seeing how to access the wikitext for a specific revision via the API.
I can get the HTML with /page/html/{title}/{revision}, but I don’t see how to
get the wikitext. Do I really need to get the HTML and then feed that through
/transform/html/to/wikitext? That seems suboptimal. Not t
On Mon, Oct 2, 2017 at 6:30 PM, Roy Smith wrote:
> I’m not seeing how to access the wikitext for a specific revision via the
> API.
Something like?
curl
'https://en.wikipedia.org/w/api.php?action=query&format=json&prop=revisions&revids=797890286&rvprop=content'
(you probably should use a highe
On 2 October 2017 at 17:30, Roy Smith wrote:
> I’m not seeing how to access the wikitext for a specific revision via the
> API. I can get the HTML with /page/html/{title}/{revision}, but I don’t see
> how to get the wikitext. Do I really need to get the HTML and then feed
> that through /transfo
On 10/02/2017 12:30 PM, Roy Smith wrote:
I’m not seeing how to access the wikitext for a specific revision via
the API. I can get the HTML with /page/html/{title}/{revision}, but I
don’t see how to get the wikitext. Do I really need to get the HTML and
then feed that through /transform/html/t