Hey,
This seems to be the homepage for the "REST API":
https://www.mediawiki.org/wiki/Wikimedia_REST_API
but I don't see any documentation there for API parameters.
For example, someone gave me this example API call:
https://en.wikisource.org/api/rest_v1/page/html/Little_Essays_of_Love_and_V…
But I don't see information in the first link above that you should append
"page" and "html" to the wikisource API endpoint.
Is there documentation for this API?
Also, is this API an attempt to replace the old one or something? How does
it differ from the MediaWiki Action API and the MediaWiki REST API?
For example, do they fetch different kinds of information or something?
Also, would the "parse" prop in the Action API be a good way to get
plaintext from a Wikisource book?
Thank you,
Julius
Hey,
Does anyone think it would be possible, or has it been done before, to take
some kind of downloaded dictionary data from a corpus and try to
automatically upload it to Wiktionary?
For example, if you had a very large dictionary over words in a language
and their part of speech, could you check if the word was already present
in Wiktionary and if so skip it, and otherwise create entries for all
remaining words, with their part of speech?
Thank you,
Julius
Hey,
It seems relatively easy to export any section of a Wikisource book with
the "download" button, but there is no way to export just the preface /
title page. If you press "download" on the title page, the section name is
just the book name, so you download the entire book instead of just the
preface.
For example: https://en.wikisource.org/wiki/Little_Essays_of_Love_and_Virtue
Is this intentional? Is there any good way to export the plaintext of just
the preface, via some command / functionality / API?
Thank you,
Julius